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 ~AliMpMotifPainter();
24 virtual void DumpObject(); //-MENU-
25 virtual void Paint(Option_t *option);
26 virtual TVector2 GetPosition() const;
27 virtual TVector2 GetDimensions() const;
30 AliMpMotifPainter(const AliMpMotifPainter& right);
31 AliMpMotifPainter& operator = (const AliMpMotifPainter& right);
34 AliMpMotifPosition *fMotifPos; // the motif to draw
36 ClassDef(AliMpMotifPainter,1) // Motif painter
38 #endif //ALI_MP_MOTIF_PAINTER_H