ROOT 6.18/05 Reference Guide |
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. More... | |
virtual | ~TGLBoxCut () |
Destructor. More... | |
void | DrawBox (Bool_t selectionPass, Int_t selected) const |
Draw cut as a semi-transparent box. More... | |
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. More... | |
void | MoveBox (Int_t px, Int_t py, Int_t axisID) |
Move box cut along selected direction. More... | |
void | ResetBoxGeometry () |
Set geometry using plot's back box. More... | |
void | SetActive (Bool_t a) |
Turn the box cut on/off. More... | |
void | SetFactor (Double_t f) |
void | StartMovement (Int_t px, Int_t py) |
Start cut's movement. More... | |
void | TurnOnOff () |
Turn the box cut on/off. More... | |
Private Member Functions | |
void | AdjustBox () |
Box cut is limited by plot's sizes. More... | |
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 1432 of file TGLPlotPainter.cxx.
|
virtual |
Destructor.
Definition at line 1445 of file TGLPlotPainter.cxx.
|
private |
Box cut is limited by plot's sizes.
Definition at line 1653 of file TGLPlotPainter.cxx.
Draw cut as a semi-transparent box.
Definition at line 1511 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 1683 of file TGLPlotPainter.cxx.
Move box cut along selected direction.
Definition at line 1590 of file TGLPlotPainter.cxx.
void TGLBoxCut::ResetBoxGeometry | ( | ) |
Set geometry using plot's back box.
Definition at line 1475 of file TGLPlotPainter.cxx.
Turn the box cut on/off.
Definition at line 1465 of file TGLPlotPainter.cxx.
Definition at line 64 of file TGLPlotPainter.h.
Start cut's movement.
Definition at line 1581 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 1453 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.