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);
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
void SetUseAxisColors(Bool_t x)
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Render with OpenGL.
void Set(const TGLVertex3 vertex[8])
Set a bounding box from provided 8 vertices.
void SetPainter(TGLPlotPainter *p)
Set painter object and destroy the old one.
void PlotStandard(TGLRnrCtx &rnrCtx, TH1 *histo, const TGLBoundingBox &bbox)
void SetFontMode(TGLFont::EMode m)
void ToLower()
Change string to lower-case.
virtual void SetBBox()
Set bounding box.
Int_t FindFrontPoint() const
Convert 3d points into window coordinate system and find the nearest.
Paints TH3 histograms by rendering variable-sized boxes matching the bin contents.
const char * Data() const
TGLPlotPainter * fPlotPainter
Utility class to paint axis in GL.
The 3-D histogram classes derived from the 1-D histogram classes.
Description of TGLPlot3D.
OpenGL renderer class for TH3.
void SetDrawBackBox(Bool_t b)
TGLPhysicalShape * fFirstPhysical
physical instance ref counting
virtual ~TH3GL()
Destructor.
TGLPlotCoordinates fCoord
void Warning(const char *location, const char *msgfmt,...)
virtual void AddOption(const TString &stringOption)=0
TString & Remove(Ssiz_t pos)
const Float_t * Color() const
void SetDrawFrontBox(Bool_t b)
virtual Bool_t InitGeometry()=0
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model object.
const TGLVertex3 * Get3DBox() const
Get 3D box.
Mother of all ROOT objects.
virtual void InitGL() const =0
TGLBoundingBox fBoundingBox
Also plays the role of ID.
Ssiz_t Index(const char *pat, Ssiz_t i=0, ECaseCompare cmp=kExact) const
virtual void DrawPlot() const =0
void SetPhysicalShapeColor(const Float_t *rgba)
void SetDrawAxes(Bool_t s)
const TGLPlotBox & RefBackBox() const