Implements the arc-ball rotation manipulator.
Used by plot-painters.
Arcball sphere constants:
Definition at line 19 of file TArcBall.h.
Public Member Functions | |
| TArcBall (UInt_t NewWidth=100, UInt_t NewHeight=100) | |
| constructor More... | |
| virtual | ~TArcBall () |
| void | Click (const TPoint &NewPt) |
| Mouse down. More... | |
| void | Drag (const TPoint &NewPt) |
| Mouse drag, calculate rotation. More... | |
| const Double_t * | GetRotMatrix () const |
| void | SetBounds (UInt_t NewWidth, UInt_t NewHeight) |
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 | fAdjustHeight |
| Double_t | fAdjustWidth |
| Double_t | fEnVec [3] |
| Double_t | fLastRot [9] |
| Double_t | fStVec [3] |
| Double_t | fThisRot [9] |
| Double_t | fTransform [16] |
#include <TArcBall.h>
|
private |
constructor
Definition at line 236 of file TArcBall.cxx.
|
inlinevirtual |
Definition at line 36 of file TArcBall.h.
Mouse down.
Definition at line 249 of file TArcBall.cxx.
Mouse drag, calculate rotation.
Definition at line 260 of file TArcBall.cxx.
|
inline |
Definition at line 47 of file TArcBall.h.
map to sphere
Definition at line 210 of file TArcBall.cxx.
|
private |
Set rotation matrix as union.
Definition at line 287 of file TArcBall.cxx.
Definition at line 38 of file TArcBall.h.
|
private |
Definition at line 27 of file TArcBall.h.
|
private |
Definition at line 26 of file TArcBall.h.
|
private |
Definition at line 25 of file TArcBall.h.
|
private |
Definition at line 22 of file TArcBall.h.
|
private |
Definition at line 24 of file TArcBall.h.
|
private |
Definition at line 21 of file TArcBall.h.
|
private |
Definition at line 23 of file TArcBall.h.