Implementation of a box around a histogram/function for plot-painters.
Definition at line 26 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 92 of file TGLPlotBox.cxx.
|
private |
Definition at line 98 of file TGLPlotBox.cxx.
|
private |
Draw back plane with number 'plane'.
Definition at line 321 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 184 of file TGLPlotBox.cxx.
|
private |
Definition at line 163 of file TGLPlotBox.cxx.
Int_t TGLPlotBox::FindFrontPoint | ( | ) | const |
Convert 3d points into window coordinate system and find the nearest.
Definition at line 245 of file TGLPlotBox.cxx.
const TGLVertex3 * TGLPlotBox::Get2DBox | ( | ) | const |
Get 2D box.
Definition at line 312 of file TGLPlotBox.cxx.
const TGLVertex3 * TGLPlotBox::Get3DBox | ( | ) | const |
Get 3D box.
Definition at line 303 of file TGLPlotBox.cxx.
|
inline |
Definition at line 83 of file TGLPlotBox.h.
|
inline |
Definition at line 80 of file TGLPlotBox.h.
Int_t TGLPlotBox::GetFrontPoint | ( | ) | const |
The nearest point.
Definition at line 294 of file TGLPlotBox.cxx.
Definition at line 82 of file TGLPlotBox.h.
Definition at line 79 of file TGLPlotBox.h.
Back box color.
Definition at line 226 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 198 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 213 of file TGLPlotBox.cxx.
|
mutableprivate |
Definition at line 36 of file TGLPlotBox.h.
|
mutableprivate |
Definition at line 37 of file TGLPlotBox.h.
|
private |
Definition at line 35 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 28 of file TGLPlotBox.h.
|
mutableprivate |
Definition at line 38 of file TGLPlotBox.h.
|
static |
Definition at line 75 of file TGLPlotBox.h.
|
static |
Definition at line 74 of file TGLPlotBox.h.
|
static |
Definition at line 76 of file TGLPlotBox.h.
|
static |
Definition at line 77 of file TGLPlotBox.h.
|
private |
Definition at line 41 of file TGLPlotBox.h.
|
private |
Definition at line 42 of file TGLPlotBox.h.
|
private |
Definition at line 43 of file TGLPlotBox.h.
|
private |
Definition at line 33 of file TGLPlotBox.h.
|
private |
Definition at line 29 of file TGLPlotBox.h.
|
private |
Definition at line 30 of file TGLPlotBox.h.
|
private |
Definition at line 31 of file TGLPlotBox.h.