AlignTool.hh
This library is part of the Ignition Robotics project.
The EntityComponentManager constructs, deletes, and returns components and entities....
Definition: gz/sim/EntityComponentManager.hh:65
void MakeTransparent(const rendering::NodePtr &_node)
Makes the node transparent.
void Align()
The function call to execute a state from the queue. This function makes rendering calls and should o...
void OnHoveredExited()
Callback to make whenever a hover state is exited on a button.
@ RESET
Indicates a reset of the currently placed nodes, only occurs on a hover exit if the align button has ...
void MakeSolid(const rendering::NodePtr &_node)
Reset the node to its solid form, intended to be called after MakeTransparent.
Information passed to systems on the update callback.
Definition: include/gz/sim/Types.hh:37
void OnHoveredEntered()
Callback to make whenever a hover state is entered on a button.
@ HOVER
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
void LoadConfig(const tinyxml2::XMLElement *_pluginElem) override
rendering::VisualPtr TopLevelVisual(rendering::ScenePtr &_scene, rendering::VisualPtr &_visual) const
Returns the top level visual of the passed in visual within a given scene.
void AddState(const AlignState &_state)
Callback to add a state to the execution queue.
AlignState
Enumeration of the states within the Align Tool.
Definition: AlignTool.hh:32
bool eventFilter(QObject *_obj, QEvent *_event) override
void OnAlignTarget(const QString &_target)
Callback to update the target type.
@ NONE
Indicates the user is currently not utilizing the align tool.
void Update(const UpdateInfo &_info, EntityComponentManager &_ecm) override
Update callback called every time the system is stepped. This is called at an Ignition transport thre...
rendering::NodePtr TopLevelNode(rendering::ScenePtr &_scene, rendering::NodePtr &_node) const
Returns the top level node of the passed in node within a given scene.
void OnAlignAxis(const QString &_mode)
Callback to update the axis type.