glotzopengl::Trackball Class Reference

#include <Trackball.h>

List of all members.

Public Member Functions

 Trackball ()
 ~Trackball ()
void Start (int x, int y, int originX, int originY, int width, int height)
void Roll (long x, long y, float rot[4])
void AddToRotation (float *dA, float *A)
void SetDirection (int)
GLfloat * GetWorldRotation ()
GLfloat * GetRotation ()

Private Attributes

int mDirection
float mRadius
float mStartPoint [3]
float mEndPoint [3]
long mCenterX
long mCenterY
GLfloat mRotation [4]
GLfloat mWorldRotation [4]


Constructor & Destructor Documentation

glotzopengl::Trackball::Trackball (  ) 

glotzopengl::Trackball::~Trackball (  ) 


Member Function Documentation

void glotzopengl::Trackball::Start ( int  x,
int  y,
int  originX,
int  originY,
int  width,
int  height 
)

void glotzopengl::Trackball::Roll ( long  x,
long  y,
float  rot[4] 
)

void glotzopengl::Trackball::AddToRotation ( float *  dA,
float *  A 
)

void glotzopengl::Trackball::SetDirection ( int  d  ) 

GLfloat * glotzopengl::Trackball::GetWorldRotation (  ) 

GLfloat * glotzopengl::Trackball::GetRotation (  ) 


Member Data Documentation

int glotzopengl::Trackball::mDirection [private]

float glotzopengl::Trackball::mRadius [private]

float glotzopengl::Trackball::mStartPoint[3] [private]

float glotzopengl::Trackball::mEndPoint[3] [private]

long glotzopengl::Trackball::mCenterX [private]

long glotzopengl::Trackball::mCenterY [private]

GLfloat glotzopengl::Trackball::mRotation[4] [private]

GLfloat glotzopengl::Trackball::mWorldRotation[4] [private]


The documentation for this class was generated from the following files:
Generated on Tue Feb 24 20:54:46 2009 by  doxygen 1.5.3