]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpSectorPainter.h
Added copy constructor and assignement operator (I. Hrivnacova)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSectorPainter.h
1 // $Id$
2 // Category: graphics
3 //
4 // Class AliMpSectorPainter
5 // ------------------------
6 // Class for drawing a sector into canvas
7 //
8 // Authors: David Guez, IPN Orsay
9
10 #ifndef ALI_MP_SECTOR_PAINTER_H
11 #define ALI_MP_SECTOR_PAINTER_H
12
13 #include "AliMpVPainter.h"
14
15 class AliMpSector;
16
17 class AliMpSectorPainter : public AliMpVPainter
18 {
19  public:
20   AliMpSectorPainter();
21   AliMpSectorPainter(AliMpSector *sector);
22   virtual ~AliMpSectorPainter();
23   
24   virtual void Draw(Option_t* option);
25   virtual void Paint(Option_t* /*option*/);
26   virtual void DumpObject(); // -MENU-
27   virtual TVector2 GetPosition() const;
28   virtual TVector2 GetDimensions() const;
29
30  protected:
31   AliMpSectorPainter(const AliMpSectorPainter& right);
32   AliMpSectorPainter&  operator = (const AliMpSectorPainter& right);
33
34  private:
35   AliMpSector *fSector;          // the sector to draw
36   ClassDef(AliMpSectorPainter,1) // Sector painter
37 };
38 #endif //ALI_MP_SECTOR_PAINTER_H