1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 // $MpId: AliMpSubZonePainter.h,v 1.8 2006/05/24 13:58:13 ivana Exp $
7 /// \ingroup mpgraphics
8 /// \class AliMpSubZonePainter
9 /// \brief Class for drawing a subzone into canvas
11 /// \author David Guez, IPN Orsay
13 #ifndef ALI_MP_SUBZONE_PAINTER_H
14 #define ALI_MP_SUBZONE_PAINTER_H
16 #include "AliMpVPainter.h"
20 class AliMpSubZonePainter : public AliMpVPainter
23 AliMpSubZonePainter();
24 AliMpSubZonePainter(AliMpSubZone *subZone);
25 virtual ~AliMpSubZonePainter();
27 virtual void DumpObject(); //-MENU-
28 virtual void Draw(Option_t *option);
29 virtual void Paint(Option_t *option);
31 virtual TVector2 GetPosition() const;
32 virtual TVector2 GetDimensions() const;
33 virtual Int_t DistancetoPrimitive(Int_t x, Int_t y);
37 AliMpSubZonePainter(const AliMpSubZonePainter& right);
39 AliMpSubZonePainter& operator = (const AliMpSubZonePainter& right);
41 AliMpSubZone *fSubZone; ///< the subzone to draw
43 ClassDef(AliMpSubZonePainter,1) // SubZone painter
45 #endif //ALI_MP_SUBZONE_PAINTER_H