class LwsCamera extends TextfileParser implements LwsPrimitive
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.String |
fileName |
(package private) LwsMotion |
motion |
(package private) java.util.Vector |
objectBehavior |
(package private) TransformGroup |
objectTransform |
(package private) java.lang.String |
objName |
(package private) int |
parent |
currentLevel, debugPrinter, EXCEPTION, LINE_TRACE, lineSeparatorChar, MISC, NONE, NUMBER, TIME, TRACE, VALUES, WORD| Constructor and Description |
|---|
LwsCamera(java.io.StreamTokenizer st,
int firstFrame,
int totalFrames,
float totalTime,
int debugVals)
Constructor: parses camera info and creates LwsMotion object for
keyframe data
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
createJava3dObject(int loadBehaviors)
Creates Java3D items from the camera data.
|
java.util.Vector |
getObjectBehaviors()
Returns animation behaviors for camera
|
TransformGroup |
getObjectNode()
Returns TransformGroup of camera
|
(package private) int |
getParent()
Returns parent of the camera object
|
(package private) void |
printVals()
This is a debuggin utility, not currently activated.
|
checkString, checkType, debugOutput, debugOutputLn, getAndCheckString, getName, getNumber, getString, isCurrentToken, skip, skipUntilStringjava.lang.String fileName
java.lang.String objName
LwsMotion motion
int parent
TransformGroup objectTransform
java.util.Vector objectBehavior
LwsCamera(java.io.StreamTokenizer st,
int firstFrame,
int totalFrames,
float totalTime,
int debugVals)
throws ParsingErrorException
ParsingErrorExceptionint getParent()
void createJava3dObject(int loadBehaviors)
public TransformGroup getObjectNode()
getObjectNode in interface LwsPrimitivepublic java.util.Vector getObjectBehaviors()
getObjectBehaviors in interface LwsPrimitivevoid printVals()
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.