com.sun.j3d.loaders.lw3d
Class LwsEnvelopeLightIntensity

java.lang.Object
  extended by com.sun.j3d.loaders.lw3d.TextfileParser
      extended by com.sun.j3d.loaders.lw3d.LwsEnvelope
          extended by com.sun.j3d.loaders.lw3d.LwsEnvelopeLightIntensity

 class LwsEnvelopeLightIntensity
extends LwsEnvelope

This class creates a LightIntensityPathInterpolator object from the keyframe-based envelope specified in a Scene file.


Field Summary
 
Fields inherited from class com.sun.j3d.loaders.lw3d.LwsEnvelope
behaviors, frames, loop, name, numChannels, numFrames, totalFrames, totalTime
 
Fields inherited from class com.sun.j3d.loaders.lw3d.TextfileParser
currentLevel, debugPrinter, EXCEPTION, LINE_TRACE, lineSeparatorChar, MISC, NONE, NUMBER, TIME, TRACE, VALUES, WORD
 
Constructor Summary
LwsEnvelopeLightIntensity(java.io.StreamTokenizer st, int frames, float time)
          Constructor: Calls superclass, which will parse the stream and store the envelope data
 
Method Summary
(package private)  void createJava3dBehaviors(java.lang.Object target)
          Creates Java3d behaviors given the stored envelope data.
(package private)  Behavior getBehaviors()
           
(package private)  LwsEnvelopeFrame getFirstFrame()
           
(package private)  void printVals()
           
 
Methods inherited from class com.sun.j3d.loaders.lw3d.LwsEnvelope
createJava3dBehaviors, getEnvelope
 
Methods inherited from class com.sun.j3d.loaders.lw3d.TextfileParser
checkString, checkType, debugOutput, debugOutputLn, getAndCheckString, getName, getNumber, getString, isCurrentToken, skip, skipUntilString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LwsEnvelopeLightIntensity

LwsEnvelopeLightIntensity(java.io.StreamTokenizer st,
                          int frames,
                          float time)
Constructor: Calls superclass, which will parse the stream and store the envelope data

Method Detail

createJava3dBehaviors

void createJava3dBehaviors(java.lang.Object target)
Creates Java3d behaviors given the stored envelope data. The Behavior created is a LightIntensityPathInterpolator


getBehaviors

Behavior getBehaviors()
Overrides:
getBehaviors in class LwsEnvelope

getFirstFrame

LwsEnvelopeFrame getFirstFrame()
Overrides:
getFirstFrame in class LwsEnvelope

printVals

void printVals()
Overrides:
printVals in class LwsEnvelope


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.