Added copy constructor and assignement operator (I. Hrivnacova)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpRowSegmentPainter.h
CommitLineData
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
15class AliMpVRowSegment;
16
17class 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
fb1bf5c0 30 protected:
31 AliMpRowSegmentPainter(const AliMpRowSegmentPainter& right);
32 AliMpRowSegmentPainter& operator = (const AliMpRowSegmentPainter& right);
33
5f91c9e8 34 private:
35 AliMpVRowSegment *fRowSegment; // the row segment to draw
36 ClassDef(AliMpRowSegmentPainter,1) // Row Segment painter
37};
2998a151 38#endif //ALI_MP_ROW_SEGMENT_PAINTER_H