AliRoot Core  edcc906 (edcc906)
AliMpZonePainter.h
Go to the documentation of this file.
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice */
3 
4 // $Id$
5 // $MpId: AliMpZonePainter.h,v 1.8 2006/05/24 13:58:13 ivana Exp $
6 
12 
13 #ifndef ALI_MP_ZONE_PAINTER_H
14 #define ALI_MP_ZONE_PAINTER_H
15 
16 #include "AliMpVPainter.h"
17 
18 class AliMpZone;
19 
21 {
22  public:
25  virtual ~AliMpZonePainter();
26 
27  virtual void DumpObject(); //-MENU-
28  virtual void Draw(Option_t *option);
29  virtual void Paint(Option_t *option);
30  // get/set methods
31 
32  virtual TVector2 GetPosition() const;
33  virtual TVector2 GetDimensions() const;
34  virtual Int_t DistancetoPrimitive(Int_t x, Int_t y);
35 
36  private:
38  AliMpZonePainter(const AliMpZonePainter& right);
41 
43 
44  ClassDef(AliMpZonePainter,1) // Zone painter
45 };
46 #endif //ALI_MP_ZONE_PAINTER_H
virtual TVector2 GetDimensions() const
Return the owned object's dimensions.
A region of pads of the same dimensions composed of subzones.
Definition: AliMpZone.h:25
virtual void Draw(Option_t *option)
AliMpZonePainter & operator=(const AliMpZonePainter &right)
Not implemented.
Class for drawing a zone into canvas.
virtual void DumpObject()
Abstract base class for drawing objects into canvas.
Definition: AliMpVPainter.h:21
AliMpZone * fZone
the zone to draw
virtual ~AliMpZonePainter()
virtual TVector2 GetPosition() const
Return the owned object's position.
virtual Int_t DistancetoPrimitive(Int_t x, Int_t y)
virtual void Paint(Option_t *option)
Paint the associated object.