24#include "TGLIncludes.h"
58 fH = (
TH2*)
fM->CreateHistogram();
61 fH->GetZaxis()->SetLimits(
fH->GetMinimum(),
fH->GetMaximum());
63 if (
dynamic_cast<TF3*
>(
fM))
96 glPushAttrib(GL_ENABLE_BIT | GL_LIGHTING_BIT);
98 glEnable(GL_NORMALIZE);
99 glDisable(GL_COLOR_MATERIAL);
104 glDisable(GL_CULL_FACE);
bool Bool_t
Boolean (0=false, 1=true) (bool).
constexpr Ssiz_t kNPOS
The equivalent of std::string::npos for the ROOT class TString.
const char Option_t
Option string (const char).
~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.
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
! Shape's bounding box.
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.
void ToLower()
Change string to lower-case.
Ssiz_t Index(const char *pat, Ssiz_t i=0, ECaseCompare cmp=kExact) const