QXRD  0.11.16
qxrdplotslicer.cpp
Go to the documentation of this file.
1 #include "qxrdplotslicer.h"
2 #include "qxrdrasterdata.h"
3 #include "qxrdimageplot.h"
4 #include "qwt_picker_machine.h"
5 
7  : QxrdImagePlotMeasurer(canvas, plot),
8  m_Plot(plot)
9 {
10  qRegisterMetaType< QVector<QPointF> >("QVector<QPointF>");
11 
12  setTrackerMode(QwtPicker::AlwaysOn);
13  setStateMachine(new QwtPickerPolygonMachine());
14  setRubberBand(QwtPicker::PolygonRubberBand);
15 }
QxrdImagePlot * m_Plot
QxrdPlotSlicer(QWidget *canvas, QxrdImagePlot *plot)