Public Member Functions | Private Member Functions | Private Attributes
TrackBall Class Reference

#include <trackball.h>

List of all members.

Public Member Functions

void getRotationMatrix (float(&rot)[MATRIX_SIZE])
TrackBalloperator= (const TrackBall &rhs)
void reset ()
void start (int s_x, int s_y)
 TrackBall ()
 TrackBall (const TrackBall &copy)
void update (int s_x, int s_y)
 ~TrackBall ()

Private Member Functions

void getPointFromScreenPoint (int s_x, int s_y, float &x, float &y, float &z)

Private Attributes

float origin_x_
 the original mouse screen coordinates converted to a 3d point
float origin_y_
float origin_z_
boost::math::quaternion< float > quat_
 the quaternion representing the current orientation of the trackball
float radius_sqr_
 the radius of the trackball squared

Detailed Description

Definition at line 47 of file trackball.h.


Constructor & Destructor Documentation

Definition at line 46 of file trackball.cpp.

TrackBall::TrackBall ( const TrackBall copy)

Definition at line 52 of file trackball.cpp.

Definition at line 59 of file trackball.cpp.


Member Function Documentation

void TrackBall::getPointFromScreenPoint ( int  s_x,
int  s_y,
float &  x,
float &  y,
float &  z 
) [private]

Definition at line 223 of file trackball.cpp.

void TrackBall::getRotationMatrix ( float(&)  rot[MATRIX_SIZE])

Definition at line 177 of file trackball.cpp.

TrackBall & TrackBall::operator= ( const TrackBall rhs)

Definition at line 65 of file trackball.cpp.

void TrackBall::reset ( )

Definition at line 217 of file trackball.cpp.

void TrackBall::start ( int  s_x,
int  s_y 
)

Definition at line 76 of file trackball.cpp.

void TrackBall::update ( int  s_x,
int  s_y 
)

Definition at line 136 of file trackball.cpp.


Member Data Documentation

float TrackBall::origin_x_ [private]

the original mouse screen coordinates converted to a 3d point

Definition at line 72 of file trackball.h.

float TrackBall::origin_y_ [private]

Definition at line 72 of file trackball.h.

float TrackBall::origin_z_ [private]

Definition at line 72 of file trackball.h.

boost::math::quaternion<float> TrackBall::quat_ [private]

the quaternion representing the current orientation of the trackball

Definition at line 69 of file trackball.h.

float TrackBall::radius_sqr_ [private]

the radius of the trackball squared

Definition at line 75 of file trackball.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:54