18#include "TGLIncludes.h"
77 bbox[3], bbox[4], bbox[5]);
85 bbox[2] = -0.005*(bbox[4] - bbox[1]);
86 bbox[5] = -0.005*(bbox[4] - bbox[1]);
93 ncthis->fBoundingBox.SetAligned(low, high);
94 ncthis->UpdateBoundingBoxesOfPhysicals();
112 fX[0][0] =
fX[0][1] =
fX[0][2] = 0;
117 bbox[3], bbox[4], bbox[5]);
152 throw(
eH +
"unsupported FTGL-type.");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Exception class thrown by TEve classes and macros.
OpenGL renderer class for TEveText.
Bool_t SetModel(TObject *obj, const Option_t *opt=nullptr) override
Set model object.
void DirectDraw(TGLRnrCtx &rnrCtx) const override
Actual rendering code.
void SetBBox() override
Set bounding box.
Float_t GetExtrude() const
const char * GetText() const
Bool_t GetAutoLighting() const
Bool_t GetLighting() const
Int_t GetFontSize() const
Float_t GetPolygonOffset(Int_t i) const
Int_t GetFontFile() const
Int_t GetFontMode() const
void SetEmpty()
Set bounding box empty - all vertices at (0,0,0)
void BBox(const char *txt, Float_t &llx, Float_t &lly, Float_t &llz, Float_t &urx, Float_t &ury, Float_t &urz) const
Get bounding box.
void Render(const char *txt, Double_t x, Double_t y, Double_t angle, Double_t mgn) const
virtual void PostRender() const
Reset GL state after FTFont rendering.
virtual void PreRender(Bool_t autoLight=kTRUE, Bool_t lightOn=kFALSE) const
Set-up GL state before FTFont rendering.
TGLBoundingBox fBoundingBox
Also plays the role of ID.
Bool_t fDLCache
display-list validity bit-field
Base-class for direct OpenGL renderers.
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
3 component (x/y/z) vertex class.
Mother of all ROOT objects.