18 #ifndef IGNITION_GAZEBO_GUI_ALIGNTOOL_HH_ 19 #define IGNITION_GAZEBO_GUI_ALIGNTOOL_HH_ 24 #include <ignition/gui/Plugin.hh> 25 #include <ignition/rendering/Node.hh> 64 class AlignToolPrivate;
82 public:
void LoadConfig(
const tinyxml2::XMLElement *_pluginElem)
override;
90 public slots:
void OnAlignAxis(
const QString &_mode);
94 public slots:
void OnAlignTarget(
const QString &_target);
98 public slots:
void OnAlignConfig(
const QString &_mode);
102 public slots:
void OnReverse(
bool _reverse);
105 public slots:
void OnHoveredEntered();
108 public slots:
void OnHoveredExited();
111 public slots:
void OnAlign();
115 public:
void AddState(
const AlignState &_state);
123 public:
void UpdateTransparency(
const rendering::NodePtr &_node,
124 bool _makeTransparent);
129 public:
void Align();
135 public: rendering::VisualPtr TopLevelVisual(rendering::ScenePtr &_scene,
136 rendering::VisualPtr &_visual)
const;
142 public: rendering::NodePtr TopLevelNode(rendering::ScenePtr &_scene,
143 rendering::NodePtr &_node)
const;
146 protected:
bool eventFilter(QObject *_obj, QEvent *_event)
override;
Indicates an alignment relative to the x axis.
Indicates an alignment relative to the y axis.
Information passed to systems on the update callback.
Definition: include/ignition/gazebo/Types.hh:38
AlignState
Enumeration of the states within the Align Tool.
Definition: AlignTool.hh:32
The EntityComponentManager constructs, deletes, and returns components and entities. A component can be of any class which inherits from components::BaseComponent.
Definition: EntityComponentManager.hh:66
Indicates the user is currently hovering the mouse over an align button.
AlignAxis
Enumeration of the axes to be aligned relative to.
Definition: AlignTool.hh:47
Indicates an alignment relative to the z axis.
AlignConfig
Definition: AlignTool.hh:57
Indicates the user is currently not utilizing the align tool.
Indicates a reset of the currently placed nodes, only occurs on a hover exit if the align button has ...
Indicates the user has clicked the align button.
This library is part of the Ignition Robotics project.
Base class for a GUI System.
Definition: GuiSystem.hh:44