![]() |
AliRoot Core
v5-06-30 (35d6c57)
|
Class for drawing a motif into canvas. More...
#include <AliMpMotifPainter.h>
Public Member Functions | |
AliMpMotifPainter () | |
AliMpMotifPainter (AliMpMotifType *motifType) | |
AliMpMotifPainter (AliMpMotifPosition *motifPos) | |
virtual | ~AliMpMotifPainter () |
virtual void | DumpObject () |
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... | |
![]() | |
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 | |
AliMpMotifPainter (const AliMpMotifPainter &right) | |
Not implemented. More... | |
AliMpMotifPainter & | operator= (const AliMpMotifPainter &right) |
Not implemented. More... | |
void | PaintContour (Option_t *option, Bool_t fill) |
Private Attributes | |
AliMpMotifPosition * | fMotifPos |
the motif 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 motif into canvas.
Definition at line 21 of file AliMpMotifPainter.h.
AliMpMotifPainter::AliMpMotifPainter | ( | ) |
Default constructor
Definition at line 46 of file AliMpMotifPainter.cxx.
AliMpMotifPainter::AliMpMotifPainter | ( | AliMpMotifType * | motifType | ) |
Constructor from a motif Type. We hereby create a MotifPosition object from it, using arbitrary pad sizes, as this is just a way to visualize the shape of the motif.
Definition at line 63 of file AliMpMotifPainter.cxx.
AliMpMotifPainter::AliMpMotifPainter | ( | AliMpMotifPosition * | motifPos | ) |
Standard constructor
Definition at line 54 of file AliMpMotifPainter.cxx.
|
virtual |
Default constructor
Definition at line 85 of file AliMpMotifPainter.cxx.
|
private |
Not implemented.
|
virtual |
Dump the owned object
Definition at line 91 of file AliMpMotifPainter.cxx.
|
virtual |
Return the owned object's dimensions.
Get the owned object's dimensions
Implements AliMpVPainter.
Definition at line 107 of file AliMpMotifPainter.cxx.
Referenced by Paint().
|
virtual |
Return the owned object's position.
Get the owned object's position
Implements AliMpVPainter.
Definition at line 99 of file AliMpMotifPainter.cxx.
Referenced by Paint(), and PaintContour().
|
private |
Not implemented.
|
virtual |
Paint the associated object.
Paint the object
Implements AliMpVPainter.
Definition at line 115 of file AliMpMotifPainter.cxx.
|
private |
Drawing real motif (not envelop) the real contour
Definition at line 226 of file AliMpMotifPainter.cxx.
Referenced by Paint().
|
private |
the motif to draw
Definition at line 42 of file AliMpMotifPainter.h.
Referenced by AliMpMotifPainter(), DumpObject(), GetDimensions(), GetPosition(), Paint(), and PaintContour().