j3d.org Code

org.j3d.loaders.discreet
Class KeyframeFrameBlock

java.lang.Object
  extended by org.j3d.loaders.discreet.KeyframeTag
      extended by org.j3d.loaders.discreet.KeyframeFrameBlock

public class KeyframeFrameBlock
extends KeyframeTag

Representation of a collection of a single frame block in a keyframe.

A keyframe block consists of

 FRAMES (START AND END) 0xB008
     OBJECT NAME 0xB010
     OBJECT PIVOT POINT 0xB013
     INSTANCE NAME
     BOUNDBOX  0xB014
     POSITION TRACK 0xB020
     ROTATION TRACK 0xB021
     SCALE TRACK 0xB022
     HIERARCHY POSITION 0xB030
 

Version:
$Revision: 1.2 $
Author:
Justin Couch

Field Summary
 java.lang.String instanceName
          The name of the object instance
 float[] maxBounds
          Bounding box maximum positions of the mesh
 float[] minBounds
          Bounding box minimum positions of the mesh
 KeyframeMorphBlock morphs
          The track morph info
 float morphSmoothingAngle
          Smoothing factor in radians when morphing.
 float[] pivotPoint
          The pivot point coordinate for this block
 KeyframePositionBlock positions
          The track position info
 KeyframeRotationBlock rotations
          The track rotation info
 KeyframeScaleBlock scales
          The track scale info
 
Fields inherited from class org.j3d.loaders.discreet.KeyframeTag
nodeHeader, nodeId
 
Constructor Summary
KeyframeFrameBlock()
          Construct a new instance of this frame.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pivotPoint

public float[] pivotPoint
The pivot point coordinate for this block


instanceName

public java.lang.String instanceName
The name of the object instance


minBounds

public float[] minBounds
Bounding box minimum positions of the mesh


maxBounds

public float[] maxBounds
Bounding box maximum positions of the mesh


positions

public KeyframePositionBlock positions
The track position info


rotations

public KeyframeRotationBlock rotations
The track rotation info


scales

public KeyframeScaleBlock scales
The track scale info


morphs

public KeyframeMorphBlock morphs
The track morph info


morphSmoothingAngle

public float morphSmoothingAngle
Smoothing factor in radians when morphing. In degrees [0 - 180].

Constructor Detail

KeyframeFrameBlock

public KeyframeFrameBlock()
Construct a new instance of this frame.


j3d.org Code

Latest Info from http://code.j3d.org/
Copyright © 2001 - j3d.org