md3.md3model
Class MD3BoneFrame

java.lang.Object
  |
  +--md3.md3model.MD3BoneFrame

public class MD3BoneFrame
extends java.lang.Object
implements java.io.Serializable

Represents metadata about an MD3 model bone animation frame. This includes the bounding box for the animation frame and the tags associated with the frame.

Author:
Erwin Vervaet (erwin@cs.kuleuven.ac.be)
See Also:
Serialized Form

Field Summary
 java.lang.String creator
           
 Vec3 maxs
          Upper extrema of the bounding box of this bone animation frame.
 Vec3 mins
          Lower extrema of the bounding box of this bone animation frame.
 Vec3 position
          Coordinate origin within the bounding box.
 float scale
           
 MD3Tag[] tags
          Array of tags size tagNum, as defined in the MD3Model object that owns this bone frame.
 
Constructor Summary
protected MD3BoneFrame(int tagNum)
          Constructor for use in subclasses that creates an uninitialized object with the specified amount of tag positions.
protected MD3BoneFrame(int tagNum, java.io.DataInput din)
          Create a MD3BoneFrame object with the data coming from the specified input stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mins

public Vec3 mins

Lower extrema of the bounding box of this bone animation frame.


maxs

public Vec3 maxs

Upper extrema of the bounding box of this bone animation frame.


position

public Vec3 position

Coordinate origin within the bounding box.


scale

public float scale

creator

public java.lang.String creator

tags

public MD3Tag[] tags

Array of tags size tagNum, as defined in the MD3Model object that owns this bone frame.

See Also:
MD3Model
Constructor Detail

MD3BoneFrame

protected MD3BoneFrame(int tagNum,
                       java.io.DataInput din)
                throws java.io.IOException

Create a MD3BoneFrame object with the data coming from the specified input stream. Note that the tag information will NOT be initialized. This has to be done separately!


MD3BoneFrame

protected MD3BoneFrame(int tagNum)

Constructor for use in subclasses that creates an uninitialized object with the specified amount of tag positions.