]>
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 | ||
10 | #ifndef M_SECTOR_PAINTER_H | |
11 | #define M_SECTOR_PAINTER_H | |
12 | ||
13 | #include "AliMpVPainter.h" | |
14 | ||
15 | class AliMpSector; | |
16 | ||
17 | class AliMpSectorPainter : public AliMpVPainter | |
18 | { | |
19 | public: | |
20 | AliMpSectorPainter(); | |
21 | AliMpSectorPainter(AliMpSector *sector); | |
22 | virtual void Draw(Option_t *option); | |
23 | virtual void Paint(Option_t *option); | |
24 | virtual void DumpObject(); // *MENU* | |
25 | virtual TVector2 GetPosition() const; | |
26 | virtual TVector2 GetDimensions() const; | |
27 | private: | |
28 | AliMpSector *fSector; // the sector to draw | |
29 | ClassDef(AliMpSectorPainter,1) // Sector painter | |
30 | }; | |
31 | #endif //M_SECTOR_PAINTER_H |