18 #ifndef _GAZEBO_GUI_BUILDING_FLOORITEM_HH_ 19 #define _GAZEBO_GUI_BUILDING_FLOORITEM_HH_ 22 #include <ignition/math/Vector3.hh> 33 class WallSegmentItem;
36 class FloorItemPrivate;
54 public:
virtual ignition::math::Vector3d Size()
const;
57 public:
virtual ignition::math::Vector3d ScenePosition()
const;
60 public:
virtual double SceneRotation()
const;
67 public:
void FloorChanged();
70 private:
virtual void paint(QPainter *_painter,
71 const QStyleOptionGraphicsItem *_option, QWidget *_widget);
74 private:
virtual void mousePressEvent(QGraphicsSceneMouseEvent *_event);
77 private:
virtual void contextMenuEvent(
78 QGraphicsSceneContextMenuEvent *_event);
82 private slots:
void NotifyChange();
85 private slots:
void RecalculateBoundingBox();
88 private slots:
void WallSegmentDeleted();
91 private:
void Update();
94 private:
void SizeChanged();
98 private: std::unique_ptr<FloorItemPrivate> dataPtr;
Forward declarations for the common classes.
Definition: Animation.hh:26
2D representation of a floor.
Definition: FloorItem.hh:43
2D rectangle.
Definition: RectItem.hh:49
gui
Definition: KeyEventHandler.hh:29
2D representation of a wall.
Definition: WallSegmentItem.hh:41