26#include "TGLIncludes.h"
74 Warning(
"SetModel",
"Option '%s' not supported, assuming 'box'.", option.
Data());
86 pos = option.
Index(
"bb");
90 pos = option.
Index(
"a");
118 glPushAttrib(GL_ENABLE_BIT | GL_LIGHTING_BIT);
120 glEnable(GL_NORMALIZE);
121 glDisable(GL_COLOR_MATERIAL);
126 glDisable(GL_CULL_FACE);
int Ssiz_t
String size (currently int).
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).
void Warning(const char *location, const char *msgfmt,...)
Use this function in warning situations.
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)
Paints TH3 histograms by rendering variable-sized boxes matching the bin contents.
TGLBoundingBox fBoundingBox
! Shape's bounding box.
TGLPhysicalShape * fFirstPhysical
! first replica
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...
~TH3GL() override
Destructor.
Bool_t SetModel(TObject *obj, const Option_t *opt=nullptr) override
Set model object.
void DirectDraw(TGLRnrCtx &rnrCtx) const override
Render with OpenGL.
void SetBBox() override
Set bounding box.
The 3-D histogram classes derived from the 1-D histogram classes.
Mother of all ROOT objects.
void ToLower()
Change string to lower-case.
const char * Data() const
TString & Remove(Ssiz_t pos)
Ssiz_t Index(const char *pat, Ssiz_t i=0, ECaseCompare cmp=kExact) const