26#include "TGLIncludes.h"
110 glPushAttrib(GL_ENABLE_BIT | GL_LIGHTING_BIT);
112 glEnable(GL_NORMALIZE);
113 glDisable(GL_COLOR_MATERIAL);
118 glDisable(GL_CULL_FACE);
Painter class for axes encompassing a 3D box.
void PlotStandard(TGLRnrCtx &rnrCtx, TH1 *histo, const TGLBoundingBox &bbox)
void SetUseAxisColors(Bool_t x)
void SetFontMode(TGLFont::EMode m)
Plot-painter implementing LEGO rendering of TH2 histograms in cartesian, polar, cylindrical and spher...
TGLBoundingBox fBoundingBox
Also plays the role of ID.
TT * SetModelDynCast(TObject *obj)
TGLPlot3D(const TGLPlot3D &)=delete
TGLPlotCoordinates fCoord
TGLPlotPainter * fPlotPainter
void SetPainter(TGLPlotPainter *p)
Set painter object and destroy the old one.
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Implements painting of TH2 with "SURF" option.
Rendering of TH2 and derived classes.
~TH2GL() override
Destructor.
Bool_t SetModel(TObject *obj, const Option_t *opt=nullptr) override
Set model object.
void SetBBox() override
Setup bounding-box.
void DirectDraw(TGLRnrCtx &rnrCtx) const override
Render the object.
Mother of all ROOT objects.