]>
Commit | Line | Data |
---|---|---|
dee1d5f1 | 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
2 | * See cxx source for full Copyright notice */ | |
3 | ||
4 | // $Id$ | |
13985652 | 5 | // $MpId: AliMpPCBPainter.h,v 1.7 2006/05/24 13:58:13 ivana Exp $ |
dee1d5f1 | 6 | |
7 | /// \ingroup graphics | |
8 | /// \class AliMpPCBPainter | |
9 | /// \brief Class for drawing a PCB into canvas | |
10 | /// | |
13985652 | 11 | // Author: Laurent Aphecetche |
dee1d5f1 | 12 | |
13 | #ifndef ALIMPPCBPAINTER_H | |
14 | #define ALIMPPCBPAINTER_H | |
15 | ||
16 | #include "AliMpVPainter.h" | |
17 | ||
18 | class AliMpPCB; | |
19 | ||
20 | class AliMpPCBPainter : public AliMpVPainter | |
21 | { | |
22 | public: | |
23 | AliMpPCBPainter(AliMpPCB* pcb); | |
24 | virtual ~AliMpPCBPainter(); | |
25 | ||
26 | void Draw(Option_t* option); | |
27 | ||
28 | void Paint(Option_t* option); | |
29 | ||
30 | TVector2 GetDimensions() const; | |
31 | TVector2 GetPosition() const; | |
32 | ||
13e7956b | 33 | private: |
884a73f1 | 34 | AliMpPCBPainter(const AliMpPCBPainter& right); |
35 | AliMpPCBPainter& operator = (const AliMpPCBPainter& right); | |
13e7956b | 36 | |
829425a5 | 37 | AliMpPCB* fPCB; //!< PCB to be plotted. |
dee1d5f1 | 38 | |
39 | ClassDef(AliMpPCBPainter,1) // A painter for a PCB of stations 3,4,5 | |
40 | }; | |
41 | ||
42 | #endif |