18 #ifndef _GAZEBO_GUI_BUILDING_MEASUREITEM_HH_
19 #define _GAZEBO_GUI_BUILDING_MEASUREITEM_HH_
33 class MeasureItemPrivate;
48 public:
MeasureItem(
const QPointF &_start,
const QPointF &_end);
54 private:
virtual void paint(QPainter *_painter,
55 const QStyleOptionGraphicsItem *_option, QWidget *_widget);
59 public:
double GetDistance()
const;
63 public:
void SetValue(
double _value);
67 private: std::unique_ptr<MeasureItemPrivate> dataPtr;
Measurement lines and values.
Definition: MeasureItem.hh:40
#define GZ_GUI_VISIBLE
Definition: system.hh:284
2D line segment.
Definition: SegmentItem.hh:43