Derm.Render.Quaternion Struct Reference

Quaternion. More...

List of all members.

Public Member Functions

 Quaternion (Vertex3f rVector, float rAngle)
 Quaternion constructor from euler rotation axis and rotation angle.
 Quaternion (Vertex3f rVector)
 Construct a Quaternion from rotation Euler axis.
void Conjugate ()
 Conjugate this Quaternion.
void Normalize ()
 Normalize this Quaternion.
override string ToString ()
 Stringify this Quaternion.

Static Public Member Functions

static operator ModelMatrix (Quaternion q)
static Quaternion operator* (Quaternion q1, Quaternion q2)
 Quaternion multiplication.

Properties

float EulerAngle [get, set]
 Quaternion rotation angle.
Vertex3f EulerAxisAngles [get, set]
 Quaternion rotation angles on Euler axis.
Vertex3f EulerVector [get, set]
 Quaternion direction vector.
float Magnitude [get]
 Compute this Quaternion magnitude.

Detailed Description

Quaternion.

Quaternion are used to represents a rotation in a three-dimensional space.

Theory links:


Constructor & Destructor Documentation

Derm.Render.Quaternion.Quaternion ( Vertex3f  rVector  ) 

Construct a Quaternion from rotation Euler axis.

Parameters:
rVector A Vertex3f representing the rotation angles (in radians) on Euler axis.
Derm.Render.Quaternion.Quaternion ( Vertex3f  rVector,
float  rAngle 
)

Quaternion constructor from euler rotation axis and rotation angle.

Parameters:
rVector A Vertex3f representing the rotation axis.
rAngle A System.Float representing the rotation angle (in radians).

This constructor is the base implementation for each other constructor.


Member Function Documentation

void Derm.Render.Quaternion.Conjugate (  ) 

Conjugate this Quaternion.

void Derm.Render.Quaternion.Normalize (  ) 

Normalize this Quaternion.

static Derm.Render.Quaternion.operator ModelMatrix ( Quaternion  q  )  [explicit, static]
Parameters:
q A Quaternion to be casted to ModelMatrix.
Returns:
It returns ModelMatrix representing the equivalent rotation matrix.
static Quaternion Derm.Render.Quaternion.operator* ( Quaternion  q1,
Quaternion  q2 
) [static]

Quaternion multiplication.

Parameters:
q1 A Quaternion representing the left multiplication operand.
q2 A Quaternion representing the right multiplication operand.
Returns:
It returns the multiplication between two quaternions.
override string Derm.Render.Quaternion.ToString (  ) 

Stringify this Quaternion.

Returns:
Returns a System.String that represents this Quaternion.

Property Documentation

float Derm.Render.Quaternion.EulerAngle [get, set]

Quaternion rotation angle.

Vertex3f Derm.Render.Quaternion.EulerAxisAngles [get, set]

Quaternion rotation angles on Euler axis.

Vertex3f Derm.Render.Quaternion.EulerVector [get, set]

Quaternion direction vector.

float Derm.Render.Quaternion.Magnitude [get]

Compute this Quaternion magnitude.



Services powered by Get Deus Ex Render Machina at SourceForge.net. Fast, secure and Free Open Source software downloads