]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpRowSegmentPainter.h
Mapping test macros (D. Guez, I. Hrivnacova)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpRowSegmentPainter.h
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
10 #ifndef ALI_MP_ROW_SEGMENT_PAINTER_H
11 #define ALI_MP_ROW_SEGMENT_PAINTER_H
12
13 #include "AliMpVPainter.h"
14
15 class AliMpVRowSegment;
16
17 class AliMpRowSegmentPainter : public AliMpVPainter
18 {
19  public:
20   AliMpRowSegmentPainter();
21   AliMpRowSegmentPainter(AliMpVRowSegment *rowSegment);
22   virtual ~AliMpRowSegmentPainter();
23   
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;
29
30  protected:
31   AliMpRowSegmentPainter(const AliMpRowSegmentPainter& right);
32   AliMpRowSegmentPainter&  operator = (const AliMpRowSegmentPainter& right);
33
34  private: 
35   AliMpVRowSegment *fRowSegment;      // the row segment to draw
36   ClassDef(AliMpRowSegmentPainter,1) // Row Segment painter
37 };
38 #endif //ALI_MP_ROW_SEGMENT_PAINTER_H