26#include "TGLIncludes.h"
68 fM = SetModelDynCast<TH3>(obj);
75 Warning(
"SetModel",
"Option '%s' not supported, assuming 'box'.",
option.Data());
119 glPushAttrib(GL_ENABLE_BIT | GL_LIGHTING_BIT);
121 glEnable(GL_NORMALIZE);
122 glDisable(GL_COLOR_MATERIAL);
127 glDisable(GL_CULL_FACE);
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)
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 Bool_t SetModel(TObject *obj, const Option_t *opt=nullptr)
Set model object.
virtual void SetBBox()
Set bounding box.
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.