#include <TArcBall.h>
Public Member Functions | |
| TArcBall (UInt_t NewWidth=100, UInt_t NewHeight=100) | |
| virtual | ~TArcBall () |
| void | SetBounds (UInt_t NewWidth, UInt_t NewHeight) |
| void | Click (const TPoint &NewPt) |
| void | Drag (const TPoint &NewPt) |
| const Double_t * | GetRotMatrix () const |
| TArcBall (UInt_t NewWidth=100, UInt_t NewHeight=100) | |
| virtual | ~TArcBall () |
| void | SetBounds (UInt_t NewWidth, UInt_t NewHeight) |
| void | Click (const TPoint &NewPt) |
| void | Drag (const TPoint &NewPt) |
| const Double_t * | GetRotMatrix () const |
Protected Member Functions | |
| void | MapToSphere (const TPoint &NewPt, Double_t *NewVec) const |
| void | MapToSphere (const TPoint &NewPt, Double_t *NewVec) const |
Private Member Functions | |
| TArcBall (const TArcBall &) | |
| TArcBall & | operator= (const TArcBall &) |
| void | ResetMatrices () |
| TArcBall (const TArcBall &) | |
| TArcBall & | operator= (const TArcBall &) |
| void | ResetMatrices () |
Private Attributes | |
| Double_t | fThisRot [9] |
| Double_t | fLastRot [9] |
| Double_t | fTransform [16] |
| Double_t | fStVec [3] |
| Double_t | fEnVec [3] |
| Double_t | fAdjustWidth |
| Double_t | fAdjustHeight |
Definition at line 21 of file TArcBall.h.
| TArcBall::TArcBall | ( | const TArcBall & | ) | [private] |
| virtual TArcBall::~TArcBall | ( | ) | [inline, virtual] |
Definition at line 38 of file TArcBall.h.
| TArcBall::TArcBall | ( | const TArcBall & | ) | [private] |
| virtual TArcBall::~TArcBall | ( | ) | [inline, virtual] |
Definition at line 38 of file TArcBall.h.
| void TArcBall::ResetMatrices | ( | ) | [private] |
Definition at line 40 of file TArcBall.h.
References fAdjustHeight, and fAdjustWidth.
Referenced by TGLPlotCamera::SetViewport().
| void TArcBall::Click | ( | const TPoint & | NewPt | ) |
Definition at line 230 of file TArcBall.cxx.
References fLastRot, fStVec, fThisRot, i, and MapToSphere().
Referenced by TGLPlotCamera::StartRotation().
| void TArcBall::Drag | ( | const TPoint & | NewPt | ) |
Definition at line 240 of file TArcBall.cxx.
References Epsilon, fEnVec, fLastRot, fStVec, fThisRot, fTransform, and MapToSphere().
Referenced by TGLPlotCamera::RotateCamera().
| const Double_t* TArcBall::GetRotMatrix | ( | ) | const [inline] |
Definition at line 49 of file TArcBall.h.
References fTransform.
Referenced by TGLPlotCamera::Apply().
| void TArcBall::ResetMatrices | ( | ) | [private] |
| void TArcBall::Click | ( | const TPoint & | NewPt | ) |
| void TArcBall::Drag | ( | const TPoint & | NewPt | ) |
| const Double_t* TArcBall::GetRotMatrix | ( | ) | const [inline] |
Double_t TArcBall::fThisRot [private] |
Double_t TArcBall::fLastRot [private] |
Double_t TArcBall::fTransform [private] |
Definition at line 25 of file TArcBall.h.
Referenced by Drag(), GetRotMatrix(), and ResetMatrices().
Double_t TArcBall::fStVec [private] |
Double_t TArcBall::fEnVec [private] |
Double_t TArcBall::fAdjustWidth [private] |
Double_t TArcBall::fAdjustHeight [private] |
1.5.1