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 |
enum ESelectionBase { | kHighColorSelectionBase | |
kTrueColorSelectionBase | ||
}; | ||
enum ECutAxisID { | kXAxis | |
kYAxis | ||
kZAxis | ||
}; |
TGLPlotBox | fBackBox | |
TGLBoxCut | fBoxCut | |
TGLPlotCamera* | fCamera | |
TGLPlotCoordinates* | fCoord | |
Bool_t | fDrawPalette | |
Bool_t | fHighColor | |
TH1* | fHist | |
TPoint | fMousePosition | |
Double_t | fPadPhi | |
Double_t | fPadTheta | |
Int_t | fSelectedPart | |
TGLSelectionBuffer | fSelection | |
TGLPlotPainter::ESelectionBase | 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 |
const TColor* | fPadColor |
// 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);
Add string option, it can be a digit in "lego" or "surf".
{return !fHighColor && fSelectedPart <= kZAxis && fSelectedPart >= kXAxis;}