]>
Commit | Line | Data |
---|---|---|
5f91c9e8 | 1 | // $Id$ |
2 | // Category: graphics | |
3 | // | |
4 | // Class AliMpSubZonePainter | |
5 | // ------------------------- | |
6 | // Class for drawing a subzone into canvas | |
7 | // | |
8 | // Authors: David Guez, IPN Orsay | |
9 | ||
10 | #ifndef ALI_MP_SUBZONE_PAINTER_H | |
11 | #define ALI_MP_SUBZONE_PAINTER_H | |
12 | ||
13 | #include "AliMpVPainter.h" | |
14 | ||
15 | class AliMpSubZone; | |
16 | ||
17 | class AliMpSubZonePainter : public AliMpVPainter | |
18 | { | |
19 | public: | |
20 | AliMpSubZonePainter(); | |
21 | AliMpSubZonePainter(AliMpSubZone *subZone); | |
2998a151 | 22 | virtual ~AliMpSubZonePainter(); |
23 | ||
24 | virtual void DumpObject(); //-MENU- | |
5f91c9e8 | 25 | virtual void Draw(Option_t *option); |
26 | virtual void Paint(Option_t *option); | |
27 | // get/set methods | |
28 | virtual TVector2 GetPosition() const; | |
29 | virtual TVector2 GetDimensions() const; | |
30 | virtual Int_t DistancetoPrimitive(Int_t x, Int_t y); | |
5f91c9e8 | 31 | |
fb1bf5c0 | 32 | protected: |
33 | AliMpSubZonePainter(const AliMpSubZonePainter& right); | |
34 | AliMpSubZonePainter& operator = (const AliMpSubZonePainter& right); | |
35 | ||
2998a151 | 36 | private: |
5f91c9e8 | 37 | AliMpSubZone *fSubZone; // the subzone to draw |
38 | ClassDef(AliMpSubZonePainter,1) // SubZone painter | |
39 | }; | |
40 | #endif //ALI_MP_SUBZONE_PAINTER_H |