|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Quaternion | |
---|---|
com.jme3.animation | The com.jme3.animation package contains various classes
for managing animation inside a jME3 application. |
com.jme3.audio | |
com.jme3.bullet.control | |
com.jme3.bullet.control.ragdoll | |
com.jme3.bullet.objects | |
com.jme3.bullet.objects.infos | |
com.jme3.cinematic.events | |
com.jme3.math | The com.jme3.math package provides mathematic data structures
and utilities which are used by the rest of the engine. |
com.jme3.renderer | The com.jme3.renderer package provides classes responsible for
rendering. |
com.jme3.scene | The com.jme3.input package contains the scene graph implementation
in jMonkeyEngine. |
com.jme3.scene.plugins.blender | |
com.jme3.scene.plugins.blender.animations | |
com.jme3.util |
Uses of Quaternion in com.jme3.animation |
---|
Fields in com.jme3.animation declared as Quaternion | |
---|---|
protected Quaternion[] |
AnimationFactory.rotations
rotation array for this animation |
Methods in com.jme3.animation that return Quaternion | |
---|---|
protected Quaternion |
CompactQuaternionArray.deserialize(int i,
Quaternion store)
|
Quaternion |
Bone.getLocalRotation()
Returns the local rotation of the bone, relative to the parent bone. |
Quaternion |
Bone.getModelSpaceRotation()
Returns the rotation of the bone in model space. |
Quaternion[] |
BoneTrack.getRotations()
return the array of rotations of this track |
Quaternion[] |
SpatialTrack.getRotations()
|
Quaternion |
Bone.getWorldBindInverseRotation()
Returns the inverse world bind pose rotation. |
Quaternion |
Bone.getWorldBindRotation()
Returns the world bind pose rotation. |
Methods in com.jme3.animation that return types with arguments of type Quaternion | |
---|---|
protected java.lang.Class<Quaternion> |
CompactQuaternionArray.getElementClass()
|
Methods in com.jme3.animation with parameters of type Quaternion | |
---|---|
void |
AnimationFactory.addKeyFrameRotation(int keyFrameIndex,
Quaternion rotation)
Adds a key frame for the given rotation at the given keyFrame index This can't be used if the interpolated angle is higher than PI (180°) Use AnimationFactory.addKeyFrameRotationAngles(int keyFrameIndex, float x, float y, float z) instead that uses Euler angles rotations. |
void |
AnimationFactory.addTimeRotation(float time,
Quaternion rotation)
Adds a key frame for the given rotation at the given time This can't be used if the interpolated angle is higher than PI (180°) Use AnimationFactory.addTimeRotationAngles(float time, float x, float y, float z) instead that uses Euler angles rotations.* |
protected Quaternion |
CompactQuaternionArray.deserialize(int i,
Quaternion store)
|
Transform |
Bone.getCombinedTransform(Vector3f position,
Quaternion rotation)
Returns the local transform of this bone combined with the given position and rotation |
protected void |
CompactQuaternionArray.serialize(int i,
Quaternion store)
|
void |
Bone.setBindTransforms(Vector3f translation,
Quaternion rotation,
Vector3f scale)
Sets local bind transform for bone. |
void |
BoneTrack.setKeyframes(float[] times,
Vector3f[] translations,
Quaternion[] rotations)
Set the translations and rotations for this bone track |
void |
BoneTrack.setKeyframes(float[] times,
Vector3f[] translations,
Quaternion[] rotations,
Vector3f[] scales)
Set the translations, rotations and scales for this bone track |
void |
SpatialTrack.setKeyframes(float[] times,
Vector3f[] translations,
Quaternion[] rotations,
Vector3f[] scales)
Set the translations, rotations and scales for this track. |
void |
Bone.setUserTransforms(Vector3f translation,
Quaternion rotation,
Vector3f scale)
Sets user transform. |
void |
Bone.setUserTransformsWorld(Vector3f translation,
Quaternion rotation)
Must update all bones in skeleton for this to work. |
Constructors in com.jme3.animation with parameters of type Quaternion | |
---|---|
BoneTrack(int targetBoneIndex,
float[] times,
Vector3f[] translations,
Quaternion[] rotations)
Creates a bone track for the given bone index |
|
BoneTrack(int targetBoneIndex,
float[] times,
Vector3f[] translations,
Quaternion[] rotations,
Vector3f[] scales)
Creates a bone track for the given bone index |
|
SpatialTrack(float[] times,
Vector3f[] translations,
Quaternion[] rotations,
Vector3f[] scales)
Creates a spatial track for the given track data. |
Uses of Quaternion in com.jme3.audio |
---|
Methods in com.jme3.audio that return Quaternion | |
---|---|
Quaternion |
Listener.getRotation()
|
Methods in com.jme3.audio with parameters of type Quaternion | |
---|---|
void |
Listener.setRotation(Quaternion rotation)
|
Uses of Quaternion in com.jme3.bullet.control |
---|
Fields in com.jme3.bullet.control declared as Quaternion | |
---|---|
protected Quaternion |
KinematicRagdollControl.PhysicsBoneLink.initalWorldRotation
|
protected Quaternion |
KinematicRagdollControl.modelRotation
|
protected Quaternion |
KinematicRagdollControl.PhysicsBoneLink.startBlendingRot
|
Uses of Quaternion in com.jme3.bullet.control.ragdoll |
---|
Methods in com.jme3.bullet.control.ragdoll with parameters of type Quaternion | |
---|---|
static void |
RagdollUtils.setTransform(Bone bone,
Vector3f pos,
Quaternion rot,
boolean restoreBoneControl,
java.util.Set<java.lang.String> boneList)
Updates a bone position and rotation. |
Uses of Quaternion in com.jme3.bullet.objects |
---|
Fields in com.jme3.bullet.objects declared as Quaternion | |
---|---|
protected Quaternion |
PhysicsCharacter.tmp_inverseWorldRotation
|
protected Quaternion |
PhysicsGhostObject.tmp_inverseWorldRotation
|
protected Quaternion |
VehicleWheel.tmp_inverseWorldRotation
|
protected Quaternion |
VehicleWheel.wheelWorldRotation
|
Methods in com.jme3.bullet.objects that return Quaternion | |
---|---|
Quaternion |
PhysicsGhostObject.getPhysicsRotation()
|
Quaternion |
PhysicsRigidBody.getPhysicsRotation()
|
Quaternion |
PhysicsGhostObject.getPhysicsRotation(Quaternion rot)
|
Quaternion |
PhysicsRigidBody.getPhysicsRotation(Quaternion rot)
|
Methods in com.jme3.bullet.objects with parameters of type Quaternion | |
---|---|
Quaternion |
PhysicsGhostObject.getPhysicsRotation(Quaternion rot)
|
Quaternion |
PhysicsRigidBody.getPhysicsRotation(Quaternion rot)
|
void |
PhysicsGhostObject.setPhysicsRotation(Quaternion rotation)
Sets the physics object rotation |
void |
PhysicsRigidBody.setPhysicsRotation(Quaternion rotation)
Sets the physics object rotation |
Uses of Quaternion in com.jme3.bullet.objects.infos |
---|
Methods in com.jme3.bullet.objects.infos that return Quaternion | |
---|---|
Quaternion |
RigidBodyMotionState.getWorldRotationQuat()
|
Uses of Quaternion in com.jme3.cinematic.events |
---|
Fields in com.jme3.cinematic.events declared as Quaternion | |
---|---|
protected Quaternion |
MotionTrack.rotation
|
Methods in com.jme3.cinematic.events that return Quaternion | |
---|---|
Quaternion |
MotionTrack.getRotation()
returns the rotation of the target |
Methods in com.jme3.cinematic.events with parameters of type Quaternion | |
---|---|
void |
MotionTrack.setRotation(Quaternion rotation)
sets the rotation of the target This can be used only if direction Type is Direction.PathAndRotation or Direction.Rotation With PathAndRotation the target will face the direction of the path multiplied by the given Quaternion. |
Constructors in com.jme3.cinematic.events with parameters of type Quaternion | |
---|---|
RotationTrack(Spatial spatial,
Quaternion endRotation)
Deprecated. |
|
RotationTrack(Spatial spatial,
Quaternion endRotation,
float initialDuration)
Deprecated. |
|
RotationTrack(Spatial spatial,
Quaternion endRotation,
float initialDuration,
LoopMode loopMode)
Deprecated. |
|
RotationTrack(Spatial spatial,
Quaternion endRotation,
LoopMode loopMode)
Deprecated. |
Uses of Quaternion in com.jme3.math |
---|
Fields in com.jme3.math declared as Quaternion | |
---|---|
static Quaternion |
Quaternion.DIRECTION_Z
|
static Quaternion |
Quaternion.IDENTITY
Represents the identity quaternion rotation (0, 0, 0, 1). |
static Quaternion |
Quaternion.ZERO
|
Methods in com.jme3.math that return Quaternion | |
---|---|
Quaternion |
Quaternion.add(Quaternion q)
add adds the values of this quaternion to those of the
parameter quaternion. |
Quaternion |
Quaternion.addLocal(Quaternion q)
add adds the values of this quaternion to those of the
parameter quaternion. |
Quaternion |
Quaternion.clone()
|
Quaternion |
Quaternion.fromAngleAxis(float angle,
Vector3f axis)
fromAngleAxis sets this quaternion to the values specified
by an angle and an axis of rotation. |
Quaternion |
Quaternion.fromAngleNormalAxis(float angle,
Vector3f axis)
fromAngleNormalAxis sets this quaternion to the values
specified by an angle and a normalized axis of rotation. |
Quaternion |
Quaternion.fromAngles(float[] angles)
fromAngles builds a quaternion from the Euler rotation
angles (y,r,p). |
Quaternion |
Quaternion.fromAngles(float xAngle,
float yAngle,
float zAngle)
fromAngles builds a Quaternion from the Euler rotation
angles (x,y,z) aka (pitch, yaw, rall)). |
Quaternion |
Quaternion.fromAxes(Vector3f[] axis)
fromAxes creates a Quaternion that
represents the coordinate system defined by three axes. |
Quaternion |
Quaternion.fromAxes(Vector3f xAxis,
Vector3f yAxis,
Vector3f zAxis)
fromAxes creates a Quaternion that
represents the coordinate system defined by three axes. |
Quaternion |
Quaternion.fromRotationMatrix(float m00,
float m01,
float m02,
float m10,
float m11,
float m12,
float m20,
float m21,
float m22)
|
Quaternion |
Quaternion.fromRotationMatrix(Matrix3f matrix)
fromRotationMatrix generates a quaternion from a supplied
matrix. |
Quaternion |
Transform.getRotation()
Return the rotation quaternion in this matrix. |
Quaternion |
Transform.getRotation(Quaternion quat)
Stores this rotation value into the given Quaternion. |
Quaternion |
Quaternion.inverse()
inverse returns the inverse of this quaternion as a new
quaternion. |
Quaternion |
Quaternion.inverseLocal()
inverse calculates the inverse of this quaternion and
returns this quaternion after it is calculated. |
Quaternion |
Quaternion.mult(float scalar)
mult multiplies this quaternion by a parameter scalar. |
Quaternion |
Quaternion.mult(Quaternion q)
mult multiplies this quaternion by a parameter quaternion. |
Quaternion |
Matrix4f.mult(Quaternion vec,
Quaternion store)
mult multiplies a quaternion about a matrix. |
Quaternion |
Quaternion.mult(Quaternion q,
Quaternion res)
mult multiplies this quaternion by a parameter quaternion. |
Quaternion |
Quaternion.multLocal(float scalar)
mult multiplies this quaternion by a parameter scalar. |
Quaternion |
Quaternion.multLocal(float qx,
float qy,
float qz,
float qw)
Multiplies this Quaternion by the supplied quaternion. |
Quaternion |
Quaternion.multLocal(Quaternion q)
Multiplies this Quaternion by the supplied quaternion. |
Quaternion |
Quaternion.normalizeLocal()
normalize normalizes the current Quaternion . |
Quaternion |
Quaternion.opposite()
|
Quaternion |
Quaternion.opposite(Quaternion store)
FIXME: This seems to have singularity type issues with angle == 0, possibly others such as PI. |
Quaternion |
Quaternion.oppositeLocal()
|
Quaternion |
Quaternion.set(float x,
float y,
float z,
float w)
sets the data in a Quaternion object from the given list
of parameters. |
Quaternion |
Quaternion.set(Quaternion q)
Sets the data in this Quaternion object to be equal to the
passed Quaternion object. |
Quaternion |
Quaternion.slerp(Quaternion q1,
Quaternion q2,
float t)
slerp sets this quaternion's value as an interpolation
between two other quaternions. |
Quaternion |
Quaternion.subtract(Quaternion q)
subtract subtracts the values of the parameter quaternion
from those of this quaternion. |
Quaternion |
Quaternion.subtractLocal(Quaternion q)
subtract subtracts the values of the parameter quaternion
from those of this quaternion. |
Quaternion |
Matrix4f.toRotationQuat()
|
Methods in com.jme3.math with parameters of type Quaternion | |
---|---|
Quaternion |
Quaternion.add(Quaternion q)
add adds the values of this quaternion to those of the
parameter quaternion. |
Quaternion |
Quaternion.addLocal(Quaternion q)
add adds the values of this quaternion to those of the
parameter quaternion. |
float |
Quaternion.dot(Quaternion q)
dot calculates and returns the dot product of this
quaternion with that of the parameter quaternion. |
Quaternion |
Transform.getRotation(Quaternion quat)
Stores this rotation value into the given Quaternion. |
Quaternion |
Quaternion.mult(Quaternion q)
mult multiplies this quaternion by a parameter quaternion. |
Quaternion |
Matrix4f.mult(Quaternion vec,
Quaternion store)
mult multiplies a quaternion about a matrix. |
Quaternion |
Quaternion.mult(Quaternion q,
Quaternion res)
mult multiplies this quaternion by a parameter quaternion. |
void |
Matrix4f.multLocal(Quaternion rotation)
|
Quaternion |
Quaternion.multLocal(Quaternion q)
Multiplies this Quaternion by the supplied quaternion. |
void |
Quaternion.nlerp(Quaternion q2,
float blend)
Sets the values of this quaternion to the nlerp from itself to q2 by blend. |
Quaternion |
Quaternion.opposite(Quaternion store)
FIXME: This seems to have singularity type issues with angle == 0, possibly others such as PI. |
Matrix3f |
Matrix3f.set(Quaternion quaternion)
set defines the values of the matrix based on a supplied
Quaternion . |
Quaternion |
Quaternion.set(Quaternion q)
Sets the data in this Quaternion object to be equal to the
passed Quaternion object. |
Transform |
Transform.setRotation(Quaternion rot)
Sets this rotation to the given Quaternion value. |
void |
Matrix4f.setRotationQuaternion(Quaternion quat)
setRotationQuaternion builds a rotation from a
Quaternion . |
void |
Quaternion.slerp(Quaternion q2,
float changeAmnt)
Sets the values of this quaternion to the slerp from itself to q2 by changeAmnt |
Quaternion |
Quaternion.slerp(Quaternion q1,
Quaternion q2,
float t)
slerp sets this quaternion's value as an interpolation
between two other quaternions. |
Quaternion |
Quaternion.subtract(Quaternion q)
subtract subtracts the values of the parameter quaternion
from those of this quaternion. |
Quaternion |
Quaternion.subtractLocal(Quaternion q)
subtract subtracts the values of the parameter quaternion
from those of this quaternion. |
void |
Matrix4f.toRotationQuat(Quaternion q)
|
Constructors in com.jme3.math with parameters of type Quaternion | |
---|---|
Quaternion(Quaternion q)
Constructor instantiates a new Quaternion object from an
existing quaternion, creating a copy. |
|
Quaternion(Quaternion q1,
Quaternion q2,
float interp)
Constructor instantiates a new Quaternion object from an
interpolation between two other quaternions. |
|
Transform(Quaternion rot)
|
|
Transform(Vector3f translation,
Quaternion rot)
|
|
Transform(Vector3f translation,
Quaternion rot,
Vector3f scale)
|
Uses of Quaternion in com.jme3.renderer |
---|
Fields in com.jme3.renderer declared as Quaternion | |
---|---|
protected Quaternion |
Camera.rotation
The orientation of the camera. |
Methods in com.jme3.renderer that return Quaternion | |
---|---|
Quaternion |
Camera.getRotation()
getRotation retrieves the rotation quaternion of the camera. |
Methods in com.jme3.renderer with parameters of type Quaternion | |
---|---|
void |
Camera.setAxes(Quaternion axes)
setAxes uses a rotational matrix to set the axes of the
camera. |
void |
Camera.setFrame(Vector3f location,
Quaternion axes)
setFrame sets the orientation and location of the camera. |
void |
Camera.setRotation(Quaternion rotation)
setRotation sets the orientation of this camera. |
Uses of Quaternion in com.jme3.scene |
---|
Methods in com.jme3.scene that return Quaternion | |
---|---|
Quaternion |
Spatial.getLocalRotation()
getLocalRotation retrieves the local rotation of this
node. |
Quaternion |
Spatial.getWorldRotation()
getWorldRotation retrieves the absolute rotation of the
Spatial. |
Methods in com.jme3.scene with parameters of type Quaternion | |
---|---|
Spatial |
Spatial.rotate(Quaternion rot)
Rotates the spatial by the given rotation. |
void |
Spatial.setLocalRotation(Quaternion quaternion)
setLocalRotation sets the local rotation of this node. |
Uses of Quaternion in com.jme3.scene.plugins.blender |
---|
Fields in com.jme3.scene.plugins.blender declared as Quaternion | |
---|---|
protected Quaternion |
AbstractBlenderHelper.upAxisRotationQuaternion
Quaternion used to rotate data when Y is up axis. |
Uses of Quaternion in com.jme3.scene.plugins.blender.animations |
---|
Methods in com.jme3.scene.plugins.blender.animations with parameters of type Quaternion | |
---|---|
Spatial |
CalculationBone.rotate(Quaternion rot,
int frame)
|
Uses of Quaternion in com.jme3.util |
---|
Fields in com.jme3.util declared as Quaternion | |
---|---|
Quaternion |
TempVars.quat1
General quaternions. |
Quaternion |
TempVars.quat2
|
Methods in com.jme3.util with parameters of type Quaternion | |
---|---|
static java.nio.FloatBuffer |
BufferUtils.createFloatBuffer(Quaternion... data)
Generate a new FloatBuffer using the given array of Quaternion objects. |
static void |
BufferUtils.setInBuffer(Quaternion quat,
java.nio.FloatBuffer buf,
int index)
Sets the data contained in the given quaternion into the FloatBuffer at the specified index. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |