![]() |
ROOT
6.06/09
Reference Guide
|
Implements the arc-ball rotation manipulator.
Used by plot-painters.
Arcball sphere constants:
Definition at line 21 of file TArcBall.h.
Public Member Functions | |
| TArcBall (UInt_t NewWidth=100, UInt_t NewHeight=100) | |
| constructor More... | |
| virtual | ~TArcBall () |
| void | SetBounds (UInt_t NewWidth, UInt_t NewHeight) |
| void | Click (const TPoint &NewPt) |
| Mouse down. More... | |
| void | Drag (const TPoint &NewPt) |
| Mouse drag, calculate rotation. More... | |
| const Double_t * | GetRotMatrix () const |
Protected Member Functions | |
| void | MapToSphere (const TPoint &NewPt, Double_t *NewVec) const |
| map to sphere More... | |
Private Member Functions | |
| TArcBall (const TArcBall &) | |
| TArcBall & | operator= (const TArcBall &) |
| void | ResetMatrices () |
| Set rotation matrix as union. More... | |
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 |
#include <TArcBall.h>
|
private |
constructor
Definition at line 236 of file TArcBall.cxx.
|
inlinevirtual |
Definition at line 38 of file TArcBall.h.
Mouse down.
Definition at line 249 of file TArcBall.cxx.
Referenced by TGLPlotCamera::StartRotation().
Mouse drag, calculate rotation.
Definition at line 260 of file TArcBall.cxx.
Referenced by TGLPlotCamera::RotateCamera().
|
inline |
Definition at line 49 of file TArcBall.h.
Referenced by TGLPlotCamera::Apply().
|
private |
Set rotation matrix as union.
Definition at line 287 of file TArcBall.cxx.
Referenced by TArcBall().
Definition at line 40 of file TArcBall.h.
Referenced by TGLPlotCamera::SetViewport(), and TArcBall().
|
private |
Definition at line 29 of file TArcBall.h.
Referenced by MapToSphere().
|
private |
Definition at line 28 of file TArcBall.h.
Referenced by MapToSphere().
|
private |
Definition at line 27 of file TArcBall.h.
Referenced by Drag().
|
private |
Definition at line 24 of file TArcBall.h.
Referenced by Click(), Drag(), and ResetMatrices().
|
private |
Definition at line 26 of file TArcBall.h.
|
private |
Definition at line 23 of file TArcBall.h.
Referenced by Click(), Drag(), and ResetMatrices().
|
private |
Definition at line 25 of file TArcBall.h.
Referenced by Drag(), GetRotMatrix(), and ResetMatrices().