#include <TGLAutoRotator.h>
Inheritance diagram for TGLAutoRotator:
Definition at line 22 of file TGLAutoRotator.h.
TGLAutoRotator::TGLAutoRotator | ( | const TGLAutoRotator & | ) | [private] |
TGLAutoRotator::TGLAutoRotator | ( | TGLViewer * | v | ) |
TGLAutoRotator::~TGLAutoRotator | ( | ) | [virtual] |
TGLAutoRotator::TGLAutoRotator | ( | const TGLAutoRotator & | ) | [private] |
TGLAutoRotator::TGLAutoRotator | ( | TGLViewer * | v | ) |
virtual TGLAutoRotator::~TGLAutoRotator | ( | ) | [virtual] |
TGLAutoRotator& TGLAutoRotator::operator= | ( | const TGLAutoRotator & | ) | [private] |
TGLCamera* TGLAutoRotator::GetCamera | ( | ) | const [inline] |
Definition at line 46 of file TGLAutoRotator.h.
References fCamera.
Referenced by TGLViewer::SetCurrentCamera().
void TGLAutoRotator::Start | ( | ) |
Definition at line 102 of file TGLAutoRotator.cxx.
References TGLViewer::CurrentCamera(), fADolly, fATheta, fCamera, fDollyA0, fDt, fThetaA0, fTimer, fTimerRunning, fViewer, fWatch, TGLMatrix::GetBaseVec(), TGLCamera::GetCamTrans(), kTRUE, TGLVector3::Mag(), TMath::Nint(), TMath::PiOver2(), TTimer::Reset(), TTimer::SetTime(), TStopwatch::Start(), Stop(), and TTimer::TurnOn().
Referenced by TGLViewerEditor::DoRotatorStart(), and TGLViewer::SetCurrentCamera().
void TGLAutoRotator::Stop | ( | ) |
Definition at line 122 of file TGLAutoRotator.cxx.
References fTimer, fTimerRunning, fWatch, kFALSE, TStopwatch::Stop(), and TTimer::TurnOff().
Referenced by TGLViewerEditor::DoRotatorStop(), TGLViewer::SetCurrentCamera(), and Start().
void TGLAutoRotator::Timeout | ( | ) |
Definition at line 133 of file TGLAutoRotator.cxx.
References TStopwatch::Continue(), TMath::Cos(), TObject::Error(), fCamera, fDollyA0, fDt, fThetaA0, fTimer, fTimerRunning, fViewer, fWatch, fWDolly, fWPhi, fWTheta, TGLCamera::GetTheta(), gTQSender, TGLRnrCtx::kLODHigh, TGLMatrix::MoveLF(), TStopwatch::RealTime(), TGLCamera::RefCamTrans(), TGLViewer::RequestDraw(), TGLCamera::RotateRad(), and TStopwatch::Stop().
Bool_t TGLAutoRotator::IsRunning | ( | ) | const [inline] |
Definition at line 57 of file TGLAutoRotator.h.
References fTimerRunning.
Referenced by TGLViewer::SetCurrentCamera().
Double_t TGLAutoRotator::GetDt | ( | ) | const [inline] |
void TGLAutoRotator::SetDt | ( | Double_t | dt | ) |
Definition at line 58 of file TGLAutoRotator.cxx.
References fDt, fTimer, fTimerRunning, TMath::Nint(), TMath::Range(), TTimer::Reset(), and TTimer::SetTime().
Double_t TGLAutoRotator::GetWPhi | ( | ) | const [inline] |
void TGLAutoRotator::SetWPhi | ( | Double_t | w | ) | [inline] |
Double_t TGLAutoRotator::GetWTheta | ( | ) | const [inline] |
void TGLAutoRotator::SetWTheta | ( | Double_t | w | ) | [inline] |
Double_t TGLAutoRotator::GetATheta | ( | ) | const [inline] |
void TGLAutoRotator::SetATheta | ( | Double_t | a | ) |
Definition at line 72 of file TGLAutoRotator.cxx.
References fATheta, fThetaA0, fTimerRunning, and TMath::Range().
Double_t TGLAutoRotator::GetWDolly | ( | ) | const [inline] |
void TGLAutoRotator::SetWDolly | ( | Double_t | w | ) | [inline] |
Double_t TGLAutoRotator::GetADolly | ( | ) | const [inline] |
void TGLAutoRotator::SetADolly | ( | Double_t | a | ) |
Definition at line 86 of file TGLAutoRotator.cxx.
References fADolly, fDollyA0, fTimerRunning, and TMath::Range().
TGLAutoRotator::ClassDef | ( | TGLAutoRotator | , | |
0 | ||||
) |
TGLAutoRotator& TGLAutoRotator::operator= | ( | const TGLAutoRotator & | ) | [private] |
TGLCamera* TGLAutoRotator::GetCamera | ( | ) | const [inline] |
void TGLAutoRotator::Start | ( | ) |
void TGLAutoRotator::Stop | ( | ) |
void TGLAutoRotator::Timeout | ( | ) |
Bool_t TGLAutoRotator::IsRunning | ( | ) | const [inline] |
Double_t TGLAutoRotator::GetDt | ( | ) | const [inline] |
void TGLAutoRotator::SetDt | ( | Double_t | dt | ) |
Double_t TGLAutoRotator::GetWPhi | ( | ) | const [inline] |
void TGLAutoRotator::SetWPhi | ( | Double_t | w | ) | [inline] |
Double_t TGLAutoRotator::GetWTheta | ( | ) | const [inline] |
void TGLAutoRotator::SetWTheta | ( | Double_t | w | ) | [inline] |
Double_t TGLAutoRotator::GetATheta | ( | ) | const [inline] |
void TGLAutoRotator::SetATheta | ( | Double_t | a | ) |
Double_t TGLAutoRotator::GetWDolly | ( | ) | const [inline] |
void TGLAutoRotator::SetWDolly | ( | Double_t | w | ) | [inline] |
Double_t TGLAutoRotator::GetADolly | ( | ) | const [inline] |
void TGLAutoRotator::SetADolly | ( | Double_t | a | ) |
TGLAutoRotator::ClassDef | ( | TGLAutoRotator | , | |
0 | ||||
) |
TGLViewer* TGLAutoRotator::fViewer [protected] |
TGLCamera* TGLAutoRotator::fCamera [protected] |
TTimer* TGLAutoRotator::fTimer [protected] |
Definition at line 31 of file TGLAutoRotator.h.
Referenced by SetDt(), Start(), Stop(), TGLAutoRotator(), Timeout(), and ~TGLAutoRotator().
TStopwatch* TGLAutoRotator::fWatch [protected] |
Definition at line 32 of file TGLAutoRotator.h.
Referenced by Start(), Stop(), Timeout(), and ~TGLAutoRotator().
Double_t TGLAutoRotator::fDt [protected] |
Double_t TGLAutoRotator::fWPhi [protected] |
Double_t TGLAutoRotator::fWTheta [protected] |
Definition at line 36 of file TGLAutoRotator.h.
Referenced by GetWTheta(), SetWTheta(), and Timeout().
Double_t TGLAutoRotator::fATheta [protected] |
Definition at line 36 of file TGLAutoRotator.h.
Referenced by GetATheta(), SetATheta(), and Start().
Double_t TGLAutoRotator::fWDolly [protected] |
Definition at line 37 of file TGLAutoRotator.h.
Referenced by GetWDolly(), SetWDolly(), and Timeout().
Double_t TGLAutoRotator::fADolly [protected] |
Definition at line 37 of file TGLAutoRotator.h.
Referenced by GetADolly(), SetADolly(), and Start().
Double_t TGLAutoRotator::fThetaA0 [protected] |
Double_t TGLAutoRotator::fDollyA0 [protected] |
Bool_t TGLAutoRotator::fTimerRunning [protected] |
Definition at line 40 of file TGLAutoRotator.h.
Referenced by IsRunning(), SetADolly(), SetATheta(), SetDt(), Start(), Stop(), and Timeout().
TGLViewer* TGLAutoRotator::fViewer [protected] |
Definition at line 29 of file TGLAutoRotator.h.
TGLCamera* TGLAutoRotator::fCamera [protected] |
Definition at line 30 of file TGLAutoRotator.h.
TTimer* TGLAutoRotator::fTimer [protected] |
Definition at line 31 of file TGLAutoRotator.h.
TStopwatch* TGLAutoRotator::fWatch [protected] |
Definition at line 32 of file TGLAutoRotator.h.