j3d.org Code

org.j3d.loaders.discreet
Class RotationData

java.lang.Object
  extended by org.j3d.loaders.discreet.TrackData
      extended by org.j3d.loaders.discreet.RotationData

public class RotationData
extends TrackData

A single set of rotation data from the keyframe tracking.

Rotations are described as an axis-angle setup.

The data represented is

     struct {
        short framenum
        int unknown
        float rotation in radians
        float axis_x
        float axis_y
        float axis_z
     }
 
For this implementation, the unknown values are ignored and not stored.

Version:
$Revision: 1.1 $
Author:
Justin Couch

Field Summary
 float rotation
          The rotation value in radians
 float xAxis
          The x axis value
 float yAxis
          The y axis value
 float zAxis
          The z axis value
 
Fields inherited from class org.j3d.loaders.discreet.TrackData
frameNumber, splineData, splineFlags
 
Constructor Summary
RotationData()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rotation

public float rotation
The rotation value in radians


xAxis

public float xAxis
The x axis value


yAxis

public float yAxis
The y axis value


zAxis

public float zAxis
The z axis value

Constructor Detail

RotationData

public RotationData()

j3d.org Code

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