18 #ifndef _GAZEBO_GUI_BUILDING_WALLSEGMENTITEM_HH_ 19 #define _GAZEBO_GUI_BUILDING_WALLSEGMENTITEM_HH_ 22 #include <ignition/math/Vector2.hh> 34 class WallSegmentItemPrivate;
50 const ignition::math::Vector2d &_end,
const double _height);
57 public:
double Height()
const;
61 public:
void SetHeight(
const double _height);
68 public:
void Update();
71 public:
void WallSegmentChanged();
74 public:
void UpdateInspector();
77 public:
void SetHighlighted(
const bool _highlighted);
80 protected:
void SegmentUpdated();
84 private:
void contextMenuEvent(QGraphicsSceneContextMenuEvent *_event);
88 private:
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *_event);
93 private: QVariant itemChange(GraphicsItemChange _change,
94 const QVariant &_value);
97 private slots:
void OnApply();
100 private slots:
void OnOpenInspector();
103 private slots:
void OnDeleteItem();
107 private: std::unique_ptr<WallSegmentItemPrivate> dataPtr;
Forward declarations for the common classes.
Definition: Animation.hh:33
2D line segment.
Definition: SegmentItem.hh:45
2D representation of a wall.
Definition: WallSegmentItem.hh:41