Used by plot-painters to determine the area of the plot that is cut away.
Definition at line 38 of file TGLPlotPainter.h.
Public Member Functions | |
TGLBoxCut (const TGLPlotBox *plotBox) | |
Constructor. | |
virtual | ~TGLBoxCut () |
Destructor. | |
void | DrawBox (Bool_t selectionPass, Int_t selected) const |
Draw cut as a semi-transparent box. | |
Rgl::Range_t | GetXRange () const |
Rgl::Range_t | GetYRange () const |
Rgl::Range_t | GetZRange () const |
Bool_t | IsActive () const |
template<class V > | |
Bool_t | IsInCut (const V *v) const |
Bool_t | IsInCut (Double_t xMin, Double_t xMax, Double_t yMin, Double_t yMax, Double_t zMin, Double_t zMax) const |
Check, if box defined by xmin/xmax etc. is in cut. | |
void | MoveBox (Int_t px, Int_t py, Int_t axisID) |
Move box cut along selected direction. | |
void | ResetBoxGeometry () |
Set geometry using plot's back box. | |
void | SetActive (Bool_t a) |
Turn the box cut on/off. | |
void | SetFactor (Double_t f) |
void | StartMovement (Int_t px, Int_t py) |
Start cut's movement. | |
void | TurnOnOff () |
Turn the box cut on/off. | |
Private Member Functions | |
void | AdjustBox () |
Box cut is limited by plot's sizes. | |
Private Attributes | |
Bool_t | fActive |
TGLVertex3 | fCenter |
Double_t | fFactor |
TPoint | fMousePos |
const TGLPlotBox *const | fPlotBox |
Double_t | fXLength |
Rgl::Range_t | fXRange |
Double_t | fYLength |
Rgl::Range_t | fYRange |
Double_t | fZLength |
Rgl::Range_t | fZRange |
#include <TGLPlotPainter.h>
TGLBoxCut::TGLBoxCut | ( | const TGLPlotBox * | plotBox | ) |
Constructor.
Definition at line 1430 of file TGLPlotPainter.cxx.
|
virtual |
Destructor.
Definition at line 1443 of file TGLPlotPainter.cxx.
|
private |
Box cut is limited by plot's sizes.
Definition at line 1651 of file TGLPlotPainter.cxx.
Draw cut as a semi-transparent box.
Definition at line 1509 of file TGLPlotPainter.cxx.
|
inline |
Definition at line 85 of file TGLPlotPainter.h.
|
inline |
Definition at line 86 of file TGLPlotPainter.h.
|
inline |
Definition at line 87 of file TGLPlotPainter.h.
|
inline |
Definition at line 59 of file TGLPlotPainter.h.
|
inline |
Definition at line 75 of file TGLPlotPainter.h.
Bool_t TGLBoxCut::IsInCut | ( | Double_t | xMin, |
Double_t | xMax, | ||
Double_t | yMin, | ||
Double_t | yMax, | ||
Double_t | zMin, | ||
Double_t | zMax | ||
) | const |
Check, if box defined by xmin/xmax etc. is in cut.
Definition at line 1681 of file TGLPlotPainter.cxx.
Move box cut along selected direction.
Definition at line 1588 of file TGLPlotPainter.cxx.
void TGLBoxCut::ResetBoxGeometry | ( | ) |
Set geometry using plot's back box.
Definition at line 1473 of file TGLPlotPainter.cxx.
Turn the box cut on/off.
Definition at line 1463 of file TGLPlotPainter.cxx.
Definition at line 64 of file TGLPlotPainter.h.
Start cut's movement.
Definition at line 1579 of file TGLPlotPainter.cxx.
void TGLBoxCut::TurnOnOff | ( | ) |
Turn the box cut on/off.
If it's on, it will be placed in front point of a plot.
Definition at line 1451 of file TGLPlotPainter.cxx.
|
private |
Definition at line 49 of file TGLPlotPainter.h.
|
private |
Definition at line 43 of file TGLPlotPainter.h.
|
private |
Definition at line 50 of file TGLPlotPainter.h.
|
private |
Definition at line 52 of file TGLPlotPainter.h.
|
private |
Definition at line 48 of file TGLPlotPainter.h.
|
private |
Definition at line 40 of file TGLPlotPainter.h.
|
private |
Definition at line 44 of file TGLPlotPainter.h.
|
private |
Definition at line 41 of file TGLPlotPainter.h.
|
private |
Definition at line 45 of file TGLPlotPainter.h.
|
private |
Definition at line 42 of file TGLPlotPainter.h.
|
private |
Definition at line 46 of file TGLPlotPainter.h.