12 #ifndef ROOT_TEveGeoPolyShape
13 #define ROOT_TEveGeoPolyShape
22 class TGeoCompositeShape;
24 class TEveGeoPolyShape :
public TGeoBBox
26 friend class TEveGeoPolyShapeGL;
29 TEveGeoPolyShape(
const TEveGeoPolyShape&);
30 TEveGeoPolyShape& operator=(
const TEveGeoPolyShape&);
33 std::vector<Double_t> fVertices;
34 std::vector<Int_t> fPolyDesc;
37 virtual void FillBuffer3D(TBuffer3D& buffer, Int_t reqSections, Bool_t localFrame)
const;
42 Edge_t(Int_t i, Int_t j)
44 if (i <= j) { fI = i; fJ = j; }
45 else { fI = j; fJ = i; }
48 bool operator<(
const Edge_t& e)
const
59 virtual ~TEveGeoPolyShape() {}
61 static TEveGeoPolyShape* Construct(TGeoCompositeShape *cshp, Int_t n_seg);
63 void SetFromFaceSet(TGLFaceSet* fs);
65 virtual const TBuffer3D& GetBuffer3D(Int_t reqSections, Bool_t localFrame)
const;
66 virtual TBuffer3D* MakeBuffer3D()
const;
68 ClassDef(TEveGeoPolyShape, 1);