ROOT 6.08/07 Reference Guide |
Implementation of a box around a histogram/function for plot-painters.
Definition at line 30 of file TGLPlotBox.h.
Public Member Functions | |
TGLPlotBox (Bool_t xoySelectable, Bool_t xozSelectable, Bool_t yozSelectable) | |
Constructor. More... | |
virtual | ~TGLPlotBox () |
Empty dtor to suppress g++ warnings. More... | |
void | DrawBox (Int_t selectedPart, Bool_t selectionPass, const std::vector< Double_t > &zLevels, Bool_t highColor) const |
Draw back box for a plot. More... | |
Int_t | FindFrontPoint () const |
Convert 3d points into window coordinate system and find the nearest. More... | |
const TGLVertex3 * | Get2DBox () const |
Get 2D box. More... | |
const TGLVertex3 * | Get3DBox () const |
Get 3D box. More... | |
Bool_t | GetDrawBack () const |
Bool_t | GetDrawFront () const |
Int_t | GetFrontPoint () const |
The nearest point. More... | |
void | SetDrawBack (Bool_t d) |
void | SetDrawFront (Bool_t d) |
void | SetFrameColor (const TColor *color) |
Back box color. More... | |
void | SetPlotBox (const Rgl::Range_t &xRange, const Rgl::Range_t &yRange, const Rgl::Range_t &zRange) |
Set up a frame box. More... | |
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. More... | |
Static Public Attributes | |
static const Int_t | fgBackPairs [][2] |
static const Int_t | fgFramePlanes [][4] |
static const Int_t | fgFrontPairs [][2] |
static const Double_t | fgNormals [][3] |
Private Member Functions | |
void | DrawBack (Int_t selectedPart, Bool_t selectionPass, const std::vector< Double_t > &zLevels, Bool_t highColor) const |
void | DrawBackPlane (Int_t plane, Bool_t selectionPass, const std::vector< Double_t > &zLevels) const |
Draw back plane with number 'plane'. More... | |
void | DrawFront () const |
Private Attributes | |
TGLVertex3 | f2DBox [8] |
TGLVertex3 | f2DBoxU [8] |
TGLVertex3 | f3DBox [8] |
Bool_t | fDrawBack |
Bool_t | fDrawFront |
const TColor * | fFrameColor |
Int_t | fFrontPoint |
Double_t | fRangeXU |
Double_t | fRangeYU |
Double_t | fRangeZU |
Bool_t | fSelectablePairs [4][2] |
const Bool_t | fXOYSelectable |
const Bool_t | fXOZSelectable |
const Bool_t | fYOZSelectable |
#include <TGLPlotBox.h>
|
virtual |
Empty dtor to suppress g++ warnings.
Definition at line 91 of file TGLPlotBox.cxx.
|
private |
Definition at line 97 of file TGLPlotBox.cxx.
|
private |
Draw back plane with number 'plane'.
Definition at line 320 of file TGLPlotBox.cxx.
void TGLPlotBox::DrawBox | ( | Int_t | selectedPart, |
Bool_t | selectionPass, | ||
const std::vector< Double_t > & | zLevels, | ||
Bool_t | highColor | ||
) | const |
Draw back box for a plot.
Definition at line 183 of file TGLPlotBox.cxx.
|
private |
Definition at line 162 of file TGLPlotBox.cxx.
Int_t TGLPlotBox::FindFrontPoint | ( | ) | const |
Convert 3d points into window coordinate system and find the nearest.
Definition at line 244 of file TGLPlotBox.cxx.
const TGLVertex3 * TGLPlotBox::Get2DBox | ( | ) | const |
Get 2D box.
Definition at line 311 of file TGLPlotBox.cxx.
const TGLVertex3 * TGLPlotBox::Get3DBox | ( | ) | const |
Get 3D box.
Definition at line 302 of file TGLPlotBox.cxx.
|
inline |
Definition at line 87 of file TGLPlotBox.h.
|
inline |
Definition at line 84 of file TGLPlotBox.h.
Int_t TGLPlotBox::GetFrontPoint | ( | ) | const |
The nearest point.
Definition at line 293 of file TGLPlotBox.cxx.
Definition at line 86 of file TGLPlotBox.h.
Definition at line 83 of file TGLPlotBox.h.
Back box color.
Definition at line 225 of file TGLPlotBox.cxx.
void TGLPlotBox::SetPlotBox | ( | const Rgl::Range_t & | xRange, |
const Rgl::Range_t & | yRange, | ||
const Rgl::Range_t & | zRange | ||
) |
Set up a frame box.
Definition at line 197 of file TGLPlotBox.cxx.
void TGLPlotBox::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.
Definition at line 212 of file TGLPlotBox.cxx.
|
mutableprivate |
Definition at line 40 of file TGLPlotBox.h.
|
mutableprivate |
Definition at line 41 of file TGLPlotBox.h.
|
private |
Definition at line 39 of file TGLPlotBox.h.
|
private |
Definition at line 49 of file TGLPlotBox.h.
|
private |
Definition at line 50 of file TGLPlotBox.h.
|
private |
Definition at line 32 of file TGLPlotBox.h.
|
mutableprivate |
Definition at line 42 of file TGLPlotBox.h.
|
static |
Definition at line 79 of file TGLPlotBox.h.
|
static |
Definition at line 78 of file TGLPlotBox.h.
|
static |
Definition at line 80 of file TGLPlotBox.h.
|
static |
Definition at line 81 of file TGLPlotBox.h.
|
private |
Definition at line 45 of file TGLPlotBox.h.
|
private |
Definition at line 46 of file TGLPlotBox.h.
|
private |
Definition at line 47 of file TGLPlotBox.h.
|
private |
Definition at line 37 of file TGLPlotBox.h.
|
private |
Definition at line 33 of file TGLPlotBox.h.
|
private |
Definition at line 34 of file TGLPlotBox.h.
|
private |
Definition at line 35 of file TGLPlotBox.h.