/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ // $Id$ // $MpId: AliMpZonePainter.h,v 1.8 2006/05/24 13:58:13 ivana Exp $ /// \ingroup graphics /// \class AliMpZonePainter /// \brief Class for drawing a zone into canvas /// /// \author David Guez, IPN Orsay #ifndef ALI_MP_ZONE_PAINTER_H #define ALI_MP_ZONE_PAINTER_H #include "AliMpVPainter.h" class AliMpZone; class AliMpZonePainter : public AliMpVPainter { public: AliMpZonePainter(); AliMpZonePainter(AliMpZone *zone); virtual ~AliMpZonePainter(); virtual void DumpObject(); //-MENU- virtual void Draw(Option_t *option); virtual void Paint(Option_t *option); // get/set methods virtual TVector2 GetPosition() const; virtual TVector2 GetDimensions() const; virtual Int_t DistancetoPrimitive(Int_t x, Int_t y); private: AliMpZonePainter(const AliMpZonePainter& right); AliMpZonePainter& operator = (const AliMpZonePainter& right); AliMpZone *fZone; ///< the zone to draw ClassDef(AliMpZonePainter,1) // Zone painter }; #endif //ALI_MP_ZONE_PAINTER_H