org.xith3d.loaders.models.conversion
Class XithAnimationFactory
java.lang.Object
org.xith3d.loaders.models.conversion.XithAnimationFactory
- All Implemented Interfaces:
- org.jagatoo.loaders.models._util.AnimationFactory
public class XithAnimationFactory
- extends java.lang.Object
- implements org.jagatoo.loaders.models._util.AnimationFactory
Insert type comment here.
|
Method Summary |
java.lang.Object |
createAnimation(java.lang.String name,
int numFrames,
float fps,
java.lang.Object[] controllers,
org.openmali.vecmath2.Matrix4f[][] mountTransformFrames)
|
org.jagatoo.datatypes.NamedObject |
createBone(org.jagatoo.datatypes.NamedObject parentBone,
java.lang.String name,
org.openmali.vecmath2.Matrix4f transformation)
|
org.jagatoo.datatypes.NamedObject |
createBone(org.jagatoo.datatypes.NamedObject parentBone,
java.lang.String name,
org.openmali.vecmath2.Vector3f translation,
org.openmali.vecmath2.Quaternion4f rotation,
org.openmali.vecmath2.Tuple3f scale)
|
java.lang.Object |
createBoneAnimationKeyFrame(org.jagatoo.datatypes.NamedObject[] bones)
|
java.lang.Object |
createBoneAnimationKeyFrameController(java.lang.Object[] keyFrames,
java.lang.Object[][] boneWeights,
org.jagatoo.datatypes.NamedObject target)
|
java.lang.Object |
createBoneWeight(int boneIndex,
float weight,
org.openmali.vecmath2.Vector3f offset)
|
java.lang.Object |
createMeshDeformationKeyFrame(float[] coords,
float[] normals)
|
java.lang.Object |
createMeshDeformationKeyFrameController(java.lang.Object[] keyFrames,
org.jagatoo.datatypes.NamedObject target)
|
java.lang.Object |
createMeshTransformKeyFrame(float time,
org.openmali.vecmath2.Matrix4f transform)
|
java.lang.Object |
createMeshTransformKeyFrame(float time,
org.openmali.vecmath2.Vector3f translation,
org.openmali.vecmath2.AxisAngle3f rotation,
org.openmali.vecmath2.Tuple3f scale)
|
java.lang.Object |
createMeshTransformKeyFrame(float time,
org.openmali.vecmath2.Vector3f translation,
org.openmali.vecmath2.Matrix3f rotation,
org.openmali.vecmath2.Tuple3f scale)
|
java.lang.Object |
createMeshTransformKeyFrame(float time,
org.openmali.vecmath2.Vector3f translation,
org.openmali.vecmath2.Quaternion4f rotation,
org.openmali.vecmath2.Tuple3f scale)
|
java.lang.Object |
createMeshTransformKeyFrameController(java.lang.Object[] keyFrames,
org.jagatoo.datatypes.NamedObject target)
|
void |
transformMeshTransformKeyFrame(org.openmali.vecmath2.Matrix4f transform,
java.lang.Object frameObj)
|
void |
transformMeshTransformKeyFrames(org.openmali.vecmath2.Matrix4f transform,
java.lang.Object[] frames)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XithAnimationFactory
public XithAnimationFactory()
createBone
public final org.jagatoo.datatypes.NamedObject createBone(org.jagatoo.datatypes.NamedObject parentBone,
java.lang.String name,
org.openmali.vecmath2.Vector3f translation,
org.openmali.vecmath2.Quaternion4f rotation,
org.openmali.vecmath2.Tuple3f scale)
- Specified by:
createBone in interface org.jagatoo.loaders.models._util.AnimationFactory
createBone
public final org.jagatoo.datatypes.NamedObject createBone(org.jagatoo.datatypes.NamedObject parentBone,
java.lang.String name,
org.openmali.vecmath2.Matrix4f transformation)
- Specified by:
createBone in interface org.jagatoo.loaders.models._util.AnimationFactory
createBoneAnimationKeyFrame
public final java.lang.Object createBoneAnimationKeyFrame(org.jagatoo.datatypes.NamedObject[] bones)
- Specified by:
createBoneAnimationKeyFrame in interface org.jagatoo.loaders.models._util.AnimationFactory
createBoneWeight
public final java.lang.Object createBoneWeight(int boneIndex,
float weight,
org.openmali.vecmath2.Vector3f offset)
- Specified by:
createBoneWeight in interface org.jagatoo.loaders.models._util.AnimationFactory
createBoneAnimationKeyFrameController
public final java.lang.Object createBoneAnimationKeyFrameController(java.lang.Object[] keyFrames,
java.lang.Object[][] boneWeights,
org.jagatoo.datatypes.NamedObject target)
- Specified by:
createBoneAnimationKeyFrameController in interface org.jagatoo.loaders.models._util.AnimationFactory
createMeshDeformationKeyFrame
public final java.lang.Object createMeshDeformationKeyFrame(float[] coords,
float[] normals)
- Specified by:
createMeshDeformationKeyFrame in interface org.jagatoo.loaders.models._util.AnimationFactory
createMeshDeformationKeyFrameController
public final java.lang.Object createMeshDeformationKeyFrameController(java.lang.Object[] keyFrames,
org.jagatoo.datatypes.NamedObject target)
- Specified by:
createMeshDeformationKeyFrameController in interface org.jagatoo.loaders.models._util.AnimationFactory
createMeshTransformKeyFrame
public final java.lang.Object createMeshTransformKeyFrame(float time,
org.openmali.vecmath2.Vector3f translation,
org.openmali.vecmath2.Quaternion4f rotation,
org.openmali.vecmath2.Tuple3f scale)
- Specified by:
createMeshTransformKeyFrame in interface org.jagatoo.loaders.models._util.AnimationFactory
createMeshTransformKeyFrame
public final java.lang.Object createMeshTransformKeyFrame(float time,
org.openmali.vecmath2.Vector3f translation,
org.openmali.vecmath2.AxisAngle3f rotation,
org.openmali.vecmath2.Tuple3f scale)
- Specified by:
createMeshTransformKeyFrame in interface org.jagatoo.loaders.models._util.AnimationFactory
createMeshTransformKeyFrame
public final java.lang.Object createMeshTransformKeyFrame(float time,
org.openmali.vecmath2.Vector3f translation,
org.openmali.vecmath2.Matrix3f rotation,
org.openmali.vecmath2.Tuple3f scale)
- Specified by:
createMeshTransformKeyFrame in interface org.jagatoo.loaders.models._util.AnimationFactory
createMeshTransformKeyFrame
public final java.lang.Object createMeshTransformKeyFrame(float time,
org.openmali.vecmath2.Matrix4f transform)
- Specified by:
createMeshTransformKeyFrame in interface org.jagatoo.loaders.models._util.AnimationFactory
transformMeshTransformKeyFrame
public void transformMeshTransformKeyFrame(org.openmali.vecmath2.Matrix4f transform,
java.lang.Object frameObj)
- Specified by:
transformMeshTransformKeyFrame in interface org.jagatoo.loaders.models._util.AnimationFactory
transformMeshTransformKeyFrames
public final void transformMeshTransformKeyFrames(org.openmali.vecmath2.Matrix4f transform,
java.lang.Object[] frames)
- Specified by:
transformMeshTransformKeyFrames in interface org.jagatoo.loaders.models._util.AnimationFactory
createMeshTransformKeyFrameController
public final java.lang.Object createMeshTransformKeyFrameController(java.lang.Object[] keyFrames,
org.jagatoo.datatypes.NamedObject target)
- Specified by:
createMeshTransformKeyFrameController in interface org.jagatoo.loaders.models._util.AnimationFactory
createAnimation
public java.lang.Object createAnimation(java.lang.String name,
int numFrames,
float fps,
java.lang.Object[] controllers,
org.openmali.vecmath2.Matrix4f[][] mountTransformFrames)
- Specified by:
createAnimation in interface org.jagatoo.loaders.models._util.AnimationFactory