Implementss a native ROOT-GL representation of an arbitrary set of polygons.
void | TGLLogicalShape::PurgeDLRange(UInt_t base, Int_t size) const |
Int_t | CheckPoints(const Int_t* source, Int_t* dest) const |
static Bool_t | Eq(const Double_t* p1, const Double_t* p2) |
void | GLDrawPolys() const |
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 |
Int_t | TGLLogicalShape::fDLSize | ! display-list size for different LODs |
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!) |
Use GLU tesselator to replace all polygons with N > 3 with triangles. After this call polygon descriptions are changed. New vertices are not expected -- exception is thrown if this is requested by the triangulator. Support for adding of new vertices can be provided.
Set state of static flag EnforceTriangles. When this is set, all tesselations will be automatically converted into triangle-only meshes. This is needed to export TGeo shapes and CSG meshes to external triangle-mesh libraries that can not handle arbitrary polygons.