#include <TGraphPolargram.h>
Inheritance diagram for TGraphPolargram:
Definition at line 36 of file TGraphPolargram.h.
anonymous enum |
Definition at line 77 of file TGraphPolargram.h.
anonymous enum |
Definition at line 77 of file TGraphPolargram.h.
TGraphPolargram::TGraphPolargram | ( | const char * | name = "" |
) |
TGraphPolargram::~TGraphPolargram | ( | ) | [virtual] |
TGraphPolargram::TGraphPolargram | ( | const char * | name, | |
Double_t | rmin, | |||
Double_t | rmax, | |||
Double_t | tmin, | |||
Double_t | tmax | |||
) |
TGraphPolargram::TGraphPolargram | ( | const char * | name = "" |
) |
virtual TGraphPolargram::~TGraphPolargram | ( | ) | [virtual] |
void TGraphPolargram::Paint | ( | Option_t * | options = "" |
) | [private, virtual] |
[fNdivPol] Specified polar labels
Reimplemented from TObject.
Definition at line 354 of file TGraphPolargram.cxx.
References TString::Contains(), kFALSE, kLabelOrtho, kTRUE, PaintPolarDivisions(), PaintRadialDivisions(), TObject::ResetBit(), TObject::SetBit(), and TString::ToUpper().
Referenced by Draw(), and ExecuteEvent().
void TGraphPolargram::PaintRadialDivisions | ( | Bool_t | drawaxis | ) | [private] |
Definition at line 632 of file TGraphPolargram.cxx.
References a, TMath::Abs(), axis, b, c, TMath::Cos(), d, ROOT::Math::gv_detail::dist(), double, fNdivRad, fRwrmax, fRwrmin, GetAngle(), TAttLine::GetLineStyle(), GetRadialColorLabel(), GetRadialLabelFont(), GetRadialLabelSize(), GetRadialOffset(), gPad, i, j, kFALSE, TMath::Log(), TAttLine::Modify(), THLimitsFinder::Optimize(), PaintCircle(), TAttLine::SetLineStyle(), TMath::Sin(), and test().
Referenced by Paint().
void TGraphPolargram::PaintPolarDivisions | ( | Bool_t | noLabels | ) | [private] |
Definition at line 412 of file TGraphPolargram.cxx.
References a, axis, b, c, TMath::Cos(), d, double, FindAlign(), FindTextAngle(), fNdivPol, Form(), fPolarLabels, fPolarOffset, fRadian, fRwtmax, fRwtmin, TAttLine::GetLineStyle(), GetPolarColorLabel(), GetPolarLabelFont(), GetPolarLabelSize(), GetTickpolarSize(), gPad, i, j, kLabelOrtho, TMath::Log(), TAttLine::Modify(), NULL, TLatex::PaintLatex(), TText::PaintText(), TMath::Pi(), pow(), ReduceFraction(), s, TAttLine::SetLineStyle(), TAttText::SetTextAlign(), TAttText::SetTextColor(), TAttText::SetTextFont(), TMath::Sin(), TMath::Tan(), test(), TObject::TestBit(), and theta.
Referenced by Paint().
void TGraphPolargram::ReduceFraction | ( | Int_t | Num, | |
Int_t | Denom, | |||
Int_t & | rnum, | |||
Int_t & | rden | |||
) | [private] |
void TGraphPolargram::Init | ( | ) | [private] |
Definition at line 331 of file TGraphPolargram.cxx.
References fAxisAngle, fCutRadial, fDegree, fGrad, TAttLine::fLineStyle, fPolarLabelColor, fPolarLabelFont, fPolarOffset, fPolarTextSize, fRadialLabelColor, fRadialLabelFont, fRadialOffset, fRadialTextSize, fRadian, fTickpolarSize, kFALSE, and kTRUE.
Referenced by TGraphPolargram().
Definition at line 279 of file TGraphPolargram.cxx.
References kLabelOrtho, TMath::Pi(), pi, and TObject::TestBit().
Referenced by PaintPolarDivisions().
Definition at line 310 of file TGraphPolargram.cxx.
References TMath::Pi(), and pi.
Referenced by PaintPolarDivisions().
Color_t TGraphPolargram::GetPolarColorLabel | ( | ) | [inline] |
Definition at line 85 of file TGraphPolargram.h.
References fPolarLabelColor.
Referenced by PaintPolarDivisions().
Color_t TGraphPolargram::GetRadialColorLabel | ( | ) | [inline] |
Definition at line 86 of file TGraphPolargram.h.
References fRadialLabelColor.
Referenced by PaintRadialDivisions().
Double_t TGraphPolargram::GetAngle | ( | ) | [inline] |
Definition at line 88 of file TGraphPolargram.h.
References fAxisAngle.
Referenced by ExecuteEvent(), and PaintRadialDivisions().
Double_t TGraphPolargram::GetPolarLabelSize | ( | ) | [inline] |
Definition at line 89 of file TGraphPolargram.h.
References fPolarTextSize.
Referenced by PaintPolarDivisions().
Double_t TGraphPolargram::GetPolarOffset | ( | ) | [inline] |
Double_t TGraphPolargram::GetRadialLabelSize | ( | ) | [inline] |
Definition at line 91 of file TGraphPolargram.h.
References fRadialTextSize.
Referenced by PaintRadialDivisions().
Double_t TGraphPolargram::GetRadialOffset | ( | ) | [inline] |
Definition at line 92 of file TGraphPolargram.h.
References fRadialOffset.
Referenced by PaintRadialDivisions().
Double_t TGraphPolargram::GetRMin | ( | ) | [inline] |
Definition at line 93 of file TGraphPolargram.h.
References fRwrmin.
Referenced by TGraphPainter::PaintGraphPolar(), and TGraphPolar::SetMaxRadial().
Double_t TGraphPolargram::GetRMax | ( | ) | [inline] |
Definition at line 94 of file TGraphPolargram.h.
References fRwrmax.
Referenced by TGraphPainter::PaintGraphPolar(), and TGraphPolar::SetMinRadial().
Double_t TGraphPolargram::GetTickpolarSize | ( | ) | [inline] |
Definition at line 95 of file TGraphPolargram.h.
References fTickpolarSize.
Referenced by PaintPolarDivisions().
Double_t TGraphPolargram::GetTMin | ( | ) | [inline] |
Definition at line 96 of file TGraphPolargram.h.
References fRwtmin.
Referenced by TGraphPainter::PaintGraphPolar(), and TGraphPolar::SetMaxPolar().
Double_t TGraphPolargram::GetTMax | ( | ) | [inline] |
Definition at line 97 of file TGraphPolargram.h.
References fRwtmax.
Referenced by TGraphPainter::PaintGraphPolar(), and TGraphPolar::SetMinPolar().
Font_t TGraphPolargram::GetPolarLabelFont | ( | ) | [inline] |
Definition at line 99 of file TGraphPolargram.h.
References fPolarLabelFont.
Referenced by PaintPolarDivisions().
Font_t TGraphPolargram::GetRadialLabelFont | ( | ) | [inline] |
Definition at line 100 of file TGraphPolargram.h.
References fRadialLabelFont.
Referenced by PaintRadialDivisions().
Reimplemented from TObject.
Definition at line 114 of file TGraphPolargram.cxx.
References TMath::Abs(), TMath::Cos(), TAttLine::DistancetoLine(), dr, fNdivPol, fNdivRad, gPad, i, kMaxPixel, TMath::Min(), TMath::Pi(), TMath::PiOver2(), TMath::Power(), TMath::Sin(), TMath::Sqrt(), theta, x, and y.
Int_t TGraphPolargram::GetNdivPolar | ( | ) | [inline] |
Int_t TGraphPolargram::GetNdivRadial | ( | ) | [inline] |
Definition at line 104 of file TGraphPolargram.h.
References fNdivRad.
Referenced by TSpider::SetNdivRadial().
Bool_t TGraphPolargram::IsDegree | ( | ) | [inline] |
Definition at line 106 of file TGraphPolargram.h.
References fDegree.
Referenced by TGraphPainter::PaintGraphPolar().
Bool_t TGraphPolargram::IsRadian | ( | ) | [inline] |
Definition at line 107 of file TGraphPolargram.h.
References fRadian.
Referenced by TGraphPainter::PaintGraphPolar().
Bool_t TGraphPolargram::IsGrad | ( | ) | [inline] |
Definition at line 108 of file TGraphPolargram.h.
References fGrad.
Referenced by TGraphPainter::PaintGraphPolar().
Definition at line 99 of file TGraphPolargram.cxx.
References fRwtmax, fRwtmin, and gPad.
Referenced by TGraphPolar::SetMaxPolar(), TGraphPolar::SetMinPolar(), SetToDegree(), SetToGrad(), and SetToRadian().
void TGraphPolargram::Draw | ( | Option_t * | options = "" |
) | [virtual] |
Reimplemented from TObject.
Definition at line 184 of file TGraphPolargram.cxx.
References TObject::AppendPad(), and Paint().
Referenced by TSpider::Draw(), TGraphPainter::PaintGraphPolar(), TSpider::SetDisplayAverage(), TSpider::SetNx(), TSpider::SetNy(), and TSpider::SetSegmentDisplay().
Reimplemented from TObject.
Definition at line 194 of file TGraphPolargram.cxx.
References TMath::Abs(), TMath::ACos(), TMath::ASin(), TMath::Cos(), fAxisAngle, GetAngle(), gPad, kButton1Down, kButton1Motion, kButton1Up, kFALSE, kHand, kMouseMotion, kMove, kTRUE, p1(), p2(), p3(), p4(), Paint(), TMath::Pi(), and TMath::Sin().
void TGraphPolargram::PaintCircle | ( | Double_t | x, | |
Double_t | y, | |||
Double_t | r, | |||
Double_t | phimin, | |||
Double_t | phimax, | |||
Double_t | theta | |||
) |
Definition at line 378 of file TGraphPolargram.cxx.
References TMath::Cos(), gPad, i, n, TMath::Pi(), TMath::Sin(), x, and y.
Referenced by TGraphPainter::PaintGraphPolar(), and PaintRadialDivisions().
void TGraphPolargram::SetAxisAngle | ( | Double_t | angle = 0 |
) |
void TGraphPolargram::SetNdivPolar | ( | Int_t | Ndiv = 508 |
) |
Definition at line 783 of file TGraphPolargram.cxx.
References fNdivPol, and gPad.
Referenced by TSpider::Draw(), and graphpolar().
void TGraphPolargram::SetNdivRadial | ( | Int_t | Ndiv = 508 |
) |
Definition at line 797 of file TGraphPolargram.cxx.
References fNdivRad, and gPad.
Referenced by TSpider::Draw(), and TSpider::SetNdivRadial().
Definition at line 810 of file TGraphPolargram.cxx.
References fNdivPol, fPolarLabels, gPad, and NULL.
void TGraphPolargram::SetPolarLabelSize | ( | Double_t | angularsize = 0.04 |
) |
void TGraphPolargram::SetPolarLabelColor | ( | Color_t | tcolorangular = 1 |
) |
void TGraphPolargram::SetPolarLabelFont | ( | Font_t | tfontangular = 62 |
) |
void TGraphPolargram::SetPolarOffset | ( | Double_t | PolarOffset = 0.04 |
) |
void TGraphPolargram::SetRadialOffset | ( | Double_t | RadialOffset = 0.025 |
) |
void TGraphPolargram::SetRadialLabelSize | ( | Double_t | radialsize = 0.035 |
) |
void TGraphPolargram::SetRadialLabelColor | ( | Color_t | tcolorradial = 1 |
) |
void TGraphPolargram::SetRadialLabelFont | ( | Font_t | tfontradial = 62 |
) |
Definition at line 896 of file TGraphPolargram.cxx.
References fDegree, fGrad, fRadian, fRwtmax, fRwtmin, gPad, and kFALSE.
Referenced by graphpolar(), and SetTwoPi().
Definition at line 915 of file TGraphPolargram.cxx.
References fRwrmax, fRwrmin, and gPad.
Referenced by TGraphPolar::SetMaxRadial(), and TGraphPolar::SetMinRadial().
void TGraphPolargram::SetTickpolarSize | ( | Double_t | tickpolarsize = 0.02 |
) |
void TGraphPolargram::SetToDegree | ( | ) |
Definition at line 939 of file TGraphPolargram.cxx.
References ChangeRangePolar(), fDegree, fGrad, fRadian, kFALSE, and kTRUE.
void TGraphPolargram::SetToGrad | ( | ) |
Definition at line 951 of file TGraphPolargram.cxx.
References ChangeRangePolar(), fDegree, fGrad, fRadian, kFALSE, and kTRUE.
void TGraphPolargram::SetToRadian | ( | ) |
Definition at line 963 of file TGraphPolargram.cxx.
References ChangeRangePolar(), fDegree, fGrad, fRadian, kFALSE, kTRUE, and TMath::Pi().
Referenced by graphpolar().
void TGraphPolargram::SetTwoPi | ( | ) |
Definition at line 975 of file TGraphPolargram.cxx.
References TMath::Pi(), and SetRangePolar().
Referenced by graphpolar().
TGraphPolargram::ClassDef | ( | TGraphPolargram | , | |
1 | ||||
) |
void TGraphPolargram::Paint | ( | Option_t * | options = "" |
) | [private, virtual] |
void TGraphPolargram::PaintRadialDivisions | ( | Bool_t | drawaxis | ) | [private] |
void TGraphPolargram::PaintPolarDivisions | ( | Bool_t | noLabels | ) | [private] |
void TGraphPolargram::ReduceFraction | ( | Int_t | Num, | |
Int_t | Denom, | |||
Int_t & | rnum, | |||
Int_t & | rden | |||
) | [private] |
void TGraphPolargram::Init | ( | ) | [private] |
Color_t TGraphPolargram::GetPolarColorLabel | ( | ) | [inline] |
Color_t TGraphPolargram::GetRadialColorLabel | ( | ) | [inline] |
Double_t TGraphPolargram::GetAngle | ( | ) | [inline] |
Double_t TGraphPolargram::GetPolarLabelSize | ( | ) | [inline] |
Double_t TGraphPolargram::GetPolarOffset | ( | ) | [inline] |
Double_t TGraphPolargram::GetRadialLabelSize | ( | ) | [inline] |
Double_t TGraphPolargram::GetRadialOffset | ( | ) | [inline] |
Double_t TGraphPolargram::GetRMin | ( | ) | [inline] |
Double_t TGraphPolargram::GetRMax | ( | ) | [inline] |
Double_t TGraphPolargram::GetTickpolarSize | ( | ) | [inline] |
Double_t TGraphPolargram::GetTMin | ( | ) | [inline] |
Double_t TGraphPolargram::GetTMax | ( | ) | [inline] |
Font_t TGraphPolargram::GetPolarLabelFont | ( | ) | [inline] |
Font_t TGraphPolargram::GetRadialLabelFont | ( | ) | [inline] |
Reimplemented from TObject.
Int_t TGraphPolargram::GetNdivPolar | ( | ) | [inline] |
Int_t TGraphPolargram::GetNdivRadial | ( | ) | [inline] |
Bool_t TGraphPolargram::IsDegree | ( | ) | [inline] |
Bool_t TGraphPolargram::IsRadian | ( | ) | [inline] |
Bool_t TGraphPolargram::IsGrad | ( | ) | [inline] |
Reimplemented from TObject.
void TGraphPolargram::PaintCircle | ( | Double_t | x, | |
Double_t | y, | |||
Double_t | r, | |||
Double_t | phimin, | |||
Double_t | phimax, | |||
Double_t | theta | |||
) |
void TGraphPolargram::SetAxisAngle | ( | Double_t | angle = 0 |
) |
void TGraphPolargram::SetNdivPolar | ( | Int_t | Ndiv = 508 |
) |
void TGraphPolargram::SetNdivRadial | ( | Int_t | Ndiv = 508 |
) |
void TGraphPolargram::SetPolarLabelSize | ( | Double_t | angularsize = 0.04 |
) |
void TGraphPolargram::SetPolarLabelColor | ( | Color_t | tcolorangular = 1 |
) |
void TGraphPolargram::SetPolarLabelFont | ( | Font_t | tfontangular = 62 |
) |
void TGraphPolargram::SetPolarOffset | ( | Double_t | PolarOffset = 0.04 |
) |
void TGraphPolargram::SetRadialOffset | ( | Double_t | RadialOffset = 0.025 |
) |
void TGraphPolargram::SetRadialLabelSize | ( | Double_t | radialsize = 0.035 |
) |
void TGraphPolargram::SetRadialLabelColor | ( | Color_t | tcolorradial = 1 |
) |
void TGraphPolargram::SetRadialLabelFont | ( | Font_t | tfontradial = 62 |
) |
void TGraphPolargram::SetTickpolarSize | ( | Double_t | tickpolarsize = 0.02 |
) |
void TGraphPolargram::SetToDegree | ( | ) |
void TGraphPolargram::SetToGrad | ( | ) |
void TGraphPolargram::SetToRadian | ( | ) |
void TGraphPolargram::SetTwoPi | ( | ) |
TGraphPolargram::ClassDef | ( | TGraphPolargram | , | |
1 | ||||
) |
Bool_t TGraphPolargram::fRadian [private] |
Definition at line 39 of file TGraphPolargram.h.
Referenced by Init(), IsRadian(), PaintPolarDivisions(), SetRangePolar(), SetToDegree(), SetToGrad(), and SetToRadian().
Bool_t TGraphPolargram::fDegree [private] |
Definition at line 40 of file TGraphPolargram.h.
Referenced by Init(), IsDegree(), SetRangePolar(), SetToDegree(), SetToGrad(), and SetToRadian().
Bool_t TGraphPolargram::fGrad [private] |
Definition at line 41 of file TGraphPolargram.h.
Referenced by Init(), IsGrad(), SetRangePolar(), SetToDegree(), SetToGrad(), and SetToRadian().
Color_t TGraphPolargram::fPolarLabelColor [private] |
Definition at line 43 of file TGraphPolargram.h.
Referenced by GetPolarColorLabel(), Init(), and SetPolarLabelColor().
Color_t TGraphPolargram::fRadialLabelColor [private] |
Definition at line 44 of file TGraphPolargram.h.
Referenced by GetRadialColorLabel(), Init(), and SetRadialLabelColor().
Double_t TGraphPolargram::fAxisAngle [private] |
Definition at line 46 of file TGraphPolargram.h.
Referenced by ExecuteEvent(), GetAngle(), Init(), and SetAxisAngle().
Double_t TGraphPolargram::fPolarOffset [private] |
Definition at line 47 of file TGraphPolargram.h.
Referenced by GetPolarOffset(), Init(), PaintPolarDivisions(), and SetPolarOffset().
Double_t TGraphPolargram::fPolarTextSize [private] |
Definition at line 48 of file TGraphPolargram.h.
Referenced by GetPolarLabelSize(), Init(), and SetPolarLabelSize().
Double_t TGraphPolargram::fRadialOffset [private] |
Definition at line 49 of file TGraphPolargram.h.
Referenced by GetRadialOffset(), Init(), and SetRadialOffset().
Double_t TGraphPolargram::fRadialTextSize [private] |
Definition at line 50 of file TGraphPolargram.h.
Referenced by GetRadialLabelSize(), Init(), and SetRadialLabelSize().
Double_t TGraphPolargram::fRwrmin [private] |
Definition at line 51 of file TGraphPolargram.h.
Referenced by GetRMin(), PaintRadialDivisions(), SetRangeRadial(), and TGraphPolargram().
Double_t TGraphPolargram::fRwrmax [private] |
Definition at line 52 of file TGraphPolargram.h.
Referenced by GetRMax(), PaintRadialDivisions(), SetRangeRadial(), and TGraphPolargram().
Double_t TGraphPolargram::fRwtmin [private] |
Definition at line 53 of file TGraphPolargram.h.
Referenced by ChangeRangePolar(), GetTMin(), PaintPolarDivisions(), SetRangePolar(), and TGraphPolargram().
Double_t TGraphPolargram::fRwtmax [private] |
Definition at line 54 of file TGraphPolargram.h.
Referenced by ChangeRangePolar(), GetTMax(), PaintPolarDivisions(), SetRangePolar(), and TGraphPolargram().
Double_t TGraphPolargram::fTickpolarSize [private] |
Definition at line 55 of file TGraphPolargram.h.
Referenced by GetTickpolarSize(), Init(), and SetTickpolarSize().
Font_t TGraphPolargram::fPolarLabelFont [private] |
Definition at line 57 of file TGraphPolargram.h.
Referenced by GetPolarLabelFont(), Init(), and SetPolarLabelFont().
Font_t TGraphPolargram::fRadialLabelFont [private] |
Definition at line 58 of file TGraphPolargram.h.
Referenced by GetRadialLabelFont(), Init(), and SetRadialLabelFont().
Int_t TGraphPolargram::fCutRadial [private] |
Int_t TGraphPolargram::fNdivRad [private] |
Definition at line 62 of file TGraphPolargram.h.
Referenced by DistancetoPrimitive(), GetNdivRadial(), PaintRadialDivisions(), SetNdivRadial(), and TGraphPolargram().
Int_t TGraphPolargram::fNdivPol [private] |
Definition at line 63 of file TGraphPolargram.h.
Referenced by DistancetoPrimitive(), GetNdivPolar(), PaintPolarDivisions(), SetNdivPolar(), SetPolarLabel(), and TGraphPolargram().
TString* TGraphPolargram::fPolarLabels [private] |
Definition at line 65 of file TGraphPolargram.h.
Referenced by PaintPolarDivisions(), SetPolarLabel(), TGraphPolargram(), and ~TGraphPolargram().
TString* TGraphPolargram::fPolarLabels [private] |
Definition at line 65 of file TGraphPolargram.h.