RavEngine
Loading...
Searching...
No Matches
Trackball Class Reference
Collaboration diagram for Trackball:
[legend]

Public Types

enum  Mode { Around , Local }
 

Public Member Functions

void start (Mode m=Around)
 
void setCamera (Camera *pCam)
 
void track (const Eigen::Vector2i &newPoint2D)
 

Protected Member Functions

bool mapToSphere (const Eigen::Vector2i &p2, Eigen::Vector3f &v3)
 

Protected Attributes

Camera * mpCamera
 
Eigen::Vector3f mLastPoint3D
 
Mode mMode
 
bool mLastPointOk
 

The documentation for this class was generated from the following files: