#define ClassDefOverride(name, id)
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char x1
Option_t Option_t TPoint TPoint const char y1
Abstract base class for elements drawn in the editor.
Fill Area Attributes class.
virtual void SetR1(Double_t r1)
void ls(Option_t *option="") const override
List this ellipse with its attributes.
virtual void SetX1(Double_t x1)
virtual void PaintEllipse(Double_t x1, Double_t y1, Double_t r1, Double_t r2, Double_t phimin, Double_t phimax, Double_t theta, Option_t *option="")
Draw this ellipse with new coordinates.
void SetBBoxCenterY(const Int_t y) override
Set Y coordinate of the center of the Ellipse.
Double_t GetTheta() const
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Execute action corresponding to one event.
void SetBBoxY1(const Int_t y) override
Set top of BoundingBox to a value (resize in y direction on top)
void SetBBoxX1(const Int_t x) override
Set left hand side of BoundingBox to a value (resize in x direction on left)
Double_t GetPhimax() const
void SetBBoxY2(const Int_t y) override
Set bottom of BoundingBox to a value (resize in y direction on bottom)
Double_t fPhimax
Maximum angle (degrees)
Double_t GetPhimin() const
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Compute distance from point px,py to an ellipse.
virtual void SetPhimax(Double_t phi=360)
Double_t fX1
X coordinate of centre.
void SetBBoxX2(const Int_t x) override
Set right hand side of BoundingBox to a value (resize in x direction on right)
Bool_t GetNoEdges() const
Return kTRUE if kNoEdges bit is set, kFALSE otherwise.
Rectangle_t GetBBox() override
Return the bounding Box of the Ellipse, currently not taking into account the rotating angle.
void Paint(Option_t *option="") override
Paint this ellipse with its current attributes.
Double_t fY1
Y coordinate of centre.
Double_t fTheta
Rotation angle (degrees)
virtual void SetPhimin(Double_t phi=0)
void SetBBoxCenter(const TPoint &p) override
Set center of the Ellipse.
void SetBBoxCenterX(const Int_t x) override
Set X coordinate of the center of the Ellipse.
virtual void SetY1(Double_t y1)
~TEllipse() override
Ellipse default destructor.
Double_t fR2
second radius
virtual void SetNoEdges(Bool_t noEdges=kTRUE)
if noEdges = kTRUE the lines connecting the center to the edges will not be drawn.
void Copy(TObject &ellipse) const override
Copy this ellipse to ellipse.
Double_t fPhimin
Minimum angle (degrees)
TPoint GetBBoxCenter() override
Return the center of the Ellipse as TPoint in pixels.
TEllipse()
Ellipse default constructor.
virtual TEllipse * DrawEllipse(Double_t x1, Double_t y1, Double_t r1, Double_t r2, Double_t phimin, Double_t phimax, Double_t theta, Option_t *option="")
Draw this ellipse with new coordinates.
virtual void SetR2(Double_t r2)
void Print(Option_t *option="") const override
Dump this ellipse with its attributes.
virtual void SetTheta(Double_t theta=0)
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save primitive as a C++ statement(s) on output stream out.
Mother of all ROOT objects.
Rectangle structure (maps to the X11 XRectangle structure)