25 #ifndef IMG_POINTLIST_OVERLAY_HH
26 #define IMG_POINTLIST_OVERLAY_HH
34 namespace ost {
namespace img {
namespace gui {
46 const QPoint& lastmouse);
58 std::vector<std::pair<Point,double> > pointlist_;
class encapsulating 1D to 3D point
PointlistOverlay(const PointList &pl, const String &name="Pointlist")
virtual bool OnMouseEvent(QMouseEvent *e, DataViewerPanel *dvp, const QPoint &lastmouse)
mouse event handler
void Add(const Point &pnt, double scale=1.0)
void Add(const PointList &pl, double scale=1.0)
virtual void OnMenuEvent(QAction *e)
void Remove(const Point &pnt)
remove all points on the given point
PointlistOverlay(const String &name="Pointlist")
virtual void OnDraw(QPainter &pnt, DataViewerPanel *dvp, bool is_active)
call when redrawing is necessary
#define DLLEXPORT_OST_GUI