3 #ifndef ALIEVE_TPCSector3DGL_H
4 #define ALIEVE_TPCSector3DGL_H
8 #include <Alieve/TPCSectorData.h>
18 class TPCSector3DGL : public TGLObject
20 TPCSector3DGL(const TPCSector3DGL&); // Not implemented
21 TPCSector3DGL& operator=(const TPCSector3DGL&); // Not implemented
24 TPCSector3D* fSector; // fModel dynamic-casted to TPCSector3DGL
25 Reve::BoxSetGL* fBoxRnr;
29 virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
33 virtual ~TPCSector3DGL();
35 virtual Bool_t ShouldDLCache(const TGLRnrCtx&) const { return kFALSE; }
36 virtual ELODAxes SupportedLODAxes() const { return kLODAxesAll; }
37 virtual Short_t QuantizeShapeLOD(Short_t shapeLOD, Short_t combiLOD) const;
39 virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
40 virtual void SetBBox();
42 void DrawSegmentFrame(const TPCSectorData::SegmentInfo& s,
43 Int_t botExtraPads=0, Int_t topExtraPads=0) const;
45 virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
46 virtual void ProcessSelection(TGLRnrCtx & rnrCtx, TGLSelectRecord & rec);
48 ClassDef(TPCSector3DGL, 0);
49 }; // endclass TPCSector3DGL