AlignTool.hh
void OnAlignConfig(const QString &_mode)
Callback to update the axis config.
void UpdateTransparency(const rendering::NodePtr &_node, bool _makeTransparent)
Updates the node to increase its transparency or reset back to its original transparency value,...
This library is part of the Gazebo project.
The EntityComponentManager constructs, deletes, and returns components and entities....
Definition: gz/sim/EntityComponentManager.hh:66
void OnReverse(bool _reverse)
Callback to update if the align orientation is reversed.
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 ...
Information passed to systems on the update callback.
Definition: include/gz/sim/Types.hh:38
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.
@ ALIGN_MID
@ NONE
Indicates the user is currently not utilizing the align tool.
@ ALIGN_MAX
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.
@ ALIGN_MIN
void OnAlignAxis(const QString &_mode)
Callback to update the axis type.