![]() |
AliRoot Core
edcc906 (edcc906)
|
Class for drawing a subzone into canvas. More...
#include <AliMpSubZonePainter.h>
Public Member Functions | |
AliMpSubZonePainter () | |
AliMpSubZonePainter (AliMpSubZone *subZone) | |
virtual | ~AliMpSubZonePainter () |
virtual void | DumpObject () |
virtual void | Draw (Option_t *option) |
virtual void | Paint (Option_t *option) |
Paint the associated object. More... | |
virtual TVector2 | GetPosition () const |
Return the owned object's position. More... | |
virtual TVector2 | GetDimensions () const |
Return the owned object's dimensions. More... | |
virtual Int_t | DistancetoPrimitive (Int_t x, Int_t y) |
![]() | |
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, Bool_t center=kFALSE) |
TVector2 | RealToPad (const TVector2 &realPos) |
Private Member Functions | |
AliMpSubZonePainter (const AliMpSubZonePainter &right) | |
Not implemented. More... | |
AliMpSubZonePainter & | operator= (const AliMpSubZonePainter &right) |
Not implemented. More... | |
Private Attributes | |
AliMpSubZone * | fSubZone |
the subzone to draw 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 subzone into canvas.
Definition at line 20 of file AliMpSubZonePainter.h.
AliMpSubZonePainter::AliMpSubZonePainter | ( | ) |
Default constructor
Definition at line 42 of file AliMpSubZonePainter.cxx.
AliMpSubZonePainter::AliMpSubZonePainter | ( | AliMpSubZone * | subZone | ) |
Standard constructor
Definition at line 50 of file AliMpSubZonePainter.cxx.
|
virtual |
Destructor
Definition at line 59 of file AliMpSubZonePainter.cxx.
|
private |
Not implemented.
|
virtual |
Dist to the nearest segment center if (x,y) is inside the sub-zone 9999 otherwise
Reimplemented from AliMpVPainter.
Definition at line 65 of file AliMpSubZonePainter.cxx.
|
virtual |
Draw the sector on the current pad The first letter of option is treated as follows:
Definition at line 168 of file AliMpSubZonePainter.cxx.
|
virtual |
Draw the owned object
Definition at line 98 of file AliMpSubZonePainter.cxx.
|
virtual |
Return the owned object's dimensions.
Get the owned object's dimensions
Implements AliMpVPainter.
Definition at line 137 of file AliMpSubZonePainter.cxx.
|
virtual |
Return the owned object's position.
Get the owned object's position
Implements AliMpVPainter.
Definition at line 106 of file AliMpSubZonePainter.cxx.
|
private |
Not implemented.
|
virtual |
Paint the associated object.
Paint the object
Implements AliMpVPainter.
Definition at line 207 of file AliMpSubZonePainter.cxx.
|
private |
the subzone to draw
Definition at line 41 of file AliMpSubZonePainter.h.
Referenced by DistancetoPrimitive(), Draw(), DumpObject(), GetDimensions(), GetPosition(), and Paint().