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 |
virtual TClass * | IsA () 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. | |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
void | TurnOnOff () |
Turn the box cut on/off. | |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
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 1428 of file TGLPlotPainter.cxx.
|
virtual |
Destructor.
Definition at line 1441 of file TGLPlotPainter.cxx.
|
private |
Box cut is limited by plot's sizes.
Definition at line 1649 of file TGLPlotPainter.cxx.
|
static |
|
inlinestaticconstexpr |
Definition at line 92 of file TGLPlotPainter.h.
|
inlinestatic |
Definition at line 92 of file TGLPlotPainter.h.
Draw cut as a semi-transparent box.
Definition at line 1507 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.
|
inlinevirtual |
Definition at line 92 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 1679 of file TGLPlotPainter.cxx.
Move box cut along selected direction.
Definition at line 1586 of file TGLPlotPainter.cxx.
void TGLBoxCut::ResetBoxGeometry | ( | ) |
Set geometry using plot's back box.
Definition at line 1471 of file TGLPlotPainter.cxx.
void TGLBoxCut::SetActive | ( | Bool_t | a | ) |
Turn the box cut on/off.
Definition at line 1461 of file TGLPlotPainter.cxx.
|
inline |
Definition at line 64 of file TGLPlotPainter.h.
Start cut's movement.
Definition at line 1577 of file TGLPlotPainter.cxx.
|
virtual |
|
inline |
Definition at line 92 of file TGLPlotPainter.h.
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 1449 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.