#include <trackball.h>
Public Types | |
| enum | Mode { Around, Local } |
Public Member Functions | |
| void | setCamera (Camera *pCam) |
| void | start (Mode m=Around) |
| void | track (const Eigen::Vector2i &newPoint2D) |
| Trackball () | |
Protected Member Functions | |
| bool | mapToSphere (const Eigen::Vector2i &p2, Eigen::Vector3f &v3) |
Protected Attributes | |
| Eigen::Vector3f | mLastPoint3D |
| bool | mLastPointOk |
| Mode | mMode |
| Camera * | mpCamera |
Definition at line 17 of file trackball.h.
| enum Trackball::Mode |
| Enumerator | |
|---|---|
| Around | |
| Local | |
Definition at line 21 of file trackball.h.
|
inline |
Definition at line 23 of file trackball.h.
|
protected |
Definition at line 40 of file trackball.cpp.
|
inline |
Definition at line 27 of file trackball.h.
Definition at line 25 of file trackball.h.
| void Trackball::track | ( | const Eigen::Vector2i & | newPoint2D | ) |
Definition at line 15 of file trackball.cpp.
|
protected |
Definition at line 36 of file trackball.h.
|
protected |
Definition at line 38 of file trackball.h.
|
protected |
Definition at line 37 of file trackball.h.
|
protected |
Definition at line 35 of file trackball.h.