]>
Commit | Line | Data |
---|---|---|
5f91c9e8 | 1 | // $Id$ |
2 | // Category: graphics | |
3 | // | |
4 | // Class AliMpRowSegmentPainter | |
5 | // ---------------------------- | |
6 | // Class for drawing a motif into canvas | |
7 | // | |
8 | // Authors: David Guez, IPN Orsay | |
9 | ||
2998a151 | 10 | #ifndef ALI_MP_ROW_SEGMENT_PAINTER_H |
11 | #define ALI_MP_ROW_SEGMENT_PAINTER_H | |
5f91c9e8 | 12 | |
13 | #include "AliMpVPainter.h" | |
14 | ||
15 | class AliMpVRowSegment; | |
16 | ||
17 | class AliMpRowSegmentPainter : public AliMpVPainter | |
18 | { | |
19 | public: | |
20 | AliMpRowSegmentPainter(); | |
21 | AliMpRowSegmentPainter(AliMpVRowSegment *rowSegment); | |
2998a151 | 22 | virtual ~AliMpRowSegmentPainter(); |
23 | ||
24 | virtual void DumpObject(); //-MENU- | |
25 | virtual void Draw(Option_t* option); | |
26 | virtual void Paint(Option_t* /*option*/); | |
5f91c9e8 | 27 | virtual TVector2 GetPosition() const; |
28 | virtual TVector2 GetDimensions() const; | |
2998a151 | 29 | |
5f91c9e8 | 30 | private: |
31 | AliMpVRowSegment *fRowSegment; // the row segment to draw | |
32 | ClassDef(AliMpRowSegmentPainter,1) // Row Segment painter | |
33 | }; | |
2998a151 | 34 | #endif //ALI_MP_ROW_SEGMENT_PAINTER_H |