]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/mapping/AliMpRowSegmentPainter.h
Work around for CINT bug in root 5.10/00, with gcc4.0.2
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpRowSegmentPainter.h
CommitLineData
dee1d5f1 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
5f91c9e8 4// $Id$
dee1d5f1 5// $MpId: AliMpRowSegmentPainter.h,v 1.6 2005/08/26 15:43:36 ivana Exp $
6
7/// \ingroup graphics
8/// \class AliMpRowSegmentPainter
9/// \brief Class for drawing a motif into canvas
10///
11/// Authors: David Guez, IPN Orsay
5f91c9e8 12
2998a151 13#ifndef ALI_MP_ROW_SEGMENT_PAINTER_H
14#define ALI_MP_ROW_SEGMENT_PAINTER_H
5f91c9e8 15
16#include "AliMpVPainter.h"
17
18class AliMpVRowSegment;
19
20class AliMpRowSegmentPainter : public AliMpVPainter
21{
22 public:
23 AliMpRowSegmentPainter();
24 AliMpRowSegmentPainter(AliMpVRowSegment *rowSegment);
2998a151 25 virtual ~AliMpRowSegmentPainter();
26
27 virtual void DumpObject(); //-MENU-
28 virtual void Draw(Option_t* option);
29 virtual void Paint(Option_t* /*option*/);
5f91c9e8 30 virtual TVector2 GetPosition() const;
31 virtual TVector2 GetDimensions() const;
2998a151 32
fb1bf5c0 33 protected:
34 AliMpRowSegmentPainter(const AliMpRowSegmentPainter& right);
35 AliMpRowSegmentPainter& operator = (const AliMpRowSegmentPainter& right);
36
5f91c9e8 37 private:
38 AliMpVRowSegment *fRowSegment; // the row segment to draw
39 ClassDef(AliMpRowSegmentPainter,1) // Row Segment painter
40};
2998a151 41#endif //ALI_MP_ROW_SEGMENT_PAINTER_H