59 if (lod >= 100) off = 0;
60 else if (lod < 10) off = lod / 2;
61 else off = lod / 10 + 4;
79 lod = 10 *
static_cast<Int_t>(quant);
84 lod = 2 *
static_cast<Int_t>(quant);
86 return static_cast<Short_t>(lod);
std::string GetName(const std::string &scope_name)
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
TGLSphere(const TBuffer3DSphere &buffer)
Default ctor.
Int_t fDLSize
display-list id base
GLUquadric * GetGluQuadric()
Initialize fQuadric.
void Info(const char *location, const char *msgfmt,...)
Sphere description class - see TBuffer3DTypes for producer classes Supports hollow and cut spheres...
virtual UInt_t DLOffset(Short_t lod) const
Return display-list offset for given LOD.
virtual Short_t QuantizeShapeLOD(Short_t shapeLOD, Short_t combiLOD) const
Factor in scene/viewer LOD and quantize.
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Debug tracing.
Abstract logical shape - a GL 'drawable' - base for all shapes - faceset sphere etc.
Implements a native ROOT-GL sphere that can be rendered at different levels of detail.