#include <TGLAxis.h>
Inheritance diagram for TGLAxis:
Definition at line 26 of file TGLAxis.h.
TGLAxis::TGLAxis | ( | const TGLAxis & | ) | [private] |
TGLAxis::TGLAxis | ( | ) |
TGLAxis::~TGLAxis | ( | ) | [virtual] |
TGLAxis::TGLAxis | ( | const TGLAxis & | ) | [private] |
TGLAxis::TGLAxis | ( | ) |
virtual TGLAxis::~TGLAxis | ( | ) | [virtual] |
void TGLAxis::PaintGLAxis | ( | const Double_t | p1[3], | |
const Double_t | p2[3], | |||
Double_t | wmin, | |||
Double_t | wmax, | |||
Int_t | ndiv, | |||
Option_t * | opt = "" | |||
) |
Definition at line 77 of file TGLAxis.cxx.
References TMath::Abs(), TMath::ACos(), TMath::ATan(), DoLabels(), fAxisLength, fNDiv, fWmax, fWmin, glPopMatrix(), glPushMatrix(), glRotatef(), glTranslatef(), TMath::Normal2Plane(), p3(), PaintGLAxisBody(), PaintGLAxisLabels(), PaintGLAxisTickMarks(), phi, TMath::Pi(), TMath::Sqrt(), theta, TicksPositions(), x1, and x2.
void TGLAxis::Init | ( | ) |
Definition at line 41 of file TGLAxis.cxx.
References fAngle1, fAngle2, fAngle3, fAxisLength, fGridLength, fLabels, fLabelsOffset, fLabelsSize, fNDiv, fNDiv1, fNDiv2, fNDiv3, fNTicks1, fNTicks2, fText, fTickMarksLength, fTickMarksOrientation, fTicks1, fTicks2, fWmax, and fWmin.
void TGLAxis::PaintGLAxisBody | ( | ) |
Definition at line 169 of file TGLAxis.cxx.
References blue, fAxisLength, TROOT::GetColor(), TAttLine::GetLineColor(), TAttLine::GetLineWidth(), TColor::GetRGB(), GL_LINES, glBegin(), glColor3d(), glEnd(), glVertex3d(), green, gROOT, TGLUtil::LineWidth(), and red.
Referenced by PaintGLAxis().
void TGLAxis::PaintGLAxisTickMarks | ( | ) |
Definition at line 187 of file TGLAxis.cxx.
References fAxisLength, fGridLength, fNTicks1, fNTicks2, fTickMarksLength, fTickMarksOrientation, fTicks1, fTicks2, GL_LINE_STIPPLE, GL_LINES, glBegin(), glDisable(), glEnable(), glEnd(), glLineStipple(), glVertex3f(), and i.
Referenced by PaintGLAxis().
void TGLAxis::PaintGLAxisLabels | ( | ) |
Definition at line 258 of file TGLAxis.cxx.
References fAngle1, fAngle2, fAngle3, fAxisLength, fLabels, fLabelsOffset, fLabelsSize, fNDiv1, fText, fTickMarksOrientation, fTicks1, TAttText::GetTextAlign(), TAttText::GetTextColor(), TAttText::GetTextFont(), i, TGLText::PaintGLText(), TGLText::SetGLTextAngles(), TGLText::SetGLTextFont(), TAttText::SetTextAlign(), TAttText::SetTextColor(), TAttText::SetTextSize(), x, and y.
Referenced by PaintGLAxis().
void TGLAxis::TicksPositions | ( | Option_t * | opt = "" |
) |
Definition at line 302 of file TGLAxis.cxx.
References fNDiv, fNDiv1, fNDiv2, fNDiv3, fTicks1, fTicks2, kFALSE, kTRUE, TicksPositionsNoOpt(), and TicksPositionsOpt().
Referenced by PaintGLAxis().
void TGLAxis::TicksPositionsNoOpt | ( | ) |
Definition at line 336 of file TGLAxis.cxx.
References fAxisLength, fNDiv1, fNDiv2, fNTicks1, fNTicks2, fTicks1, fTicks2, i, j, and k.
Referenced by TicksPositions().
void TGLAxis::TicksPositionsOpt | ( | ) |
Definition at line 369 of file TGLAxis.cxx.
References TMath::Abs(), fAxisLength, fNDiv1, fNDiv2, fNTicks1, fNTicks2, fTicks1, fTicks2, fWmax, fWmin, i, j, k, THLimitsFinder::Optimize(), and w.
Referenced by TicksPositions().
void TGLAxis::DoLabels | ( | ) |
Definition at line 437 of file TGLAxis.cxx.
References fLabels, fNDiv1, fNTicks1, Form(), fWmax, fWmin, and i.
Referenced by PaintGLAxis().
void TGLAxis::SetTickMarksLength | ( | Double_t | length | ) | [inline] |
void TGLAxis::SetTickMarksOrientation | ( | Int_t | tmo | ) | [inline] |
void TGLAxis::SetLabelsOffset | ( | Double_t | offset | ) | [inline] |
void TGLAxis::SetLabelsSize | ( | Double_t | size | ) | [inline] |
void TGLAxis::SetGridLength | ( | Double_t | grid | ) | [inline] |
void TGLAxis::PaintGLAxis | ( | const Double_t | p1[3], | |
const Double_t | p2[3], | |||
Double_t | wmin, | |||
Double_t | wmax, | |||
Int_t | ndiv, | |||
Option_t * | opt = "" | |||
) |
void TGLAxis::Init | ( | ) |
void TGLAxis::PaintGLAxisBody | ( | ) |
void TGLAxis::PaintGLAxisTickMarks | ( | ) |
void TGLAxis::PaintGLAxisLabels | ( | ) |
void TGLAxis::TicksPositions | ( | Option_t * | opt = "" |
) |
void TGLAxis::TicksPositionsNoOpt | ( | ) |
void TGLAxis::TicksPositionsOpt | ( | ) |
void TGLAxis::DoLabels | ( | ) |
void TGLAxis::SetTickMarksLength | ( | Double_t | length | ) | [inline] |
void TGLAxis::SetTickMarksOrientation | ( | Int_t | tmo | ) | [inline] |
void TGLAxis::SetLabelsOffset | ( | Double_t | offset | ) | [inline] |
void TGLAxis::SetLabelsSize | ( | Double_t | size | ) | [inline] |
void TGLAxis::SetGridLength | ( | Double_t | grid | ) | [inline] |
Int_t TGLAxis::fNDiv [private] |
Int_t TGLAxis::fNDiv1 [private] |
Definition at line 32 of file TGLAxis.h.
Referenced by DoLabels(), Init(), PaintGLAxisLabels(), TicksPositions(), TicksPositionsNoOpt(), and TicksPositionsOpt().
Int_t TGLAxis::fNDiv2 [private] |
Definition at line 33 of file TGLAxis.h.
Referenced by Init(), TicksPositions(), TicksPositionsNoOpt(), and TicksPositionsOpt().
Int_t TGLAxis::fNDiv3 [private] |
Int_t TGLAxis::fNTicks1 [private] |
Definition at line 35 of file TGLAxis.h.
Referenced by DoLabels(), Init(), PaintGLAxisTickMarks(), TicksPositionsNoOpt(), and TicksPositionsOpt().
Int_t TGLAxis::fNTicks2 [private] |
Definition at line 36 of file TGLAxis.h.
Referenced by Init(), PaintGLAxisTickMarks(), TicksPositionsNoOpt(), and TicksPositionsOpt().
Double_t* TGLAxis::fTicks1 [private] |
Definition at line 37 of file TGLAxis.h.
Referenced by Init(), PaintGLAxisLabels(), PaintGLAxisTickMarks(), TicksPositions(), TicksPositionsNoOpt(), TicksPositionsOpt(), and ~TGLAxis().
Double_t* TGLAxis::fTicks2 [private] |
Definition at line 38 of file TGLAxis.h.
Referenced by Init(), PaintGLAxisTickMarks(), TicksPositions(), TicksPositionsNoOpt(), TicksPositionsOpt(), and ~TGLAxis().
TString* TGLAxis::fLabels [private] |
Definition at line 39 of file TGLAxis.h.
Referenced by DoLabels(), Init(), PaintGLAxisLabels(), and ~TGLAxis().
Double_t TGLAxis::fAxisLength [private] |
Definition at line 40 of file TGLAxis.h.
Referenced by Init(), PaintGLAxis(), PaintGLAxisBody(), PaintGLAxisLabels(), PaintGLAxisTickMarks(), TicksPositionsNoOpt(), and TicksPositionsOpt().
Double_t TGLAxis::fWmin [private] |
Definition at line 41 of file TGLAxis.h.
Referenced by DoLabels(), Init(), PaintGLAxis(), and TicksPositionsOpt().
Double_t TGLAxis::fWmax [private] |
Definition at line 42 of file TGLAxis.h.
Referenced by DoLabels(), Init(), PaintGLAxis(), and TicksPositionsOpt().
Double_t TGLAxis::fTickMarksLength [private] |
Definition at line 43 of file TGLAxis.h.
Referenced by Init(), PaintGLAxisTickMarks(), and SetTickMarksLength().
Int_t TGLAxis::fTickMarksOrientation [private] |
Definition at line 44 of file TGLAxis.h.
Referenced by Init(), PaintGLAxisLabels(), PaintGLAxisTickMarks(), and SetTickMarksOrientation().
Double_t TGLAxis::fLabelsOffset [private] |
Definition at line 45 of file TGLAxis.h.
Referenced by Init(), PaintGLAxisLabels(), and SetLabelsOffset().
Double_t TGLAxis::fLabelsSize [private] |
Definition at line 46 of file TGLAxis.h.
Referenced by Init(), PaintGLAxisLabels(), and SetLabelsSize().
Double_t TGLAxis::fGridLength [private] |
Definition at line 47 of file TGLAxis.h.
Referenced by Init(), PaintGLAxisTickMarks(), and SetGridLength().
TGLText* TGLAxis::fText [private] |
Double_t TGLAxis::fAngle1 [private] |
Definition at line 49 of file TGLAxis.h.
Referenced by Init(), PaintGLAxisLabels(), and SetLabelsAngles().
Double_t TGLAxis::fAngle2 [private] |
Definition at line 50 of file TGLAxis.h.
Referenced by Init(), PaintGLAxisLabels(), and SetLabelsAngles().
Double_t TGLAxis::fAngle3 [private] |
Definition at line 51 of file TGLAxis.h.
Referenced by Init(), PaintGLAxisLabels(), and SetLabelsAngles().
Double_t* TGLAxis::fTicks1 [private] |
Double_t* TGLAxis::fTicks2 [private] |
TString* TGLAxis::fLabels [private] |
TGLText* TGLAxis::fText [private] |