Implements a native ROOT-GL sphere that can be rendered at different levels of detail.
enum TGLLogicalShape::ELODAxes { | kLODAxesNone | |
kLODAxesX | ||
kLODAxesY | ||
kLODAxesZ | ||
kLODAxesAll | ||
}; |
TGLBoundingBox | TGLLogicalShape::fBoundingBox | ! Shape's bounding box. |
UInt_t | TGLLogicalShape::fDLBase | ! display-list id base |
Bool_t | TGLLogicalShape::fDLCache | ! use display list caching |
UShort_t | TGLLogicalShape::fDLValid | ! display-list validity bit-field |
TObject* | TGLLogicalShape::fExternalObj | ! Also plays the role of ID. |
TGLPhysicalShape* | TGLLogicalShape::fFirstPhysical | ! first replica |
Bool_t | TGLLogicalShape::fOwnExtObj | ! External object is a fake |
UInt_t | TGLLogicalShape::fRef | ! physical instance ref counting |
Bool_t | TGLLogicalShape::fRefStrong | ! Strong ref (delete on 0 ref); not in scene |
TGLScene* | TGLLogicalShape::fScene | ! scene where object is stored (can be zero!) |
Double_t | fRadius | Sphere radius |
Return display-list offset for given LOD. Calculation based on what is done in virtual QuantizeShapeLOD below.
Factor in scene/viewer LOD and quantize.