j3d.org Code

org.j3d.loaders.discreet
Class ColorData

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

public class ColorData
extends TrackData

A single color data from the keyframe tracking.

Colours are all transformed to [0-1] floating point values.

The data represented is

     struct {
        short framenum
        int unknown
        float red
        float green
        float blue
     }
 
For this implementation, the unknown values are ignored and not stored.

Version:
$Revision: 1.1 $
Author:
Justin Couch

Field Summary
 float blue
          The blue component value
 float green
          The green component value
 float red
          The red component value
 
Fields inherited from class org.j3d.loaders.discreet.TrackData
frameNumber, splineData, splineFlags
 
Constructor Summary
ColorData()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

red

public float red
The red component value


green

public float green
The green component value


blue

public float blue
The blue component value

Constructor Detail

ColorData

public ColorData()

j3d.org Code

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