]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/mapping/AliMpMotifPainter.h
Updated PaintContour() method
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpMotifPainter.h
CommitLineData
dee1d5f1 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
5f91c9e8 4// $Id$
13985652 5// $MpId: AliMpMotifPainter.h,v 1.8 2006/05/24 13:58:13 ivana Exp $
dee1d5f1 6
7/// \ingroup graphics
8/// \class AliMpMotifPainter
9/// \brief Class for drawing a motif into canvas
13985652 10///
11/// \author David Guez, IPN Orsay
5f91c9e8 12
13#ifndef ALI_MP_MOTIF_PAINTER_H
14#define ALI_MP_MOTIF_PAINTER_H
15
16#include "AliMpVPainter.h"
17
18class AliMpMotifPosition;
bde6e10f 19class AliMpMotifType;
5f91c9e8 20
21class AliMpMotifPainter : public AliMpVPainter
22{
23 public:
24 AliMpMotifPainter();
bde6e10f 25 AliMpMotifPainter(AliMpMotifType* motifType);
5f91c9e8 26 AliMpMotifPainter(AliMpMotifPosition *motifPos);
2998a151 27 virtual ~AliMpMotifPainter();
28
5f91c9e8 29 virtual void DumpObject(); //-MENU-
30 virtual void Paint(Option_t *option);
31 virtual TVector2 GetPosition() const;
32 virtual TVector2 GetDimensions() const;
33
13e7956b 34 private:
fb1bf5c0 35 AliMpMotifPainter(const AliMpMotifPainter& right);
36 AliMpMotifPainter& operator = (const AliMpMotifPainter& right);
37
aae373bb 38 void PaintContour(Option_t* option, Bool_t fill);
39
829425a5 40 AliMpMotifPosition *fMotifPos; ///< the motif to draw
bde6e10f 41
5f91c9e8 42 ClassDef(AliMpMotifPainter,1) // Motif painter
43};
44#endif //ALI_MP_MOTIF_PAINTER_H