18 #ifndef _FLOOR_ITEM_HH_
19 #define _FLOOR_ITEM_HH_
50 public:
virtual QVector3D GetSize()
const;
53 public:
virtual QVector3D GetScenePosition()
const;
56 public:
virtual double GetSceneRotation()
const;
60 public:
void AttachWall(
WallItem *_wallItem);
63 private:
virtual void paint(QPainter *_painter,
64 const QStyleOptionGraphicsItem *_option, QWidget *_widget);
67 private:
virtual void mousePressEvent(QGraphicsSceneMouseEvent *_event);
70 private:
virtual void contextMenuEvent(
71 QGraphicsSceneContextMenuEvent *_event);
75 private slots:
void NotifyChange();
78 private slots:
void RecalculateBoundingBox();
81 private slots:
void WallDeleted();
84 private:
void Update();
87 private:
void FloorChanged();
90 private:
void SizeChanged();
93 private:
double floorDepth;
96 private:
double floorHeight;
99 private:
double floorWidth;
102 private: QPointF floorPos;
109 private: std::vector<WallItem *> walls;
112 private: QPolygonF floorBoundingRect;
2D representation of a wall.
Definition: WallItem.hh:41
2D representation of a floor.
Definition: FloorItem.hh:39
2D rectangle.
Definition: RectItem.hh:39
Base class of a items that have building level properties such as the level number and level height...
Definition: BuildingItem.hh:33
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48