Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
Trackball Class Reference

#include <trackball.h>

List of all members.

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
CamerampCamera

Detailed Description

Definition at line 32 of file trackball.h.


Member Enumeration Documentation

Enumerator:
Around 
Local 

Definition at line 36 of file trackball.h.


Constructor & Destructor Documentation

Trackball::Trackball ( ) [inline]

Definition at line 38 of file trackball.h.


Member Function Documentation

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.


Member Data Documentation

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.

Definition at line 50 of file trackball.h.


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


libicr
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:34:29