14#ifndef ROOT_TGLFaceSet 
   15#define ROOT_TGLFaceSet 
#define ClassDef(name, id)
 
Generic 3D primitive description class.
 
Implements a native ROOT-GL representation of an arbitrary set of polygons.
 
void EnforceTriangles()
Use GLU tesselator to replace all polygons with N > 3 with triangles.
 
static void SetEnforceTriangles(Bool_t e)
Set state of static flag EnforceTriangles.
 
std::vector< Int_t > fPolyDesc
 
std::vector< Int_t > & GetPolyDesc()
 
std::vector< Double_t > fNormals
 
std::vector< Double_t > & GetNormals()
 
Int_t CheckPoints(const Int_t *source, Int_t *dest) const
CheckPoints.
 
void SetFromMesh(const RootCsg::TBaseMesh *m)
Should only be done on an empty faceset object.
 
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Debug tracing.
 
TGLFaceSet(const TBuffer3D &buffer)
constructor
 
void CalculateNormals()
CalculateNormals.
 
std::vector< Double_t > fVertices
 
static Bool_t Eq(const Double_t *p1, const Double_t *p2)
test equality
 
std::vector< Double_t > & GetVertices()
 
static Bool_t fgEnforceTriangles
 
static Bool_t GetEnforceTriangles()
Get current state of static flag EnforceTriangles.
 
Abstract logical shape - a GL 'drawable' - base for all shapes - faceset sphere etc.
 
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
 
#define dest(otri, vertexptr)