24#include "TGLIncludes.h"
59 fH = (
TH2*)
fM->CreateHistogram();
62 fH->GetZaxis()->SetLimits(
fH->GetMinimum(),
fH->GetMaximum());
64 if (
dynamic_cast<TF3*
>(
fM))
97 glPushAttrib(GL_ENABLE_BIT | GL_LIGHTING_BIT);
99 glEnable(GL_NORMALIZE);
100 glDisable(GL_COLOR_MATERIAL);
105 glDisable(GL_CULL_FACE);
~TF2GL() override
Destructor.
void SetBBox() override
Setup bounding-box.
Bool_t SetModel(TObject *obj, const Option_t *opt=nullptr) override
Set model object.
void DirectDraw(TGLRnrCtx &rnrCtx) const override
Render the object.
A 3-Dim function with parameters.
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)
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.
Plot-painter for TF3 functions.
Service class for 2-D histogram classes.
Mother of all ROOT objects.