![]() |
AliRoot Core
v5-06-30 (35d6c57)
|
Class for drawing a PCB into canvas. More...
#include <AliMpPCBPainter.h>
Public Member Functions | |
AliMpPCBPainter (AliMpPCB *pcb) | |
virtual | ~AliMpPCBPainter () |
void | Draw (Option_t *option) |
void | Paint (Option_t *option) |
Paint the associated object. More... | |
TVector2 | GetDimensions () const |
Return the owned object's dimensions. More... | |
TVector2 | GetPosition () const |
Return the owned object's position. More... | |
![]() | |
AliMpVPainter () | |
virtual | ~AliMpVPainter () |
void | DumpObject () const |
virtual TObject * | Clone (const char *newname="") const |
virtual TObject * | DrawClone (Option_t *option) const |
TVector2 | GetPadPosition () const |
Return the position inside the graphics pad. More... | |
TVector2 | GetPadDimensions () const |
Return the dimensions inside the graphics pad. More... | |
Int_t | GetColor () const |
Return the color. More... | |
void | SetPadPosition (const TVector2 &padPosition) |
Set the position inside the graphics pad. More... | |
void | SetPadDimension (const TVector2 &padDimensions) |
Set the dimensions inside the graphics pad. More... | |
void | SetColor (Int_t color) |
Set the color. More... | |
Bool_t | IsInside (const TVector2 &point, const TVector2 &pos, const TVector2 &dim) |
void | InitGraphContext () |
void | PaintWholeBox (Bool_t fill=kTRUE) |
virtual Int_t | DistancetoPrimitive (Int_t x, Int_t y) |
TVector2 | RealToPad (const TVector2 &realPos) |
Private Member Functions | |
AliMpPCBPainter (const AliMpPCBPainter &right) | |
Not implemented. More... | |
AliMpPCBPainter & | operator= (const AliMpPCBPainter &right) |
Not implemented. More... | |
Private Attributes | |
AliMpPCB * | fPCB |
! PCB to be plotted. More... | |
Additional Inherited Members | |
![]() | |
static AliMpVPainter * | CreatePainter (TObject *object) |
![]() | |
void | AddPainter (AliMpVPainter *painter) |
Not implemented. More... | |
AliMpVPainter * | DrawObject (TObject *object, Option_t *option="") |
Not implemented. More... | |
Class for drawing a PCB into canvas.
Class for drawing a PCB into canvas
Definition at line 20 of file AliMpPCBPainter.h.
AliMpPCBPainter::AliMpPCBPainter | ( | AliMpPCB * | pcb | ) |
Default ctor.
Definition at line 46 of file AliMpPCBPainter.cxx.
|
virtual |
Dtor.
Definition at line 55 of file AliMpPCBPainter.cxx.
|
private |
Not implemented.
void AliMpPCBPainter::Draw | ( | Option_t * | option | ) |
Draws the PCB.
Definition at line 84 of file AliMpPCBPainter.cxx.
|
virtual |
Return the owned object's dimensions.
Returns the half-sizes of the PCB.
Implements AliMpVPainter.
Definition at line 64 of file AliMpPCBPainter.cxx.
|
virtual |
Return the owned object's position.
Returns the (x,y) position of the PCB.
Implements AliMpVPainter.
Definition at line 74 of file AliMpPCBPainter.cxx.
|
private |
Not implemented.
|
virtual |
Paint the associated object.
Paint the object.
Implements AliMpVPainter.
Definition at line 121 of file AliMpPCBPainter.cxx.
|
private |
! PCB to be plotted.
Definition at line 39 of file AliMpPCBPainter.h.
Referenced by Draw(), GetDimensions(), GetPosition(), and Paint().