18 #ifndef GZ_SIM_GUI_ALIGNTOOL_HH_
19 #define GZ_SIM_GUI_ALIGNTOOL_HH_
24 #include <gz/gui/Plugin.hh>
25 #include <gz/rendering/Node.hh>
64 class AlignToolPrivate;
82 public:
void LoadConfig(
const tinyxml2::XMLElement *_pluginElem)
override;
90 public slots:
void OnAlignAxis(
const QString &_mode);
102 public slots:
void OnReverse(
bool _reverse);
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;