12 #ifndef ROOT_TColorWheel
13 #define ROOT_TColorWheel
24 class TColorWheel :
public TNamed {
40 TColorWheel(
const TColorWheel &org);
41 TColorWheel &operator=(
const TColorWheel &rhs);
44 Int_t InCircles(Double_t x, Double_t y, Int_t coffset, Double_t angle)
const;
45 Int_t InGray(Double_t x, Double_t y)
const;
46 Int_t InRectangles(Double_t x, Double_t y, Int_t coffset, Double_t angle)
const;
47 void PaintCircle(Int_t coffset,Int_t n,Double_t x, Double_t y, Double_t ang)
const;
48 void PaintCircles(Int_t coffset, Double_t angle)
const ;
49 void PaintGray()
const;
50 void PaintRectangles(Int_t coffset, Double_t angle)
const;
51 void Rotate(Double_t x, Double_t y, Double_t &u, Double_t &v, Double_t ang)
const;
55 virtual ~TColorWheel();
56 virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
57 virtual void Draw(Option_t *option=
"");
58 TCanvas *GetCanvas()
const {
return fCanvas;}
59 virtual Int_t GetColor(Int_t px, Int_t py)
const;
60 virtual char *GetObjectInfo(Int_t px, Int_t py)
const;
61 virtual void Paint(Option_t *option=
"");
62 virtual void SetCanvas(TCanvas *can) {fCanvas = can;}
64 ClassDef(TColorWheel,1)