ROOT logo
ROOT » GRAF3D » GL » TGLBoxCut

class TGLBoxCut


 Used by plot-painters to determine the area of the plot that
 is cut away.

Function Members (Methods)

public:
TGLBoxCut(const TGLPlotBox* plotBox)
TGLBoxCut(const TGLBoxCut&)
virtual~TGLBoxCut()
static TClass*Class()
voidDrawBox(Bool_t selectionPass, Int_t selected) const
Rgl::Range_tGetXRange() const
Rgl::Range_tGetYRange() const
Rgl::Range_tGetZRange() const
virtual TClass*IsA() const
Bool_tIsActive() const
Bool_tIsInCut(Double_t xMin, Double_t xMax, Double_t yMin, Double_t yMax, Double_t zMin, Double_t zMax) const
voidMoveBox(Int_t px, Int_t py, Int_t axisID)
voidSetActive(Bool_t a)
voidSetFactor(Double_t f)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
voidStartMovement(Int_t px, Int_t py)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTurnOnOff()
private:
voidAdjustBox()

Data Members

private:
Bool_tfActive
TGLVertex3fCenter
Double_tfFactor
TPointfMousePos
const TGLPlotBox *constfPlotBox
Double_tfXLength
pair<double,double>fXRange
Double_tfYLength
pair<double,double>fYRange
Double_tfZLength
pair<double,double>fZRange

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLBoxCut(const TGLPlotBox *box)
Constructor.
~TGLBoxCut()
Destructor.
void TurnOnOff()
Turn the box cut on/off.
If it's on, it will be placed in front point of a plot.
void SetActive(Bool_t a)
void DrawBox(Bool_t selectionPass, Int_t selected) const
Draw cut as a semi-transparent box.
void StartMovement(Int_t px, Int_t py)
Start cut's movement
void MoveBox(Int_t px, Int_t py, Int_t axisID)
Move box cut along selected direction.
void AdjustBox()
Box cut is limited by plot's sizes.
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.
TGLBoxCut(const TGLPlotBox *plotBox)
Bool_t IsActive() const
{return fActive;}
void SetFactor(Double_t f)
{fFactor = f;}
Rgl::Range_t GetXRange() const
{return fXRange;}
Rgl::Range_t GetYRange() const
{return fYRange;}
Rgl::Range_t GetZRange() const
{return fZRange;}