|
| QuaternionLongerPath (long cPtr, boolean cMemoryOwn) |
|
| QuaternionLongerPath (Quaternion quaternion) |
|
synchronized void | delete () |
|
| Quaternion (long cPtr, boolean cMemoryOwn) |
|
| Quaternion () |
| Default constructor, initializes the quaternion components to identity, representing no rotation (x=0, y=0, z=0, w=1).
|
|
| Quaternion (float x, float y, float z, float w) |
| Constructor, initializes the quaternion components to x, y, z and w. More...
|
|
Quaternion | conjugated () |
| Get conjugated copy of this quaternion. More...
|
|
synchronized void | delete () |
|
Quaternion | divideByScalar (float scalar) |
| Divides each quaternion component with a scalar and returns the result. More...
|
|
boolean | equals (Object obj) |
|
float | get (long index) |
| Returns individual quaternion element value at index. More...
|
|
float | getW () |
| Get the w component of the quaternion. More...
|
|
float | getX () |
| Get the x component of the quaternion. More...
|
|
float | getY () |
| Get the y component of the quaternion. More...
|
|
float | getZ () |
| Get the z component of the quaternion. More...
|
|
int | hashCode () |
|
Quaternion | multiplyByScalar (float scalar) |
| Multiplies each quaternion component with a scalar. More...
|
|
Quaternion | normalized () |
| Get normalized copy of this quaternion. More...
|
|
void | set (long index, float v) |
| Sets the individual quaternion element at index to value. More...
|
|
void | setW (float w) |
| Sets the w component of the quaternion. More...
|
|
void | setX (float x) |
| Sets the x component of the quaternion. More...
|
|
void | setY (float y) |
| Sets the y component of the quaternion. More...
|
|
void | setZ (float z) |
| Sets the z component of the quaternion. More...
|
|
|
static long | getCPtr (QuaternionLongerPath obj) |
|
static long | swigRelease (QuaternionLongerPath obj) |
|
static Vector3 | calculateEulerAngles (Quaternion quaternion) |
| Calculates Euler angles from a quaternion. More...
|
|
static Quaternion | componentWiseMultiply (Quaternion q1, Quaternion q2) |
| Multiplies quaternion components component-wise and returns the resulting quaternion. More...
|
|
static Quaternion | createFromEulerAngles (Vector3 anglesInRadians) |
| Creates a quaternion from Euler angles. More...
|
|
static Quaternion | createFromEulerAngles (float rotationX, float rotationY, float rotationZ) |
| Creates a quaternion from Euler angles. More...
|
|
static Quaternion | createFromVector (Vector3 axis, float angleInRadians) |
| Creates quaternion from axis and angle. More...
|
|
static Quaternion | divide (Quaternion q, float scalar) |
| Divides each quaternion component with a scalar and returns the result. More...
|
|
static float | dotProduct (Quaternion q1, Quaternion q2) |
| Calculates the dot product of two quaternions. More...
|
|
static long | getCPtr (Quaternion obj) |
|
static Quaternion | inverse (Quaternion q) |
| Returns an inverse quaternion for a quaternion. More...
|
|
static Quaternion | matrix4x4ToQuaternion (Matrix4x4 matrix) |
| Creates a quaternion from Matrix4x4. More...
|
|
static Quaternion | multiply (Quaternion q, float scalar) |
| Multiplies each quaternion component with a scalar. More...
|
|
static Quaternion | multiply (Quaternion left, Quaternion right) |
| Multiplies two quaternions. More...
|
|
static Quaternion | quaternionSlerp (Quaternion q1, Quaternion q2, float interpolationTime) |
| Applies spherical linear interpolation (slerp) to two quaternions using the shortest path. More...
|
|
static Quaternion | quaternionSlerpLongerPath (Quaternion q1, Quaternion q2, float interpolationTime) |
| Applies spherical linear interpolation (slerp) to two quaternion using the longer path. More...
|
|
static Matrix4x4 | quaternionToMatrix4x4 (Quaternion quaternion) |
| Converts a quaternion rotation to a 4x4 rotation matrix. More...
|
|
static Vector3 | rotateVector (Quaternion quaternion, Vector3 vector) |
| Applies quaternion rotation to a vector. More...
|
|
static long | swigRelease (Quaternion obj) |
|
Quaternion for interpolating rotation along longer path.
When doing spherical interpolation of two quaternions, one quaternion can be
interpolated towards another one either along shorter path (less than 180
degrees turn) or along longer path (more than 180 degrees turn). By default,
quaternions are interpolated along shorter path (see quaternionSlerp()).
Construct quaternions of #QuaternionLongerPath type to specify that
interpolation between them should be done along longer path for Kanzi
subsystems which recognize this type (for example, animation system).
quaternionSlerpLongerPath()).