70 fM = SetModelDynCast<TH3>(obj);
77 Warning(
"SetModel",
"Option '%s' not supported, assuming 'box'.", option.
Data());
89 pos = option.
Index(
"bb");
93 pos = option.
Index(
"a");
121 glPushAttrib(GL_ENABLE_BIT | GL_LIGHTING_BIT);
123 glEnable(GL_NORMALIZE);
124 glDisable(GL_COLOR_MATERIAL);
129 glDisable(GL_CULL_FACE);
void Warning(const char *location, const char *msgfmt,...)
Utility class to paint axis in GL.
void PlotStandard(TGLRnrCtx &rnrCtx, TH1 *histo, const TGLBoundingBox &bbox)
void SetUseAxisColors(Bool_t x)
void SetFontMode(TGLFont::EMode m)
void Set(const TGLVertex3 vertex[8])
Set a bounding box from provided 8 vertices.
Paints TH3 histograms by rendering variable-sized boxes matching the bin contents.
TGLBoundingBox fBoundingBox
Also plays the role of ID.
TGLPhysicalShape * fFirstPhysical
physical instance ref counting
const Float_t * Color() const
Description of TGLPlot3D.
TGLPlotCoordinates fCoord
TGLPlotPainter * fPlotPainter
void SetPainter(TGLPlotPainter *p)
Set painter object and destroy the old one.
Int_t FindFrontPoint() const
Convert 3d points into window coordinate system and find the nearest.
const TGLVertex3 * Get3DBox() const
Get 3D box.
const TGLPlotBox & RefBackBox() const
void SetDrawAxes(Bool_t s)
virtual void DrawPlot() const =0
virtual Bool_t InitGeometry()=0
void SetDrawBackBox(Bool_t b)
void SetDrawFrontBox(Bool_t b)
virtual void InitGL() const =0
void SetPhysicalShapeColor(const Float_t *rgba)
virtual void AddOption(const TString &stringOption)=0
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
OpenGL renderer class for TH3.
virtual void SetBBox()
Set bounding box.
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model object.
virtual ~TH3GL()
Destructor.
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Render with OpenGL.
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