Warning, file /include/root/TGraphPolar.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TGraphPolar
0013 #define ROOT_TGraphPolar
0014
0015 #include "TGraphErrors.h"
0016
0017 #ifdef R__LESS_INCLUDES
0018 class TGraphPolargram;
0019 #else
0020 #include "TGraphPolargram.h"
0021 #endif
0022
0023 class TGraphPolar : public TGraphErrors {
0024
0025 private:
0026 Bool_t fOptionAxis;
0027
0028 protected:
0029 TGraphPolargram* fPolargram;
0030 Double_t* fXpol;
0031 Double_t* fYpol;
0032
0033 public:
0034 TGraphPolar();
0035 TGraphPolar(Int_t n, const Double_t* theta = nullptr, const Double_t* r = nullptr,
0036 const Double_t* etheta = nullptr, const Double_t* er = nullptr);
0037 ~TGraphPolar() override;
0038
0039 TGraphPolargram *GetPolargram() {return fPolargram;}
0040
0041 void Draw(Option_t* options = "") override;
0042 Bool_t GetOptionAxis() {return fOptionAxis;}
0043 void SetMaxRadial(Double_t maximum = 1);
0044 void SetMinRadial(Double_t minimum = 0);
0045 void SetMaximum(Double_t maximum = 1) override {SetMaxRadial(maximum);}
0046 void SetMinimum(Double_t minimum = 0) override {SetMinRadial(minimum);}
0047 void SetMaxPolar(Double_t maximum = 6.28318530717958623);
0048 void SetMinPolar(Double_t minimum = 0);
0049 void SetOptionAxis(Bool_t opt) {fOptionAxis = opt;}
0050 void SetPolargram(TGraphPolargram *p) {fPolargram = p;}
0051 Double_t *GetXpol();
0052 Double_t *GetYpol();
0053
0054 ClassDefOverride(TGraphPolar,1);
0055 };
0056
0057 #endif