Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members

GLLocalCoordinateSystem Class Reference

#include <gllocalcoordinatesystem.h>

Inheritance diagram for GLLocalCoordinateSystem:

List of all members.

Public Member Functions

 TYPE_NAME (GLLocalCoordinateSystem)
 GLLocalCoordinateSystem ()
 GLLocalCoordinateSystem (const GLVector &front, const GLVector &up)
 GLLocalCoordinateSystem (const GLLocalCoordinateSystem &)
const GLVectorgetLocalX () const
const GLVectorgetLocalY () const
const GLVectorgetLocalZ () const
void copyLCS (const GLLocalCoordinateSystem *lcs)
void set (const GLVector &front, const GLVector &up)
void set (const GLVector &z, const GLVector &y, const GLVector &x)
virtual void rotate (GLfloat p, GLfloat y, GLfloat r)
GLVector toLocal (const GLVector &v)
GLVector toGlobal (const GLVector &v)
void loadFromStream (std::istream &)
void saveToStream (std::ostream &)
void glRotate (void)
void glRotate (GLfloat t)
 TYPE_NAME (GLLocalCoordinateSystem)
 GLLocalCoordinateSystem ()
 GLLocalCoordinateSystem (const GLVector &front, const GLVector &up)
 GLLocalCoordinateSystem (const GLLocalCoordinateSystem &)
const GLVectorgetLocalX () const
const GLVectorgetLocalY () const
const GLVectorgetLocalZ () const
void copyLCS (const GLLocalCoordinateSystem *lcs)
void set (const GLVector &front, const GLVector &up)
void set (const GLVector &z, const GLVector &y, const GLVector &x)
virtual void rotate (GLfloat p, GLfloat y, GLfloat r)
GLVector toLocal (const GLVector &v)
GLVector toGlobal (const GLVector &v)
void loadFromStream (std::istream &)
void saveToStream (std::ostream &)
void glRotate (void)
void glRotate (GLfloat t)

Static Public Attributes

char startTag [20]
char endTag [20]

Detailed Description

Author:
Jacques Gasselin de Richebourg Encapsulates a local coordinate system aligned along the z-axis


Constructor & Destructor Documentation

GLLocalCoordinateSystem::GLLocalCoordinateSystem  ) 
 

Sets the local coordinate system aligned along the z axis.

GLLocalCoordinateSystem::GLLocalCoordinateSystem const GLVector front,
const GLVector up
 

Sets the local coordinate system aligned along the z (front) axis with y facing up.

GLLocalCoordinateSystem::GLLocalCoordinateSystem  ) 
 

Sets the local coordinate system aligned along the z axis.

GLLocalCoordinateSystem::GLLocalCoordinateSystem const GLVector front,
const GLVector up
 

Sets the local coordinate system aligned along the z (front) axis with y facing up.


Member Function Documentation

void GLLocalCoordinateSystem::glRotate GLfloat  t  ) 
 

Interpolate the rotation of the global coordinate system into the local system, 0 <= t <= 1 .

void GLLocalCoordinateSystem::glRotate void   ) 
 

Rotate the global coordinate system into the local system.

void GLLocalCoordinateSystem::glRotate GLfloat  t  ) 
 

Interpolate the rotation of the global coordinate system into the local system, 0 <= t <= 1 .

void GLLocalCoordinateSystem::glRotate void   ) 
 

Rotate the global coordinate system into the local system.

virtual void GLLocalCoordinateSystem::rotate GLfloat  p,
GLfloat  y,
GLfloat  r
[virtual]
 

Rotate the local system

virtual void GLLocalCoordinateSystem::rotate GLfloat  p,
GLfloat  y,
GLfloat  r
[virtual]
 

Rotate the local system

void GLLocalCoordinateSystem::set const GLVector z,
const GLVector y,
const GLVector x
 

Sets the local coordinate system. WARNING... make sure the vectors are orthogonal ...!

void GLLocalCoordinateSystem::set const GLVector front,
const GLVector up
 

Sets the local coordinate system aligned along the z (front) axis with y facing up.

void GLLocalCoordinateSystem::set const GLVector z,
const GLVector y,
const GLVector x
 

Sets the local coordinate system. WARNING... make sure the vectors are orthogonal ...!

void GLLocalCoordinateSystem::set const GLVector front,
const GLVector up
 

Sets the local coordinate system aligned along the z (front) axis with y facing up.

GLVector GLLocalCoordinateSystem::toGlobal const GLVector v  )  [inline]
 

Convert a local vector to a global vector

GLVector GLLocalCoordinateSystem::toGlobal const GLVector v  )  [inline]
 

Convert a local vector to a global vector

GLVector GLLocalCoordinateSystem::toLocal const GLVector v  )  [inline]
 

Convert a global vector to a local vector

GLVector GLLocalCoordinateSystem::toLocal const GLVector v  )  [inline]
 

Convert a global vector to a local vector


The documentation for this class was generated from the following files:
Generated on Wed Feb 4 23:11:34 2004 by doxygen 1.3.3