Uses of Class
org.openmali.vecmath2.Quaternion4f

Packages that use Quaternion4f
org.openmali.vecmath2   
org.openmali.vecmath2.pools   
org.openmali.vecmath2.util   
 

Uses of Quaternion4f in org.openmali.vecmath2
 

Fields in org.openmali.vecmath2 declared as Quaternion4f
static Quaternion4f Quaternion4f.IDENTITY
           
static Quaternion4f Quaternion4f.ROT_MINUS_90_DEG_BY_X_AXIS
           
static Quaternion4f Quaternion4f.ROT_MINUS_90_DEG_BY_Y_AXIS
           
static Quaternion4f Quaternion4f.ROT_MINUS_90_DEG_BY_Z_AXIS
           
static Quaternion4f Quaternion4f.ROT_PLUS_90_DEG_BY_X_AXIS
           
static Quaternion4f Quaternion4f.ROT_PLUS_90_DEG_BY_Y_AXIS
           
static Quaternion4f Quaternion4f.ROT_PLUS_90_DEG_BY_Z_AXIS
           
static Quaternion4f Quaternion4f.Z_UP_TO_Y_UP
           
static Quaternion4f Quaternion4f.ZERO
           
 

Methods in org.openmali.vecmath2 that return Quaternion4f
 Quaternion4f Quaternion4f.a(float a)
          Sets the value of the A-element of this Quaternion.
 Quaternion4f Quaternion4f.asReadOnly()
          
 Quaternion4f Quaternion4f.b(float b)
          Sets the value of the B-element of this Quaternion.
 Quaternion4f Quaternion4f.c(float c)
          Sets the value of the C-element of this Quaternion.
 Quaternion4f Quaternion4f.clone()
          Creates and returns a copy of this object.
 Quaternion4f Quaternion4f.computeD()
          Computes the D-component from the A, B and C ones.
 Quaternion4f Quaternion4f.conjugate()
          Negates the value of each of this quaternion's a,b,c coordinates in place.
 Quaternion4f Quaternion4f.conjugate(Quaternion4f quat)
          Sets the value of this quaternion to the conjugate of quaternion quat.
 Quaternion4f Quaternion4f.d(float d)
          Sets the value of the D-element of this Quaternion.
static Quaternion4f Quaternion4f.fromPool()
          Allocates an Quaternion4f instance from the pool.
static Quaternion4f Quaternion4f.fromPool(float a, float b, float c, float d)
          Allocates an Quaternion4f instance from the pool.
static Quaternion4f Quaternion4f.fromPool(Quaternion4f quat)
          Allocates an Quaternion4f instance from the pool.
 Quaternion4f Quaternion4f.getReadOnly()
          
 Quaternion4f Quaternion4f.invert()
          Sets the value of this quaternion to the quaternion inverse of itself.
 Quaternion4f Quaternion4f.invert(Quaternion4f quat)
          Sets the value of this quaternion to quaternion inverse of quaternion quat.
 Quaternion4f Quaternion4f.mul(Quaternion4f quat2)
          Sets the value of this quaternion to the quaternion product of itself and q1 (this = this * q1).
 Quaternion4f Quaternion4f.mul(Quaternion4f quat1, Quaternion4f quat2)
          Sets the value of this quaternion to the quaternion product of quaternions q1 and q2 (this = q1 * q2).
 Quaternion4f Quaternion4f.mul(Tuple3f t)
           
 Quaternion4f Quaternion4f.mul(Tuple3f t, Quaternion4f out)
           
 Quaternion4f Quaternion4f.mulInverse(Quaternion4f quat2)
          Multiplies this quaternion by the inverse of quaternion q1 and places the value into this quaternion.
 Quaternion4f Quaternion4f.mulInverse(Quaternion4f quat1, Quaternion4f quat2)
          Multiplies quaternion q1 by the inverse of quaternion q2 and places the value into this quaternion.
static Quaternion4f Quaternion4f.newReadOnly()
          Constructs and initializes a Quaternion4f to (0,0,0,0).
static Quaternion4f Quaternion4f.newReadOnly(float[] values)
          Constructs and initializes a Quaternion4f from the array of length 4.
static Quaternion4f Quaternion4f.newReadOnly(float a, float b, float c, float d)
          Constructs and initializes a Quaternion4f from the specified xyzw coordinates.
static Quaternion4f Quaternion4f.newReadOnly(Quaternion4f quat)
          Constructs and initializes a Quaternion4f from the array of length 4.
 Quaternion4f Quaternion4f.normalize()
          Normalizes the value of this quaternion in place.
 Quaternion4f Quaternion4f.normalize(Quaternion4f quat)
          Sets the value of this quaternion to the normalized value of quaternion quat.
 Quaternion4f Quaternion4f.set(AxisAngle3f aa3f)
          Sets the value of this quaternion to the equivalent rotation of teh AxisAngle argument.
 Quaternion4f Quaternion4f.set(float a, float b, float c, float d)
          Sets all values of this Quaternion4f to the specified ones.
 Quaternion4f Quaternion4f.set(Matrix3f mat)
          Sets the value of this quaternion to the rotational component of the passed matrix.
 Quaternion4f Quaternion4f.set(Matrix4f mat)
          Sets the value of this quaternion to the rotational component of the passed matrix.
 Quaternion4f Quaternion4f.set(Vector3f v, float w)
           
 Quaternion4f Quaternion4f.set(Vector4f v)
           
 Quaternion4f Quaternion4f.setA(float a)
          Sets the value of the A-element of this Quaternion.
 Quaternion4f Quaternion4f.setB(float b)
          Sets the value of the B-element of this Quaternion.
 Quaternion4f Quaternion4f.setC(float c)
          Sets the value of the C-element of this Quaternion.
 Quaternion4f Quaternion4f.setD(float d)
          Sets the value of the D-element of this Quaternion.
 Quaternion4f Quaternion4f.setDQDT(Vector3f angularVelocity, Quaternion4f passback)
          Changes in quaternion values wrt time for a given angular velocity dq/dt = .5 * (0, w) * q
 Quaternion4f Quaternion4f.setFromAxisAngle(float aaX, float aaY, float aaZ, float aaAngle)
          Sets the value of this quaternion to the equivalent rotation of teh AxisAngle argument.
 Quaternion4f Quaternion4f.setIdentity()
          Sets the value of this quaternion to the identity quaternion.
 Quaternion4f Quaternion4f.setMulScale(float scale, Vector3f v, Quaternion4f q)
          Computes scale * ( (v, 0f) * q ).
static Quaternion4f Quaternion4f.weightedSLERP(Quaternion4f start, Quaternion4f target, Vector3f rotationAxis1, Vector3f rotationAxis2, Vector3f rotationAxis3, Vector3f weights, Vector3f anglePassback, Quaternion4f result)
          A generalization of SLERP.
 

Methods in org.openmali.vecmath2 with parameters of type Quaternion4f
 Quaternion4f Quaternion4f.conjugate(Quaternion4f quat)
          Sets the value of this quaternion to the conjugate of quaternion quat.
static Quaternion4f Quaternion4f.fromPool(Quaternion4f quat)
          Allocates an Quaternion4f instance from the pool.
 void Matrix4f.get(Quaternion4f quat)
          Performs an SVD normalization of this matrix in order to acquire the normalized rotational component; the values are placed into the Quat4f parameter.
static void Quaternion4f.getAngles(Quaternion4f q1, Quaternion4f q2, Vector3f rotationAxis1, Vector3f rotationAxis2, Vector3f rotationAxis3, Vector3f passback)
          gets the angles around each provided axis required to move q1 to q2
 void Quaternion4f.interpolate(Quaternion4f quat2, float alpha)
          Performs a great circle interpolation between this quaternion and the quaternion parameter and places the result into this quaternion.
 float Quaternion4f.interpolateSLERP(Quaternion4f q1, Quaternion4f q2, float amount)
          A rotational interpolation returns a quaternion that is between the passed in arguments the amount is the bias toward q2. 0<=amount<=1 amount = 0 would return q1. amount =1 would return q2 uses an implementation of SLERP, uses trig so not too fast
static float Quaternion4f.interpolateSLERP(Quaternion4f q1, Quaternion4f q2, float amount, Quaternion4f result)
          A rotational interpolation returns a quaternion that is between the passed in arguments the amount is the bias toward q2. 0<=amount<=1 amount = 0 would return q1. amount =1 would return q2 uses an implementation of SLERP, uses trig so not too fast
 Quaternion4f Quaternion4f.invert(Quaternion4f quat)
          Sets the value of this quaternion to quaternion inverse of quaternion quat.
 Quaternion4f Quaternion4f.mul(Quaternion4f quat2)
          Sets the value of this quaternion to the quaternion product of itself and q1 (this = this * q1).
 Quaternion4f Quaternion4f.mul(Quaternion4f quat1, Quaternion4f quat2)
          Sets the value of this quaternion to the quaternion product of quaternions q1 and q2 (this = q1 * q2).
 Quaternion4f Quaternion4f.mul(Tuple3f t, Quaternion4f out)
           
 Quaternion4f Quaternion4f.mulInverse(Quaternion4f quat2)
          Multiplies this quaternion by the inverse of quaternion q1 and places the value into this quaternion.
 Quaternion4f Quaternion4f.mulInverse(Quaternion4f quat1, Quaternion4f quat2)
          Multiplies quaternion q1 by the inverse of quaternion q2 and places the value into this quaternion.
static Quaternion4f Quaternion4f.newReadOnly(Quaternion4f quat)
          Constructs and initializes a Quaternion4f from the array of length 4.
static Matrix4f Matrix4f.newReadOnly(Quaternion4f rot, Tuple3f pos, float scale)
          Constructs and initializes a Matrix4f from the quaternion, translation, and scale values; the scale is applied only to the rotational components of the matrix (upper 3x3) and not to the translational components.
 Quaternion4f Quaternion4f.normalize(Quaternion4f quat)
          Sets the value of this quaternion to the normalized value of quaternion quat.
 void AxisAngle3f.set(Quaternion4f quat)
          Sets the value of this axis-angle to the rotational equivalent of the passed quaternion.
 void Matrix3f.set(Quaternion4f quat)
          Sets the value of this matrix to the matrix conversion of the (single precision) quaternion argument.
 Matrix4f Matrix4f.set(Quaternion4f quat)
          Sets the value of this matrix to the matrix conversion of the single precision quaternion argument.
 Matrix4f Matrix4f.set(Quaternion4f quat, Tuple3f pos, float scale)
          Sets the value of this matrix from the rotation expressed by the quaternion q1, the translation t1, and the scale s.
 Quaternion4f Quaternion4f.setDQDT(Vector3f angularVelocity, Quaternion4f passback)
          Changes in quaternion values wrt time for a given angular velocity dq/dt = .5 * (0, w) * q
 Quaternion4f Quaternion4f.setMulScale(float scale, Vector3f v, Quaternion4f q)
          Computes scale * ( (v, 0f) * q ).
 Matrix4f Matrix4f.setRotation(Quaternion4f quat)
          Sets the rotational component (upper 3x3) of this matrix to the matrix equivalent values of the quaternion argument; the other elements of this matrix are unchanged; a singular value decomposition is performed on this object's upper 3x3 matrix to factor out the scale, then this object's upper 3x3 matrix components are replaced by the matrix equivalent of the quaternion, and then the scale is reapplied to the rotational components.
static void Quaternion4f.toPool(Quaternion4f o)
          Stores the given Quaternion4f instance in the pool.
static Quaternion4f Quaternion4f.weightedSLERP(Quaternion4f start, Quaternion4f target, Vector3f rotationAxis1, Vector3f rotationAxis2, Vector3f rotationAxis3, Vector3f weights, Vector3f anglePassback, Quaternion4f result)
          A generalization of SLERP.
 

Constructors in org.openmali.vecmath2 with parameters of type Quaternion4f
Matrix4f(boolean readOnly, Quaternion4f rot, Tuple3f pos, float scale)
          Constructs and initializes a Matrix4f from the quaternion, translation, and scale values; the scale is applied only to the rotational components of the matrix (upper 3x3) and not to the translational components.
Matrix4f(Quaternion4f rot, Tuple3f pos, float scale)
          Constructs and initializes a Matrix4f from the quaternion, translation, and scale values; the scale is applied only to the rotational components of the matrix (upper 3x3) and not to the translational components.
Quaternion4f(boolean readOnly, Quaternion4f quat)
          Constructs and initializes a Quaternion4f from the array of length 4.
Quaternion4f(Quaternion4f quat)
          Constructs and initializes a Quaternion4f from the array of length 4.
 

Uses of Quaternion4f in org.openmali.vecmath2.pools
 

Methods in org.openmali.vecmath2.pools that return Quaternion4f
 Quaternion4f Quaternion4fPool.alloc()
          
 Quaternion4f Quaternion4fPool.alloc(float a, float b, float c, float d)
           
protected  Quaternion4f Quaternion4fPool.newInstance()
          Creates a new instance of a pooled object.
 

Uses of Quaternion4f in org.openmali.vecmath2.util
 

Methods in org.openmali.vecmath2.util that return Quaternion4f
static Quaternion4f Interpolation.fastNormalize(Quaternion4f quat)
          Fast quaternion normalization - fast method
 

Methods in org.openmali.vecmath2.util with parameters of type Quaternion4f
static Quaternion4f Interpolation.fastNormalize(Quaternion4f quat)
          Fast quaternion normalization - fast method
static void Interpolation.nlerp(Quaternion4f quatOrigin, Quaternion4f quatDestiny, float delta, Quaternion4f toInterpolate)
          Normalized Linear Interpolation between two Quaternions