4 // Class AliMpRowSegmentPainter
5 // ----------------------------
6 // Class for drawing a motif into canvas
8 // Authors: David Guez, IPN Orsay
10 #ifndef ALI_MP_ROW_SEGMENT_PAINTER_H
11 #define ALI_MP_ROW_SEGMENT_PAINTER_H
13 #include "AliMpVPainter.h"
15 class AliMpVRowSegment;
17 class AliMpRowSegmentPainter : public AliMpVPainter
20 AliMpRowSegmentPainter();
21 AliMpRowSegmentPainter(AliMpVRowSegment *rowSegment);
22 virtual ~AliMpRowSegmentPainter();
24 virtual void DumpObject(); //-MENU-
25 virtual void Draw(Option_t* option);
26 virtual void Paint(Option_t* /*option*/);
27 virtual TVector2 GetPosition() const;
28 virtual TVector2 GetDimensions() const;
31 AliMpRowSegmentPainter(const AliMpRowSegmentPainter& right);
32 AliMpRowSegmentPainter& operator = (const AliMpRowSegmentPainter& right);
35 AliMpVRowSegment *fRowSegment; // the row segment to draw
36 ClassDef(AliMpRowSegmentPainter,1) // Row Segment painter
38 #endif //ALI_MP_ROW_SEGMENT_PAINTER_H