]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpMotifPainter.h
Code for MUON Station1 (I.Hrivnacova)
[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 void DumpObject(); //-MENU-
23   virtual void Paint(Option_t *option);
24   virtual TVector2 GetPosition() const;
25   virtual TVector2 GetDimensions() const;
26
27  private:
28   AliMpMotifPosition *fMotifPos;          // the motif to draw
29
30   ClassDef(AliMpMotifPainter,1) // Motif painter
31 };
32 #endif //ALI_MP_MOTIF_PAINTER_H