Base class for plot-painters that provide GL rendering of various 2D and 3D histograms, functions and parametric surfaces.
virtual void | ClearBuffers() const |
virtual void | DrawPaletteAxis() const |
void | DrawSections() const |
virtual void | DrawSectionXOY() const |
virtual void | DrawSectionXOZ() const |
virtual void | DrawSectionYOZ() const |
const TColor* | GetPadColor() const |
void | MoveSection(Int_t px, Int_t py) |
void | PrintPlot() const |
void | RestoreModelviewMatrix() const |
void | RestoreProjectionMatrix() const |
void | SaveModelviewMatrix() const |
void | SaveProjectionMatrix() const |
static TGLPlotPainter::ECutAxisID | kXAxis | |
static TGLPlotPainter::ECutAxisID | kYAxis | |
static TGLPlotPainter::ECutAxisID | kZAxis |
TGLPlotBox | fBackBox | |
TGLBoxCut | fBoxCut | |
TGLPlotCamera* | fCamera | |
TGLPlotCoordinates* | fCoord | |
Bool_t | fDrawAxes | |
Bool_t | fDrawPalette | |
Bool_t | fHighColor | |
TH1* | fHist | |
TPoint | fMousePosition | |
Double_t | fPadPhi | |
Double_t | fPadTheta | |
const Float_t* | fPhysicalShapeColor | |
Int_t | fSelectedPart | |
TGLSelectionBuffer | fSelection | |
Int_t | fSelectionBase | |
Bool_t | fSelectionPass | |
Bool_t | fUpdateSelection | |
TAxis* | fXAxis | |
Double_t | fXOYSectionPos | |
Double_t | fXOZSectionPos | |
TAxis* | fYAxis | |
Double_t | fYOZSectionPos | |
TAxis* | fZAxis | |
vector<Double_t> | fZLevels | |
static TGLPlotPainter::ESelectionBase | kHighColorSelectionBase | |
static TGLPlotPainter::ESelectionBase | kTrueColorSelectionBase |
const TColor* | fPadColor |
TGLPlotPainter's ctor.
TGLPlotPainter's ctor.
// Clear buffer. Float_t rgb[3] = {1.f, 1.f, 1.f}; if (const TColor *color = GetPadColor()) color->GetRGB(rgb[0], rgb[1], rgb[2]); glClearColor(rgb[0], rgb[1], rgb[2], 1.); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
TGLPlotPainter(TH1 *hist, TGLPlotCamera *camera, TGLPlotCoordinates *coord, Int_t context, Bool_t xoySelectable, Bool_t xozSelectable, Bool_t yozSelectable); TGLPlotPainter(TGLPlotCamera *camera, Int_t context);
Add string option, it can be a digit in "lego" or "surf".
Function to process additional events (key presses, mouse clicks.)
{return !fHighColor && fSelectedPart <= kZAxis && fSelectedPart >= kXAxis;}