O3D_Quaternion Class Reference

General purpose Quaternion class for camera and object rotations. More...

#import <O3D_Quaternion.h>

List of all members.

Public Member Functions

(id) - initFromAxis:angle:
 Creates a normalized Quaternion on the specified axis with the specified angle.
(id) - initWithQuaternion:
 Copy a Quaternion.
(O3D_Matrix *) - matrix
 Creates an autoreleased matrix representing the receiver.
(NSDictionary *) - axisAngle
 generates a Dictionary cotaining an axis / angle pair for the receiver. Keys "axis" and "angle"
(O3D_Vector3 *) - vectorX
 Creates an autoreleased vector representing the X axis of the receiver.
(O3D_Vector3 *) - vectorY
 Creates an autoreleased vector representing the Y axis of the receiver.
(O3D_Vector3 *) - vectorZ
 Creates an autoreleased vector representing the Z axis of the receiver.
(void) - invert
 Inverts the receiver.
(void) - normalize
 Normalizes the receiver.
(void) - multiplyByQuaternion:
 Multiplies the receiver by the argument Quaternion.
(void) - rotateWithAxis:angle:
 Rotates the receiver on the specified axis by the specified amount.

Static Public Member Functions

(O3D_Quaternion *) + quaternion
 Autoreleased Quaternion.
(O3D_Quaternion *) + quaternionWithQuaternion:
 Autoreleased copied Quaternion.
(O3D_Quaternion *) + quaternionFromAxis:angle:
 Autoreleased Quaternion on the specified axis with the specified angle.

Properties

float x
float y
float z
float w


Detailed Description

General purpose Quaternion class for camera and object rotations.
The documentation for this class was generated from the following files:

Generated on Wed Jun 10 23:48:30 2009 for Objective 3D by  doxygen 1.5.9