Base class of an item in the editor. More...
#include <EditorItem.hh>


Signals | |
| void | DepthChanged (double _depth) |
| Qt signal emitted when the editor item depth has changed. More... | |
| void | HeightChanged (double _height) |
| Qt signal emitted when the editor item height has changed. More... | |
| void | ItemDeleted () |
| Qt signal emitted when the editor item is being deleted. More... | |
| void | PoseChanged (double _x, double _y, double _z, double _roll, double _pitch, double _yaw) |
| Qt signal emitted when the editor item pose has changed. More... | |
| void | PoseOriginTransformed (double _x, double _y, double _z, double _roll, double _pitch, double _yaw) |
| Qt signal emitted when the editor item pose origin has changed. More... | |
| void | PositionChanged (double _x, double _y, double _z) |
| Qt signal emitted when the editor item position has changed. More... | |
| void | PosXChanged (double _posX) |
| Qt signal emitted when the editor item's X position has changed. More... | |
| void | PosYChanged (double _posY) |
| Qt signal emitted when the editor item's Y position has changed. More... | |
| void | PosZChanged (double _posZ) |
| Qt signal emitted when the editor item's Z position has changed. More... | |
| void | RotationChanged (double _roll, double _pitch, double _yaw) |
| Qt signal emitted when the editor item rotation has changed. More... | |
| void | SizeChanged (double _width, double _depth, double _height) |
| Qt signal emitted when the editor item size has changed. More... | |
| void | WidthChanged (double _width) |
| Qt signal emitted when the editor item width has changed. More... | |
| void | YawChanged (double _yaw) |
| Qt signal emitted when the editor item yaw rotation has changed. More... | |
Public Member Functions | |
| EditorItem () | |
| Constructor. More... | |
| ~EditorItem () | |
| Destructor. More... | |
| virtual std::string | GetName () const |
| Get the name of the editor item. More... | |
| virtual QVector3D | GetScenePosition () const |
| Get the scene position of editor item. More... | |
| virtual double | GetSceneRotation () const |
| Get the scene rotation of the editor item. More... | |
| virtual QVector3D | GetSize () const |
| Get the size of the item in pixels. More... | |
| virtual std::string | GetType () const |
| Get the type of the editor item. More... | |
| virtual void | SetName (const std::string &_name) |
| Set the name of this editor item. More... | |
Protected Attributes | |
| std::string | editorType |
| Type of editor item. More... | |
| std::string | name |
| Name of editor item. More... | |
Base class of an item in the editor.
| gazebo::gui::EditorItem::EditorItem | ( | ) |
Constructor.
| gazebo::gui::EditorItem::~EditorItem | ( | ) |
Destructor.
|
signal |
Qt signal emitted when the editor item depth has changed.
| [in] | _depth | Depth of item in pixels. |
|
virtual |
Get the name of the editor item.
|
virtual |
Get the scene position of editor item.
Reimplemented in gazebo::gui::RectItem, gazebo::gui::LineSegmentItem, gazebo::gui::DoorItem, gazebo::gui::FloorItem, gazebo::gui::StairsItem, and gazebo::gui::WindowItem.
|
virtual |
Get the scene rotation of the editor item.
Reimplemented in gazebo::gui::RectItem, gazebo::gui::LineSegmentItem, gazebo::gui::DoorItem, gazebo::gui::FloorItem, gazebo::gui::StairsItem, and gazebo::gui::WindowItem.
|
virtual |
Get the size of the item in pixels.
Reimplemented in gazebo::gui::RectItem, gazebo::gui::LineSegmentItem, gazebo::gui::DoorItem, gazebo::gui::FloorItem, gazebo::gui::StairsItem, and gazebo::gui::WindowItem.
|
virtual |
Get the type of the editor item.
|
signal |
Qt signal emitted when the editor item height has changed.
| [in] | _height | Height of item in pixels. |
|
signal |
Qt signal emitted when the editor item is being deleted.
|
signal |
Qt signal emitted when the editor item pose has changed.
| [in] | _x | X position of item in pixels. |
| [in] | _y | Y position of item in pixels. |
| [in] | _z | Z position of item in pixels. |
| [in] | _roll | Roll rotation of item in degrees. |
| [in] | _pitch | Pitch rotation of item in degrees. |
| [in] | _yaw | Yaw rotation of item in degrees. |
|
signal |
Qt signal emitted when the editor item pose origin has changed.
| [in] | _x | X position of item in pixels. |
| [in] | _y | Y position of item in pixels. |
| [in] | _z | Z position of item in pixels. |
| [in] | _roll | Roll rotation of item in degrees. |
| [in] | _pitch | Pitch rotation of item in degrees. |
| [in] | _yaw | Yaw rotation of item in degrees. |
|
signal |
Qt signal emitted when the editor item position has changed.
| [in] | _x | X position of item in pixels. |
| [in] | _y | Y position of item in pixels. |
| [in] | _z | Z position of item in pixels. |
|
signal |
Qt signal emitted when the editor item's X position has changed.
| [in] | _x | X position of item in pixels. |
|
signal |
Qt signal emitted when the editor item's Y position has changed.
| [in] | _y | Y position of item in pixels. |
|
signal |
Qt signal emitted when the editor item's Z position has changed.
| [in] | _z | Z position of item in pixels. |
|
signal |
Qt signal emitted when the editor item rotation has changed.
| [in] | _roll | Roll rotation of item in degrees. |
| [in] | _pitch | Pitch rotation of item in degrees. |
| [in] | _yaw | Yaw rotation of item in degrees. |
|
virtual |
Set the name of this editor item.
| [in] | _name | Name to set the editor item to. |
|
signal |
Qt signal emitted when the editor item size has changed.
| [in] | _width | Width of item in pixels. |
| [in] | _depth | Depth of item in pixels. |
| [in] | _height | Height of item in pixels. |
|
signal |
Qt signal emitted when the editor item width has changed.
| [in] | _width | Width of item in pixels. |
|
signal |
Qt signal emitted when the editor item yaw rotation has changed.
| [in] | _yaw | Yaw rotation of item in degrees. |
|
protected |
Type of editor item.
|
protected |
Name of editor item.