#include <gllocalcoordinatesystem.h>
Inheritance diagram for GLLocalCoordinateSystem:
Public Member Functions | |
TYPE_NAME (GLLocalCoordinateSystem) | |
GLLocalCoordinateSystem () | |
GLLocalCoordinateSystem (const GLVector &front, const GLVector &up) | |
GLLocalCoordinateSystem (const GLLocalCoordinateSystem &) | |
const GLVector & | getLocalX () const |
const GLVector & | getLocalY () const |
const GLVector & | getLocalZ () 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 GLVector & | getLocalX () const |
const GLVector & | getLocalY () const |
const GLVector & | getLocalZ () 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] |
|
Sets the local coordinate system aligned along the z axis. |
|
Sets the local coordinate system aligned along the z (front) axis with y facing up. |
|
Sets the local coordinate system aligned along the z axis. |
|
Sets the local coordinate system aligned along the z (front) axis with y facing up. |
|
Interpolate the rotation of the global coordinate system into the local system, 0 <= t <= 1 . |
|
Rotate the global coordinate system into the local system. |
|
Interpolate the rotation of the global coordinate system into the local system, 0 <= t <= 1 . |
|
Rotate the global coordinate system into the local system. |
|
Rotate the local system |
|
Rotate the local system |
|
Sets the local coordinate system. WARNING... make sure the vectors are orthogonal ...! |
|
Sets the local coordinate system aligned along the z (front) axis with y facing up. |
|
Sets the local coordinate system. WARNING... make sure the vectors are orthogonal ...! |
|
Sets the local coordinate system aligned along the z (front) axis with y facing up. |
|
Convert a local vector to a global vector |
|
Convert a local vector to a global vector |
|
Convert a global vector to a local vector |
|
Convert a global vector to a local vector |