TGLAxis Class Reference

#include <TGLAxis.h>

Inheritance diagram for TGLAxis:

TAttLine TAttText TAttLine TAttText List of all members.

Public Member Functions

 TGLAxis ()
virtual ~TGLAxis ()
void PaintGLAxis (const Double_t p1[3], const Double_t p2[3], Double_t wmin, Double_t wmax, Int_t ndiv, Option_t *opt="")
void Init ()
void PaintGLAxisBody ()
void PaintGLAxisTickMarks ()
void PaintGLAxisLabels ()
void TicksPositions (Option_t *opt="")
void TicksPositionsNoOpt ()
void TicksPositionsOpt ()
void DoLabels ()
void SetTickMarksLength (Double_t length)
void SetTickMarksOrientation (Int_t tmo)
void SetLabelsOffset (Double_t offset)
void SetLabelsSize (Double_t size)
void SetGridLength (Double_t grid)
void SetLabelsAngles (Double_t a1, Double_t a2, Double_t a3)
 TGLAxis ()
virtual ~TGLAxis ()
void PaintGLAxis (const Double_t p1[3], const Double_t p2[3], Double_t wmin, Double_t wmax, Int_t ndiv, Option_t *opt="")
void Init ()
void PaintGLAxisBody ()
void PaintGLAxisTickMarks ()
void PaintGLAxisLabels ()
void TicksPositions (Option_t *opt="")
void TicksPositionsNoOpt ()
void TicksPositionsOpt ()
void DoLabels ()
void SetTickMarksLength (Double_t length)
void SetTickMarksOrientation (Int_t tmo)
void SetLabelsOffset (Double_t offset)
void SetLabelsSize (Double_t size)
void SetGridLength (Double_t grid)
void SetLabelsAngles (Double_t a1, Double_t a2, Double_t a3)

Private Member Functions

 TGLAxis (const TGLAxis &)
TGLAxisoperator= (const TGLAxis &)
 TGLAxis (const TGLAxis &)
TGLAxisoperator= (const TGLAxis &)

Private Attributes

Int_t fNDiv
Int_t fNDiv1
Int_t fNDiv2
Int_t fNDiv3
Int_t fNTicks1
Int_t fNTicks2
Double_tfTicks1
Double_tfTicks2
TStringfLabels
Double_t fAxisLength
Double_t fWmin
Double_t fWmax
Double_t fTickMarksLength
Int_t fTickMarksOrientation
Double_t fLabelsOffset
Double_t fLabelsSize
Double_t fGridLength
TGLTextfText
Double_t fAngle1
Double_t fAngle2
Double_t fAngle3
Double_tfTicks1
Double_tfTicks2
TStringfLabels
TGLTextfText

Detailed Description

Definition at line 26 of file TGLAxis.h.


Constructor & Destructor Documentation

TGLAxis::TGLAxis ( const TGLAxis  )  [private]

TGLAxis::TGLAxis (  ) 

TGLAxis::~TGLAxis (  )  [virtual]

Definition at line 65 of file TGLAxis.cxx.

References fLabels, fText, fTicks1, and fTicks2.

TGLAxis::TGLAxis ( const TGLAxis  )  [private]

TGLAxis::TGLAxis (  ) 

virtual TGLAxis::~TGLAxis (  )  [virtual]


Member Function Documentation

TGLAxis& TGLAxis::operator= ( const TGLAxis  )  [private]

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]

Definition at line 68 of file TGLAxis.h.

References fTickMarksLength.

void TGLAxis::SetTickMarksOrientation ( Int_t  tmo  )  [inline]

Definition at line 69 of file TGLAxis.h.

References fTickMarksOrientation.

void TGLAxis::SetLabelsOffset ( Double_t  offset  )  [inline]

Definition at line 70 of file TGLAxis.h.

References fLabelsOffset.

void TGLAxis::SetLabelsSize ( Double_t  size  )  [inline]

Definition at line 71 of file TGLAxis.h.

References fLabelsSize.

void TGLAxis::SetGridLength ( Double_t  grid  )  [inline]

Definition at line 72 of file TGLAxis.h.

References fGridLength.

void TGLAxis::SetLabelsAngles ( Double_t  a1,
Double_t  a2,
Double_t  a3 
)

Definition at line 454 of file TGLAxis.cxx.

References fAngle1, fAngle2, and fAngle3.

TGLAxis& TGLAxis::operator= ( const TGLAxis  )  [private]

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]

Definition at line 68 of file TGLAxis.h.

References fTickMarksLength.

void TGLAxis::SetTickMarksOrientation ( Int_t  tmo  )  [inline]

Definition at line 69 of file TGLAxis.h.

References fTickMarksOrientation.

void TGLAxis::SetLabelsOffset ( Double_t  offset  )  [inline]

Definition at line 70 of file TGLAxis.h.

References fLabelsOffset.

void TGLAxis::SetLabelsSize ( Double_t  size  )  [inline]

Definition at line 71 of file TGLAxis.h.

References fLabelsSize.

void TGLAxis::SetGridLength ( Double_t  grid  )  [inline]

Definition at line 72 of file TGLAxis.h.

References fGridLength.

void TGLAxis::SetLabelsAngles ( Double_t  a1,
Double_t  a2,
Double_t  a3 
)


Member Data Documentation

Int_t TGLAxis::fNDiv [private]

Definition at line 31 of file TGLAxis.h.

Referenced by Init(), PaintGLAxis(), and TicksPositions().

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]

Definition at line 34 of file TGLAxis.h.

Referenced by Init(), and TicksPositions().

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]

Definition at line 48 of file TGLAxis.h.

Referenced by Init(), PaintGLAxisLabels(), and ~TGLAxis().

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]

Definition at line 37 of file TGLAxis.h.

Double_t* TGLAxis::fTicks2 [private]

Definition at line 38 of file TGLAxis.h.

TString* TGLAxis::fLabels [private]

Definition at line 39 of file TGLAxis.h.

TGLText* TGLAxis::fText [private]

Definition at line 48 of file TGLAxis.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:39:56 2011 for ROOT_528-00b_version by  doxygen 1.5.1