ROOT logo
ROOT » GRAF3D » GL » TGLPlotBox

class TGLPlotBox


 Implementation of a box around a histogram/function for
 plot-painters.

Function Members (Methods)

public:
TGLPlotBox(const TGLPlotBox&)
TGLPlotBox(Bool_t xoySelectable, Bool_t xozSelectable, Bool_t yozSelectable)
virtual~TGLPlotBox()
static TClass*Class()
voidDrawBox(Int_t selectedPart, Bool_t selectionPass, const vector<Double_t>& zLevels, Bool_t highColor) const
Int_tFindFrontPoint() const
const TGLVertex3*Get2DBox() const
const TGLVertex3*Get3DBox() const
Int_tGetFrontPoint() const
virtual TClass*IsA() const
voidSetFrameColor(const TColor* color)
voidSetPlotBox(const Rgl::Range_t& xRange, const Rgl::Range_t& yRange, const Rgl::Range_t& zRange)
voidSetPlotBox(const Rgl::Range_t& xRange, Double_t rangeXU, const Rgl::Range_t& yRange, Double_t rangeYU, const Rgl::Range_t& zRange, Double_t rangeZU)
virtual voidShowMembers(TMemberInspector& insp)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
private:
voidDrawBackPlane(Int_t plane, Bool_t selectionPass, const vector<Double_t>& zLevels) const

Data Members

public:
static const Int_tfgBackPairs[1073741823][2]
static const Int_tfgFramePlanes[536870911][4]
static const Double_tfgNormals[715827882][3]
private:
TGLVertex3f2DBox[8]
TGLVertex3f2DBoxU[8]
TGLVertex3f3DBox[8]
const TColor*fFrameColor
Int_tfFrontPoint
Double_tfRangeXU
Double_tfRangeYU
Double_tfRangeZU
Bool_tfSelectablePairs[4][2]
const Bool_tfXOYSelectable
const Bool_tfXOZSelectable
const Bool_tfYOZSelectable

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLPlotBox(Bool_t xoySelectable, Bool_t xozSelectable, Bool_t yozSelectable)
 Constructor.
Front point is 0.
~TGLPlotBox()
 Empty dtor to suppress g++ warnings.
void DrawBox(Int_t selectedPart, Bool_t selectionPass, const vector<Double_t>& zLevels, Bool_t highColor) const
 Draw back box for a plot.
void SetPlotBox(const Rgl::Range_t& xRange, const Rgl::Range_t& yRange, const Rgl::Range_t& zRange)
 Set up a frame box.
void SetPlotBox(const Rgl::Range_t& xRange, Double_t rangeXU, const Rgl::Range_t& yRange, Double_t rangeYU, const Rgl::Range_t& zRange, Double_t rangeZU)
 Set up a frame box.
void SetFrameColor(const TColor* color)
 Back box color.
Int_t FindFrontPoint() const
 Convert 3d points into window coordinate system
 and find the nearest.
Int_t GetFrontPoint() const
 The nearest point.
const TGLVertex3 * Get3DBox() const
 Get 3D box.
const TGLVertex3 * Get2DBox() const
 Get 2D box.
void DrawBackPlane(Int_t plane, Bool_t selectionPass, const vector<Double_t>& zLevels) const
Draw back plane with number 'plane'
TGLPlotBox(Bool_t xoySelectable, Bool_t xozSelectable, Bool_t yozSelectable)
ClassDef macro adds some virtual functions,
so, to supress g++ warnings virtual destructor declared.