Diana Software
Public Member Functions | Protected Attributes | List of all members
QGGraphicalCutBase Class Reference

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...

Inheritance diagram for QGGraphicalCutBase:
QGGraphicalCut

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...
 

Detailed Description

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.

Author
Adam Bryant (adam_.nosp@m.brya.nosp@m.nt@be.nosp@m.rkel.nosp@m.ey.ed.nosp@m.u)

Definition at line 16 of file QGGraphicalCutBase.hh.

Constructor & Destructor Documentation

◆ QGGraphicalCutBase() [1/2]

QGGraphicalCutBase::QGGraphicalCutBase ( )

Default constructor.

◆ QGGraphicalCutBase() [2/2]

QGGraphicalCutBase::QGGraphicalCutBase ( const QGGraphicalCutBase graphicalCut)

Copy constructor.

Definition at line 14 of file QGGraphicalCutBase.cc.

◆ ~QGGraphicalCutBase()

QGGraphicalCutBase::~QGGraphicalCutBase ( )
virtual

Destructor.

Definition at line 19 of file QGGraphicalCutBase.cc.

Member Function Documentation

◆ SetProperty()

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().

Member Data Documentation

◆ fPoints

Int_t QGGraphicalCutBase::fPoints
protected

Number of points selected by the mouse.

Definition at line 32 of file QGGraphicalCutBase.hh.

Referenced by QGGraphicalCut::HandleCanvasEvent(), and SetProperty().

◆ fX0

Double_t QGGraphicalCutBase::fX0
protected

X-coordinate of first point.

Definition at line 35 of file QGGraphicalCutBase.hh.

Referenced by QGGraphicalCut::HandleCanvasEvent(), and SetProperty().

◆ fY0

Double_t QGGraphicalCutBase::fY0
protected

Y-coordinate of first point.

Definition at line 38 of file QGGraphicalCutBase.hh.

Referenced by QGGraphicalCut::HandleCanvasEvent(), and SetProperty().


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