![]() |
Diana Software
|
Base class for GUI graphical cuts. This class has minimal dependencies on other GUI classes so it is suitable to be shared with Diana modules. More...
Public Member Functions | |
| QGGraphicalCutBase () | |
| Default constructor. More... | |
| QGGraphicalCutBase (const QGGraphicalCutBase &) | |
| Copy constructor. More... | |
| virtual | ~QGGraphicalCutBase () |
| Destructor. More... | |
| void | SetProperty (const std::string &key, const std::string &value) |
| Set property (used for opening a session) More... | |
Protected Attributes | |
| Int_t | fPoints |
| Number of points selected by the mouse. More... | |
| Double_t | fX0 |
| X-coordinate of first point. More... | |
| Double_t | fY0 |
| Y-coordinate of first point. More... | |
Base class for GUI graphical cuts. This class has minimal dependencies on other GUI classes so it is suitable to be shared with Diana modules.
Definition at line 16 of file QGGraphicalCutBase.hh.
| QGGraphicalCutBase::QGGraphicalCutBase | ( | ) |
Default constructor.
| QGGraphicalCutBase::QGGraphicalCutBase | ( | const QGGraphicalCutBase & | graphicalCut | ) |
Copy constructor.
Definition at line 14 of file QGGraphicalCutBase.cc.
|
virtual |
Destructor.
Definition at line 19 of file QGGraphicalCutBase.cc.
| void QGGraphicalCutBase::SetProperty | ( | const std::string & | key, |
| const std::string & | value | ||
| ) |
Set property (used for opening a session)
Definition at line 23 of file QGGraphicalCutBase.cc.
References fPoints, fX0, fY0, NAME_KEY, VERTEX_KEY, X_VARIABLE_KEY, and Y_VARIABLE_KEY.
Referenced by LGuiSessionReader::GetString(), and QGGraphicalCut::SetProperty().
|
protected |
Number of points selected by the mouse.
Definition at line 32 of file QGGraphicalCutBase.hh.
Referenced by QGGraphicalCut::HandleCanvasEvent(), and SetProperty().
|
protected |
X-coordinate of first point.
Definition at line 35 of file QGGraphicalCutBase.hh.
Referenced by QGGraphicalCut::HandleCanvasEvent(), and SetProperty().
|
protected |
Y-coordinate of first point.
Definition at line 38 of file QGGraphicalCutBase.hh.
Referenced by QGGraphicalCut::HandleCanvasEvent(), and SetProperty().