4 // Class AliMpMotifPainter
5 // -----------------------
6 // Class for drawing a motif into canvas
8 // Authors: David Guez, IPN Orsay
10 #ifndef ALI_MP_MOTIF_PAINTER_H
11 #define ALI_MP_MOTIF_PAINTER_H
13 #include "AliMpVPainter.h"
15 class AliMpMotifPosition;
17 class AliMpMotifPainter : public AliMpVPainter
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;
28 AliMpMotifPosition *fMotifPos; // the motif to draw
30 ClassDef(AliMpMotifPainter,1) // Motif painter
32 #endif //ALI_MP_MOTIF_PAINTER_H