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