12#ifndef ROOT_TColorWheel
13#define ROOT_TColorWheel
int Int_t
Signed integer 4 bytes (int).
double Double_t
Double 8 bytes.
const char Option_t
Option string (const char).
#define ClassDefOverride(name, id)
Int_t InRectangles(Double_t x, Double_t y, Int_t coffset, Double_t angle) const
TCanvas * fCanvas
! Canvas used to draw the Color Wheel
TArc * fArc
! pointer to utility arc
TLine * fLine
! pointer to utility line
Double_t fRgray
Maximum radius of gray circle.
TColorWheel(const TColorWheel &)=delete
void PaintCircle(Int_t coffset, Int_t n, Double_t x, Double_t y, Double_t ang) const
Int_t InCircles(Double_t x, Double_t y, Int_t coffset, Double_t angle) const
virtual Int_t GetColor(Int_t px, Int_t py) const
Double_t fR0
Minimum radius for circles.
Double_t fY[15]
Y coordinates of the center of circles.
virtual void SetCanvas(TCanvas *can)
Int_t InGray(Double_t x, Double_t y) const
TColorWheel & operator=(const TColorWheel &)=delete
Double_t fX[15]
X coordinates of the center of circles.
Double_t fRmin
Minimum radius for rectangles.
TCanvas * GetCanvas() const
TText * fText
! pointer to utility text
Double_t fRmax
Maximum radius for rectangles.
char * GetObjectInfo(Int_t px, Int_t py) const override
Returns string containing info about the object at position (px,py).
void Paint(Option_t *option="") override
This method must be overridden if a class wants to paint itself.
void PaintCircles(Int_t coffset, Double_t angle) const
void Draw(Option_t *option="") override
Default Draw method for all objects.
Double_t fDr
Circles radius.
void PaintRectangles(Int_t coffset, Double_t angle) const
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Computes distance from point (px,py) to the object.
void Rotate(Double_t x, Double_t y, Double_t &u, Double_t &v, Double_t ang) const
TGraph * fGraph
! pointer to utility graph
Use the TLine constructor to create a simple line.