Added copy constructor and assignement operator (I. Hrivnacova)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpZonePainter.h
CommitLineData
5f91c9e8 1// $Id$
2// Category: graphics
3//
4// Class AliMpZonePainter
5// ----------------------
6// Class for drawing a zone into canvas
7//
8// Authors: David Guez, IPN Orsay
9
2998a151 10#ifndef ALI_MP_ZONE_PAINTER_H
11#define ALI_MP_ZONE_PAINTER_H
5f91c9e8 12
13#include "AliMpVPainter.h"
14
15class AliMpZone;
16
17class AliMpZonePainter : public AliMpVPainter
18{
19 public:
20 AliMpZonePainter();
21 AliMpZonePainter(AliMpZone *zone);
2998a151 22 virtual ~AliMpZonePainter();
23
fb1bf5c0 24 virtual void DumpObject(); //-MENU-
5f91c9e8 25 virtual void Draw(Option_t *option);
26 virtual void Paint(Option_t *option);
27 // get/set methods
28
29 virtual TVector2 GetPosition() const;
30 virtual TVector2 GetDimensions() const;
31 virtual Int_t DistancetoPrimitive(Int_t x, Int_t y);
fb1bf5c0 32
33 protected:
34 AliMpZonePainter(const AliMpZonePainter& right);
35 AliMpZonePainter& operator = (const AliMpZonePainter& right);
36
5f91c9e8 37 private:
38 AliMpZone *fZone; // the zone to draw
39 ClassDef(AliMpZonePainter,1) // Zone painter
40};
2998a151 41#endif //ALI_MP_ZONE_PAINTER_H