#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 32 of file trackball.h.
enum Trackball::Mode |
Definition at line 36 of file trackball.h.
Trackball::Trackball | ( | ) | [inline] |
Definition at line 38 of file trackball.h.
bool Trackball::mapToSphere | ( | const Eigen::Vector2i & | p2, |
Eigen::Vector3f & | v3 | ||
) | [protected] |
Definition at line 55 of file trackball.cpp.
void Trackball::setCamera | ( | Camera * | pCam | ) | [inline] |
Definition at line 42 of file trackball.h.
void Trackball::start | ( | Mode | m = Around | ) | [inline] |
Definition at line 40 of file trackball.h.
void Trackball::track | ( | const Eigen::Vector2i & | newPoint2D | ) |
Definition at line 30 of file trackball.cpp.
Eigen::Vector3f Trackball::mLastPoint3D [protected] |
Definition at line 51 of file trackball.h.
bool Trackball::mLastPointOk [protected] |
Definition at line 53 of file trackball.h.
Mode Trackball::mMode [protected] |
Definition at line 52 of file trackball.h.
Camera* Trackball::mpCamera [protected] |
Definition at line 50 of file trackball.h.