#include <kfbxquaternion.h>
Definition at line 58 of file kfbxquaternion.h.
Constructors and Destructor | |
| KFbxQuaternion () | |
| Constructor. | |
| KFbxQuaternion (const KFbxQuaternion &pV) | |
| Copy constructor. | |
| KFbxQuaternion (double pX, double pY, double pZ, double pW=1.0) | |
| Constructor. | |
| ~KFbxQuaternion () | |
| Destructor. | |
Access | |
| KFbxQuaternion & | operator= (const KFbxQuaternion &pQuaternion) |
| Assignment operation. | |
| double & | operator[] (int pIndex) |
| Accessor. | |
| double | GetAt (int pIndex) |
| Get a vector element. | |
| void | SetAt (int pIndex, double pValue) |
| Set a vector element. | |
| void | Set (double pX, double pY, double pZ, double pW=1.0) |
| Set vector. | |
Scalar Operations | |
| KFbxQuaternion | operator+ (double pValue) |
| Add a value to all vector components. | |
| KFbxQuaternion | operator- (double pValue) |
| Subtract a value from all vector components. | |
| KFbxQuaternion | operator * (double pValue) |
| Multiply all vector components by a value. | |
| KFbxQuaternion | operator/ (double pValue) |
| Divide all vector components by a value. | |
| KFbxQuaternion & | operator+= (double pValue) |
| Add a value to all vector components. | |
| KFbxQuaternion & | operator-= (double pValue) |
| Subtract a value from all vector components. | |
| KFbxQuaternion & | operator *= (double pValue) |
| Multiply a value to all vector elements. | |
| KFbxQuaternion & | operator/= (double pValue) |
| Divide all vector elements by a value. | |
Vector Operations | |
| KFbxQuaternion | operator- () |
| Unary minus operator. | |
| KFbxQuaternion | operator+ (KFbxQuaternion &pQuaternion) |
| Add two vectors together. | |
| KFbxQuaternion | operator- (KFbxQuaternion &pQuaternion) |
| Subtract a quaternion from another quaternion. | |
| KFbxQuaternion | operator * (KFbxQuaternion &pQuaternion) |
| Memberwise multiplication of two vectors. | |
| KFbxQuaternion | operator/ (KFbxQuaternion &pQuaternion) |
| Memberwise division of a quaternion with another quaternion. | |
| KFbxQuaternion & | operator+= (KFbxQuaternion &pQuaternion) |
| Add two quaternions together. | |
| KFbxQuaternion & | operator-= (KFbxQuaternion &pQuaternion) |
| Subtract a quaternion from another vector. | |
| KFbxQuaternion & | operator *= (KFbxQuaternion &pQuaternion) |
| Memberwise multiplication of two quaternions. | |
| KFbxQuaternion & | operator/= (KFbxQuaternion &pQuaternion) |
| Memberwise division of a quaternion by another quaternion. | |
| KFbxQuaternion | Product (const KFbxQuaternion &pQuaternion) |
| Return quaternion product. | |
| void | Normalize () |
| Normalize the quaternion, length set to 1. | |
| void | Conjugate () |
| Calculate the quaternion inverse. | |
| void | ComposeSphericalXYZ (KFbxVector4 pEuler) |
| Unary minus operator. | |
| KFbxVector4 | DecomposeSphericalXYZ () |
| Unary minus operator. | |
Boolean Operations | |
| bool | operator== (KFbxQuaternion &pV) |
| Equivalence operator. | |
| bool | operator!= (KFbxQuaternion &pV) |
| Non equivalence operator. | |
Casting | |
| operator double * () | |
| Cast the vector in a double pointer. | |
Public Attributes | |
| double | mData [4] |
| KFbxQuaternion | ( | ) |
Constructor.
| KFbxQuaternion | ( | const KFbxQuaternion & | pV | ) |
Copy constructor.
| KFbxQuaternion | ( | double | pX, | |
| double | pY, | |||
| double | pZ, | |||
| double | pW = 1.0 | |||
| ) |
Constructor.
| pX | The X component. | |
| pY | The Y component. | |
| pZ | The Z component. | |
| pW | The W component. |
| ~KFbxQuaternion | ( | ) |
Destructor.
| KFbxQuaternion& operator= | ( | const KFbxQuaternion & | pQuaternion | ) |
Assignment operation.
| double& operator[] | ( | int | pIndex | ) |
Accessor.
| pIndex | The index of the component to access. |
| double GetAt | ( | int | pIndex | ) |
Get a vector element.
| pIndex | The index of the component to access. |
| void SetAt | ( | int | pIndex, | |
| double | pValue | |||
| ) |
Set a vector element.
| pIndex | The index of the component to set. | |
| pValue | The new value to set the component. |
| void Set | ( | double | pX, | |
| double | pY, | |||
| double | pZ, | |||
| double | pW = 1.0 | |||
| ) |
Set vector.
| pX | The X component value. | |
| pY | The Y component value. | |
| pZ | The Z component value. | |
| pW | The W component value. |
| KFbxQuaternion operator+ | ( | double | pValue | ) |
Add a value to all vector components.
| pValue | The value to add to each component of the vector. |
| KFbxQuaternion operator- | ( | double | pValue | ) |
Subtract a value from all vector components.
| pValue | The value to subtract from each component of the vector. |
| KFbxQuaternion operator * | ( | double | pValue | ) |
Multiply all vector components by a value.
| pValue | The value multiplying each component of the vector. |
| KFbxQuaternion operator/ | ( | double | pValue | ) |
Divide all vector components by a value.
| pValue | The value dividing each component of the vector. |
| KFbxQuaternion& operator+= | ( | double | pValue | ) |
Add a value to all vector components.
| pValue | The value to add to each component of the vector. |
| KFbxQuaternion& operator-= | ( | double | pValue | ) |
Subtract a value from all vector components.
| pValue | The value to subtract from each component of the vector. |
| KFbxQuaternion& operator *= | ( | double | pValue | ) |
Multiply a value to all vector elements.
| pValue | The value multiplying each component of the vector. |
| KFbxQuaternion& operator/= | ( | double | pValue | ) |
Divide all vector elements by a value.
| pValue | The value dividing each component of the vector. |
| KFbxQuaternion operator- | ( | ) |
Unary minus operator.
| KFbxQuaternion operator+ | ( | KFbxQuaternion & | pQuaternion | ) |
Add two vectors together.
| pQuaternion | Quaternion to add. |
| KFbxQuaternion operator- | ( | KFbxQuaternion & | pQuaternion | ) |
Subtract a quaternion from another quaternion.
| pQuaternion | Quaternion to subtract. |
| KFbxQuaternion operator * | ( | KFbxQuaternion & | pQuaternion | ) |
Memberwise multiplication of two vectors.
| pQuaternion | Multiplying quaternion. |
| KFbxQuaternion operator/ | ( | KFbxQuaternion & | pQuaternion | ) |
Memberwise division of a quaternion with another quaternion.
| pQuaternion | Dividing quaternion. |
| KFbxQuaternion& operator+= | ( | KFbxQuaternion & | pQuaternion | ) |
Add two quaternions together.
| pQuaternion | Quaternion to add. |
| KFbxQuaternion& operator-= | ( | KFbxQuaternion & | pQuaternion | ) |
Subtract a quaternion from another vector.
| pQuaternion | Quaternion to subtract. |
| KFbxQuaternion& operator *= | ( | KFbxQuaternion & | pQuaternion | ) |
Memberwise multiplication of two quaternions.
| pQuaternion | Multiplying quaternion. |
| KFbxQuaternion& operator/= | ( | KFbxQuaternion & | pQuaternion | ) |
Memberwise division of a quaternion by another quaternion.
| pQuaternion | Dividing quaternion. |
| KFbxQuaternion Product | ( | const KFbxQuaternion & | pQuaternion | ) |
Return quaternion product.
| pQuaternion | product quaternion. |
| void Normalize | ( | ) |
Normalize the quaternion, length set to 1.
| void Conjugate | ( | ) |
Calculate the quaternion inverse.
| void ComposeSphericalXYZ | ( | KFbxVector4 | pEuler | ) |
Unary minus operator.
| KFbxVector4 DecomposeSphericalXYZ | ( | ) |
Unary minus operator.
| bool operator== | ( | KFbxQuaternion & | pV | ) |
Equivalence operator.
| pV | The quaternion to be compared to this quarternion. |
true if the two quaternions are equal (each element is within a 1.0e-6 tolerance), false otherwise. | bool operator!= | ( | KFbxQuaternion & | pV | ) |
Non equivalence operator.
| pV | The quaternion to be compared to this. |
false if the two quaternions are equal (each element is within a 1.0e-6 tolerance), true otherwise. | operator double * | ( | ) |
Cast the vector in a double pointer.