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