4 // Class AliMpZonePainter
5 // ----------------------
6 // Class for drawing a zone into canvas
8 // Authors: David Guez, IPN Orsay
10 #ifndef ALI_MP_ZONE_PAINTER_H
11 #define ALI_MP_ZONE_PAINTER_H
13 #include "AliMpVPainter.h"
17 class AliMpZonePainter : public AliMpVPainter
21 AliMpZonePainter(AliMpZone *zone);
22 virtual ~AliMpZonePainter();
24 virtual void DumpObject(); //-MENU-
25 virtual void Draw(Option_t *option);
26 virtual void Paint(Option_t *option);
29 virtual TVector2 GetPosition() const;
30 virtual TVector2 GetDimensions() const;
31 virtual Int_t DistancetoPrimitive(Int_t x, Int_t y);
34 AliMpZonePainter(const AliMpZonePainter& right);
35 AliMpZonePainter& operator = (const AliMpZonePainter& right);
38 AliMpZone *fZone; // the zone to draw
39 ClassDef(AliMpZonePainter,1) // Zone painter
41 #endif //ALI_MP_ZONE_PAINTER_H