1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 // $MpId: AliMpMotifPainter.h,v 1.8 2006/05/24 13:58:13 ivana Exp $
7 /// \ingroup mpgraphics
8 /// \class AliMpMotifPainter
9 /// \brief Class for drawing a motif into canvas
11 /// \author David Guez, IPN Orsay
13 #ifndef ALI_MP_MOTIF_PAINTER_H
14 #define ALI_MP_MOTIF_PAINTER_H
16 #include "AliMpVPainter.h"
18 class AliMpMotifPosition;
21 class AliMpMotifPainter : public AliMpVPainter
25 AliMpMotifPainter(AliMpMotifType* motifType);
26 AliMpMotifPainter(AliMpMotifPosition *motifPos);
27 virtual ~AliMpMotifPainter();
29 virtual void DumpObject(); //-MENU-
30 virtual void Paint(Option_t *option);
31 virtual TVector2 GetPosition() const;
32 virtual TVector2 GetDimensions() const;
36 AliMpMotifPainter(const AliMpMotifPainter& right);
38 AliMpMotifPainter& operator = (const AliMpMotifPainter& right);
40 void PaintContour(Option_t* option, Bool_t fill);
42 AliMpMotifPosition *fMotifPos; ///< the motif to draw
44 ClassDef(AliMpMotifPainter,1) // Motif painter
46 #endif //ALI_MP_MOTIF_PAINTER_H