|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Quaternion | |
---|---|
jarp | Provides the main Java ARP classes, that is, the classes defining the avatar's skeleton, mesh, morphs, camera control, and JOGL rendering canvas. |
jautil.geometry | Provides basic geometry classes, notatbly, Quaternion and Vector3f. |
Uses of Quaternion in jarp |
---|
Fields in jarp declared as Quaternion | |
---|---|
static Quaternion |
Character.QUAT_Z_MINUS_PI_BY_2
Quaternion [with components (w,x,y,z)] for a rotation by -PI/2 round the Z-axis. |
Methods in jarp with parameters of type Quaternion | |
---|---|
void |
Bone.getRotationInX(Quaternion q)
Sets the given quaternion to represent the "rotation-round-X-axis" factor in this bone's rotation. |
Uses of Quaternion in jautil.geometry |
---|
Fields in jautil.geometry declared as Quaternion | |
---|---|
static Quaternion |
Quaternion.IDENTITY
|
static Quaternion |
Quaternion.ZERO
|
Methods in jautil.geometry that return Quaternion | |
---|---|
Quaternion |
Quaternion.add(Quaternion q)
Returns a new Quaternion representing this + q. |
Quaternion |
Quaternion.exp()
Return a new Quaternion representing the exponential of this one. |
Quaternion |
Quaternion.inverse()
Returns a new Quaternion containing the multiplicative inverse of this one. |
Quaternion |
Quaternion.inverseUnit()
Returns a new Quaternion containing the multiplicative inverse of this one, assuming this one has unit length. |
Quaternion |
Quaternion.log()
Return a new Quaternion representing the logarithm of this one. |
Quaternion |
Quaternion.negate()
Returns a new Quaternion representing the negation of this one. |
Quaternion |
Quaternion.postMultiply(Quaternion q)
Returns a new Quaternion representing this * q. |
Quaternion |
TRTransform.quat()
Returns the rotation quaternion for this transform. |
Quaternion |
Quaternion.scalarMultiply(float f)
Returns a new Quaternion representing this * f (scalar f). |
Quaternion |
Quaternion.subtract(Quaternion q)
Returns a new Quaternion representing this - q. |
Methods in jautil.geometry with parameters of type Quaternion | |
---|---|
Quaternion |
Quaternion.add(Quaternion q)
Returns a new Quaternion representing this + q. |
void |
Quaternion.extractRotX(Quaternion qx)
Decomposes this quaternion into qx.qyz, where qx and qyz represent rotations about, respectively, the x-axis and some axis in the yz-plane, setting the given qx to be the first of the two factors. |
float |
Quaternion.innerProd(Quaternion q)
Returns the inner product of this Quaternion with the given one. |
void |
Quaternion.postDivideUnitEq(Quaternion q)
|
Quaternion |
Quaternion.postMultiply(Quaternion q)
Returns a new Quaternion representing this * q. |
void |
Quaternion.postMultiplyEq(Quaternion q)
Post-multiply this Quaternion by the given one, that is, this := this * q (Grassman product, as defined below). |
void |
Quaternion.preMultiplyEq(Quaternion q)
Pre-multiply this Quaternion by the given one, that is, this := q * this (Grassman product -- as defined for postMultiplyEq() above). |
void |
Quaternion.set(Quaternion q)
Resets this Quaternion as a copy of the given one, q. |
void |
TRTransform.set(Quaternion qrot)
Resets this transformation from the given rotation qrot and a zero tranformation. |
void |
TRTransform.setComposition(TRTransform xpre,
Quaternion qrot)
Resets this transformation as the composition of the given transform with the given rotation (and a zero translation). |
void |
Quaternion.setInverseUnit(Quaternion q)
Sets this Quaternion to be the inverse of the given one, q. |
static void |
TRUtil.setRotation(float[] rdest,
Quaternion qsrc)
Copies the given source quaternion rotation values to the given destination array. |
static void |
Quaternion.slerp(Quaternion qq,
Quaternion qa,
Quaternion qb,
float T)
Sets quaternion qq to be the SLERP (spherical linear interpolation), with fraction T, between the two (unit) quaternions qa, qb. |
Quaternion |
Quaternion.subtract(Quaternion q)
Returns a new Quaternion representing this - q. |
Constructors in jautil.geometry with parameters of type Quaternion | |
---|---|
Quaternion(Quaternion q)
Constructs a copy of the given quaternion. |
|
TRTransform(Quaternion qrot)
Constructs a transformation from the given rotation quaternion qrot (which is copied) and a zero translation. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |