]>
Commit | Line | Data |
---|---|---|
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: AliMpRowPainter.h,v 1.8 2006/05/24 13:58:13 ivana Exp $ | |
6 | ||
7 | /// \ingroup graphics | |
8 | /// \class AliMpRowPainter | |
9 | /// \brief Class for drawing a row into canvas | |
10 | /// | |
11 | /// \author David Guez, IPN Orsay | |
12 | ||
13 | #ifndef ALI_MP_ROW_PAINTER_H | |
14 | #define ALI_MP_ROW_PAINTER_H | |
15 | ||
16 | #include "AliMpVPainter.h" | |
17 | ||
18 | class AliMpRow; | |
19 | ||
20 | class AliMpRowPainter : public AliMpVPainter | |
21 | { | |
22 | public: | |
23 | AliMpRowPainter(); | |
24 | AliMpRowPainter(AliMpRow *row); | |
25 | virtual ~AliMpRowPainter(); | |
26 | ||
27 | virtual void DumpObject(); //-MENU- | |
28 | virtual void Draw(Option_t *option); | |
29 | virtual void Paint(Option_t *option); | |
30 | virtual TVector2 GetPosition() const; | |
31 | virtual TVector2 GetDimensions() const; | |
32 | ||
33 | private: | |
34 | /// Not implemented | |
35 | AliMpRowPainter(const AliMpRowPainter& right); | |
36 | /// Not implemented | |
37 | AliMpRowPainter& operator = (const AliMpRowPainter& right); | |
38 | ||
39 | AliMpRow *fRow; ///< the row to paint | |
40 | ||
41 | ClassDef(AliMpRowPainter,1) // Row painter | |
42 | }; | |
43 | #endif //ALI_MP_ROW_PAINTER_H |