12 #ifndef ROOT_TEveGeoPolyShape
13 #define ROOT_TEveGeoPolyShape
41 if (i <= j) { fI = i; fJ = j; }
42 else { fI = j; fJ = i; }
std::vector< Int_t > fPolyDesc
std::vector< Double_t > fVertices
virtual void FillBuffer3D(TBuffer3D &buffer, Int_t reqSections, Bool_t localFrame) const
Fill the passed buffer 3D.
Implements a native ROOT-GL representation of an arbitrary set of polygons.
virtual ~TEveGeoPolyShape()
TEveGeoPolyShape()
Constructor.
Description of TEveGeoPolyShape.
TEveGeoPolyShape & operator=(const TEveGeoPolyShape &)
bool operator<(const Edge_t &e) const
void SetFromFaceSet(TGLFaceSet *fs)
Set data-members from a face-set.
ClassDef(TEveGeoPolyShape, 1)
Generic 3D primitive description class.
virtual const TBuffer3D & GetBuffer3D(Int_t reqSections, Bool_t localFrame) const
Fill static buffer 3D.
friend class TEveGeoPolyShapeGL
static TEveGeoPolyShape * Construct(TGeoCompositeShape *cshp, Int_t n_seg)
Static constructor from a composite shape.
virtual TBuffer3D * MakeBuffer3D() const
Create buffer 3D and fill it with point/segment/poly data.