org.jagatoo.loaders.models._util
Interface AnimationFactory


public interface 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)
           
 NamedObject createBone(NamedObject parentBone, java.lang.String name, org.openmali.vecmath2.Matrix4f transformation)
           
 NamedObject createBone(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(NamedObject[] bones)
           
 java.lang.Object createBoneAnimationKeyFrameController(java.lang.Object[] keyFrames, java.lang.Object[][] boneWeights, 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, 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, NamedObject target)
           
 void transformMeshTransformKeyFrame(org.openmali.vecmath2.Matrix4f transform, java.lang.Object frame)
           
 void transformMeshTransformKeyFrames(org.openmali.vecmath2.Matrix4f transform, java.lang.Object[] frames)
           
 

Method Detail

createBone

NamedObject createBone(NamedObject parentBone,
                       java.lang.String name,
                       org.openmali.vecmath2.Vector3f translation,
                       org.openmali.vecmath2.Quaternion4f rotation,
                       org.openmali.vecmath2.Tuple3f scale)

createBone

NamedObject createBone(NamedObject parentBone,
                       java.lang.String name,
                       org.openmali.vecmath2.Matrix4f transformation)

createBoneAnimationKeyFrame

java.lang.Object createBoneAnimationKeyFrame(NamedObject[] bones)

createBoneWeight

java.lang.Object createBoneWeight(int boneIndex,
                                  float weight,
                                  org.openmali.vecmath2.Vector3f offset)

createBoneAnimationKeyFrameController

java.lang.Object createBoneAnimationKeyFrameController(java.lang.Object[] keyFrames,
                                                       java.lang.Object[][] boneWeights,
                                                       NamedObject target)

createMeshDeformationKeyFrame

java.lang.Object createMeshDeformationKeyFrame(float[] coords,
                                               float[] normals)

createMeshDeformationKeyFrameController

java.lang.Object createMeshDeformationKeyFrameController(java.lang.Object[] keyFrames,
                                                         NamedObject target)

createMeshTransformKeyFrame

java.lang.Object createMeshTransformKeyFrame(float time,
                                             org.openmali.vecmath2.Vector3f translation,
                                             org.openmali.vecmath2.Quaternion4f rotation,
                                             org.openmali.vecmath2.Tuple3f scale)

createMeshTransformKeyFrame

java.lang.Object createMeshTransformKeyFrame(float time,
                                             org.openmali.vecmath2.Vector3f translation,
                                             org.openmali.vecmath2.AxisAngle3f rotation,
                                             org.openmali.vecmath2.Tuple3f scale)

createMeshTransformKeyFrame

java.lang.Object createMeshTransformKeyFrame(float time,
                                             org.openmali.vecmath2.Vector3f translation,
                                             org.openmali.vecmath2.Matrix3f rotation,
                                             org.openmali.vecmath2.Tuple3f scale)

createMeshTransformKeyFrame

java.lang.Object createMeshTransformKeyFrame(float time,
                                             org.openmali.vecmath2.Matrix4f transform)

transformMeshTransformKeyFrame

void transformMeshTransformKeyFrame(org.openmali.vecmath2.Matrix4f transform,
                                    java.lang.Object frame)

transformMeshTransformKeyFrames

void transformMeshTransformKeyFrames(org.openmali.vecmath2.Matrix4f transform,
                                     java.lang.Object[] frames)

createMeshTransformKeyFrameController

java.lang.Object createMeshTransformKeyFrameController(java.lang.Object[] keyFrames,
                                                       NamedObject target)

createAnimation

java.lang.Object createAnimation(java.lang.String name,
                                 int numFrames,
                                 float fps,
                                 java.lang.Object[] controllers,
                                 org.openmali.vecmath2.Matrix4f[][] mountTransformFrames)