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