18 #ifndef _GAZEBO_GUI_BUILDING_FLOORITEM_HH_ 
   19 #define _GAZEBO_GUI_BUILDING_FLOORITEM_HH_ 
   32     class WallSegmentItem;
 
   35     class FloorItemPrivate;
 
   53       public: 
virtual QVector3D GetSize() 
const;
 
   56       public: 
virtual QVector3D GetScenePosition() 
const;
 
   59       public: 
virtual double GetSceneRotation() 
const;
 
   66       private: 
virtual void paint(QPainter *_painter,
 
   67           const QStyleOptionGraphicsItem *_option, QWidget *_widget);
 
   70       private: 
virtual void mousePressEvent(QGraphicsSceneMouseEvent *_event);
 
   73       private: 
virtual void contextMenuEvent(
 
   74           QGraphicsSceneContextMenuEvent *_event);
 
   78       private slots: 
void NotifyChange();
 
   81       private slots: 
void RecalculateBoundingBox();
 
   84       private slots: 
void WallSegmentDeleted();
 
   87       private: 
void Update();
 
   90       public: 
void FloorChanged();
 
   93       private: 
void SizeChanged();
 
   97       private: std::unique_ptr<FloorItemPrivate> dataPtr;
 
#define GZ_GUI_VISIBLE
Definition: system.hh:284
2D representation of a floor. 
Definition: FloorItem.hh:42
2D rectangle. 
Definition: RectItem.hh:45
2D representation of a wall. 
Definition: WallSegmentItem.hh:40