]>
Commit | Line | Data |
---|---|---|
0343cac7 | 1 | // $Header$ |
2 | ||
3 | #ifndef ALIEVE_ITSModuleStepperGL_H | |
4 | #define ALIEVE_ITSModuleStepperGL_H | |
5 | ||
6 | #include <TGLObject.h> | |
7 | ||
8 | class TGLViewer; | |
9 | class TGLScene; | |
10 | ||
11 | namespace Alieve { | |
12 | ||
13 | class ITSModuleStepper; | |
14 | ||
15 | class ITSModuleStepperGL : public TGLObject | |
16 | { | |
17 | private: | |
18 | ITSModuleStepperGL(const ITSModuleStepperGL&); // Not implemented | |
19 | ITSModuleStepperGL& operator=(const ITSModuleStepperGL&); // Not implemented | |
20 | ||
21 | void RenderTriangle(Float_t dx, Float_t dy, Int_t id) const; | |
22 | protected: | |
23 | ITSModuleStepper* fM; // fModel dynamic-casted to ITSModuleStepperGL | |
24 | ||
25 | virtual void DirectDraw(const TGLDrawFlags & flags) const; | |
26 | ||
27 | public: | |
28 | ITSModuleStepperGL(); | |
29 | virtual ~ITSModuleStepperGL(); | |
30 | ||
31 | virtual Bool_t SetModel(TObject* obj); | |
32 | virtual void SetBBox(); | |
33 | ||
98b5e1dd | 34 | virtual Bool_t IgnoreSizeForOfInterest() const { return kTRUE; } |
0343cac7 | 35 | virtual Bool_t SupportsSecondarySelect() const { return kTRUE; } |
36 | virtual void ProcessSelection(UInt_t* ptr, TGLViewer*, TGLScene*); | |
37 | ||
38 | ClassDef(ITSModuleStepperGL, 0); | |
39 | }; // endclass ITSModuleStepperGL | |
40 | ||
41 | } | |
42 | ||
43 | #endif |