]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpMotifPainter.h
Mapping files of bending PCBs of station345
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpMotifPainter.h
1 // $Id$
2 // Category: graphics
3 //
4 // Class AliMpMotifPainter
5 // -----------------------
6 // Class for drawing a motif into canvas
7 //
8 // Authors: David Guez, IPN Orsay
9
10 #ifndef ALI_MP_MOTIF_PAINTER_H
11 #define ALI_MP_MOTIF_PAINTER_H
12
13 #include "AliMpVPainter.h"
14
15 class AliMpMotifPosition;
16
17 class AliMpMotifPainter : public AliMpVPainter
18 {
19  public:
20   AliMpMotifPainter();
21   AliMpMotifPainter(AliMpMotifPosition *motifPos);
22   virtual ~AliMpMotifPainter();
23   
24   virtual void DumpObject(); //-MENU-
25   virtual void Paint(Option_t *option);
26   virtual TVector2 GetPosition() const;
27   virtual TVector2 GetDimensions() const;
28
29  protected:
30   AliMpMotifPainter(const AliMpMotifPainter& right);
31   AliMpMotifPainter&  operator = (const AliMpMotifPainter& right);
32
33  private:
34   AliMpMotifPosition *fMotifPos;          // the motif to draw
35
36   ClassDef(AliMpMotifPainter,1) // Motif painter
37 };
38 #endif //ALI_MP_MOTIF_PAINTER_H