QXRD  0.11.16
Public Member Functions | Protected Member Functions | List of all members
QxrdPolygonalMaskPicker Class Reference

#include <qxrdmaskpicker.h>

Inheritance diagram for QxrdPolygonalMaskPicker:
Inheritance graph
Collaboration diagram for QxrdPolygonalMaskPicker:
Collaboration graph

Public Member Functions

 QxrdPolygonalMaskPicker (QWidget *canvas, QxrdImagePlot *plot)
- Public Member Functions inherited from QxrdMaskPicker
 QxrdMaskPicker (QWidget *canvas, QxrdImagePlot *plot)
- Public Member Functions inherited from QxrdImagePlotMeasurer
 QxrdImagePlotMeasurer (QWidget *canvas, QxrdImagePlot *plot)
- Public Member Functions inherited from QcepPlotMeasurer
 QcepPlotMeasurer (QWidget *canvas, QcepPlotPtr plot)
virtual QwtText trackerTextF (const QPointF &pos) const

Protected Member Functions

void append (const QPoint &pt)
bool end (bool ok=true)

Additional Inherited Members

- Protected Attributes inherited from QxrdMaskPicker

Detailed Description

Definition at line 23 of file qxrdmaskpicker.h.

Constructor & Destructor Documentation

QxrdPolygonalMaskPicker::QxrdPolygonalMaskPicker ( QWidget *  canvas,
QxrdImagePlot plot 

Definition at line 40 of file qxrdmaskpicker.cpp.

41  : QxrdMaskPicker(canvas, plot)
42 {
43  qRegisterMetaType< QVector<QPointF> >("QVector<QPointF>");
45  setStateMachine(new QwtPickerPolygonMachine());
46  setRubberBand(QwtPicker::PolygonRubberBand);
47 }
QxrdMaskPicker(QWidget *canvas, QxrdImagePlot *plot)

Member Function Documentation

void QxrdPolygonalMaskPicker::append ( const QPoint &  pt)

Definition at line 49 of file qxrdmaskpicker.cpp.

References QxrdImagePlot::disableContextMenu(), and QxrdMaskPicker::m_Plot.

50 {
51  if (m_Plot) {
53  }
55  QxrdMaskPicker::append(pt);
56 }
QxrdImagePlot * m_Plot
void disableContextMenu()

Here is the call graph for this function:

bool QxrdPolygonalMaskPicker::end ( bool  ok = true)

Definition at line 58 of file qxrdmaskpicker.cpp.

References QxrdImagePlot::enableContextMenu(), and QxrdMaskPicker::m_Plot.

59 {
60  if (m_Plot) {
62  }
64  return QxrdMaskPicker::end(ok);
65 }
void enableContextMenu()
QxrdImagePlot * m_Plot

Here is the call graph for this function:

The documentation for this class was generated from the following files: