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