35 #include <TVirtualX.h> 40 #include "TPolyMarker.h" 130 default: AppendPad(option);
144 Int_t col=gVirtualX->GetFillColor();
145 Style_t sty = gVirtualX->GetFillStyle();
147 gPad->Range(0.,0.,1.,1.);
158 gVirtualX->SetFillColor(col);
Double_t GetPositionY() const
Return y position.
Double_t GetDimensionY() const
Return y dimension.
virtual TVector2 GetPosition() const
Return the owned object's position.
virtual void DumpObject()
virtual AliMpRow * GetRow() const =0
Return the row.which this row segment belongs to.
virtual Double_t GetDimensionX() const =0
Return the x dimension of the row segment centre.
Int_t GetColor() const
Return the color.
Double_t GetDimensionX() const
Return x dimension.
static AliMpGraphContext * Instance()
virtual void Paint(Option_t *)
Paint the associated object.
void SetPadPosForReal(const TVector2 &position, const TVector2 &dimensions)
void SetColor(Int_t color)
Set color to use.
An interface for a row segment.
virtual Double_t GetPositionX() const =0
Return the x position of the row segment centre.
virtual Double_t GetPositionY() const =0
Return the y position of the row segment centre.
Abstract base class for drawing objects into canvas.
Class for drawing a motif into canvas.
virtual Int_t GetMotifPositionId(Int_t i) const =0
Return the i-th motif position Id of this row segment.
virtual Double_t GetDimensionY() const =0
Return the y dimension of the row segment centre.
virtual TVector2 GetDimensions() const
Return the owned object's dimensions.
AliMpVRowSegment * fRowSegment
the row segment to draw
AliMpVPainter * DrawObject(TObject *object, Option_t *option="")
Not implemented.
AliMpMotifPosition * FindMotifPosition(Int_t motifPositionID) const
void PaintWholeBox(Bool_t fill=kTRUE, Bool_t center=kFALSE)
virtual void Draw(Option_t *option)
Double_t GetPositionX() const
Return x position.
Class describing the correspondance between a given area in pad, and a zone of real (cm) position...
virtual Int_t GetNofMotifs() const =0
Return the number of motifs in this this row segment.
virtual ~AliMpRowSegmentPainter()
AliMpMotifMap * GetMotifMap() const
Return the motif map associated with its sector.