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
bool operator<(const Edge_t &e) const
std::vector< Double_t > fVertices
Implements a native ROOT-GL representation of an arbitrary set of polygons.
virtual ~TEveGeoPolyShape()
virtual void FillBuffer3D(TBuffer3D &buffer, Int_t reqSections, Bool_t localFrame) const
Fill the passed buffer 3D.
TEveGeoPolyShape()
Constructor.
Description of TEveGeoPolyShape.
#define ClassDef(name, id)
Class handling Boolean composition of shapes.
TEveGeoPolyShape & operator=(const TEveGeoPolyShape &)
void SetFromFaceSet(TGLFaceSet *fs)
Set data-members from a face-set.
Generic 3D primitive description class.
virtual const TBuffer3D & GetBuffer3D(Int_t reqSections, Bool_t localFrame) const
Fill static buffer 3D.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
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.