]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpMotifPainter.h
Implemented write and read methods (with real mapping for tracker chamber) (Christian)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpMotifPainter.h
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice                               */
3
4 // $Id$
5 // $MpId: AliMpMotifPainter.h,v 1.6 2005/08/26 15:43:36 ivana Exp $
6
7 /// \ingroup graphics
8 /// \class AliMpMotifPainter
9 /// \brief Class for drawing a motif into canvas
10 //
11 /// Authors: David Guez, IPN Orsay
12
13 #ifndef ALI_MP_MOTIF_PAINTER_H
14 #define ALI_MP_MOTIF_PAINTER_H
15
16 #include "AliMpVPainter.h"
17
18 class AliMpMotifPosition;
19
20 class AliMpMotifPainter : public AliMpVPainter
21 {
22  public:
23   AliMpMotifPainter();
24   AliMpMotifPainter(AliMpMotifPosition *motifPos);
25   virtual ~AliMpMotifPainter();
26   
27   virtual void DumpObject(); //-MENU-
28   virtual void Paint(Option_t *option);
29   virtual TVector2 GetPosition() const;
30   virtual TVector2 GetDimensions() const;
31
32  protected:
33   AliMpMotifPainter(const AliMpMotifPainter& right);
34   AliMpMotifPainter&  operator = (const AliMpMotifPainter& right);
35
36  private:
37   AliMpMotifPosition *fMotifPos;          // the motif to draw
38
39   ClassDef(AliMpMotifPainter,1) // Motif painter
40 };
41 #endif //ALI_MP_MOTIF_PAINTER_H