3 #ifndef ALIEVE_TPCSector3DGL_H
4 #define ALIEVE_TPCSector3DGL_H
8 #include <Alieve/TPCSectorData.h>
16 class TPCSector3DGL : public TGLObject
18 TPCSector3DGL(const TPCSector3DGL&); // Not implemented
19 TPCSector3DGL& operator=(const TPCSector3DGL&); // Not implemented
22 TPCSector3D* fSector; // fModel dynamic-casted to TPCSector3DGL
23 TEveBoxSetGL* fBoxRnr;
27 virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
31 virtual ~TPCSector3DGL();
33 virtual Bool_t ShouldDLCache(const TGLRnrCtx&) const { return kFALSE; }
34 virtual ELODAxes SupportedLODAxes() const { return kLODAxesAll; }
35 virtual Short_t QuantizeShapeLOD(Short_t shapeLOD, Short_t combiLOD) const;
37 virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
38 virtual void SetBBox();
40 void DrawSegmentFrame(const TPCSectorData::SegmentInfo& s,
41 Int_t botExtraPads=0, Int_t topExtraPads=0) const;
43 virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
44 virtual void ProcessSelection(TGLRnrCtx & rnrCtx, TGLSelectRecord & rec);
46 ClassDef(TPCSector3DGL, 0);
47 }; // endclass TPCSector3DGL