com.vwp.j3d.utils.behaviors.interpolators
Class RotationInterpolatorXYZ

java.lang.Object
  extended by javax.media.j3d.SceneGraphObject
      extended by javax.media.j3d.Node
          extended by javax.media.j3d.Leaf
              extended by javax.media.j3d.Behavior
                  extended by javax.media.j3d.Interpolator
                      extended by javax.media.j3d.TransformInterpolator
                          extended by javax.media.j3d.RotationInterpolator
                              extended by com.vwp.j3d.utils.behaviors.interpolators.RotationInterpolatorX
                                  extended by com.vwp.j3d.utils.behaviors.interpolators.RotationInterpolatorXYZ

public class RotationInterpolatorXYZ
extends RotationInterpolatorX


Field Summary
static int FLAG_X
           
static int FLAG_Y
           
static int FLAG_Z
           
 
Fields inherited from class javax.media.j3d.Node
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
 
Constructor Summary
RotationInterpolatorXYZ(javax.media.j3d.Alpha alpha, javax.media.j3d.TransformGroup transformgroup, double x, double y, double z)
          Constructor for a rotation interpolator object.
RotationInterpolatorXYZ(javax.media.j3d.Alpha alpha, javax.media.j3d.TransformGroup transformgroup, double x, double y, double z, int angleFlag)
          Constructor for a rotation interpolator object
RotationInterpolatorXYZ(javax.media.j3d.Alpha alpha, javax.media.j3d.TransformGroup transformgroup, javax.media.j3d.Transform3D transform3d, double f, double f1, double x, double y, double z)
          Constructor for a rotation interpolator object.
RotationInterpolatorXYZ(javax.media.j3d.Alpha alpha, javax.media.j3d.TransformGroup transformgroup, javax.media.j3d.Transform3D transform3d, double f, double f1, double x, double y, double z, int angleFlag)
          Constructor for a rotation interpolator object
 
Method Summary
 void processStimulus(Enumeration enumeration)
           
 
Methods inherited from class com.vwp.j3d.utils.behaviors.interpolators.RotationInterpolatorX
emulateFrameSwitch, getMaximumAngle, getMinimumAngle, getTarget, setBaseRotation, setMaximumAngle, setMinimumAngle, setTarget
 
Methods inherited from class javax.media.j3d.RotationInterpolator
cloneNode, computeTransform, getAxisOfRotation, setAxisOfRotation
 
Methods inherited from class javax.media.j3d.TransformInterpolator
getTransformAxis, setTransformAxis, updateNodeReferences
 
Methods inherited from class javax.media.j3d.Interpolator
getAlpha, initialize, setAlpha
 
Methods inherited from class javax.media.j3d.Behavior
getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, postId, setEnable, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingInterval
 
Methods inherited from class javax.media.j3d.Node
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
 
Methods inherited from class javax.media.j3d.SceneGraphObject
clearCapability, clearCapabilityIsFrequent, getCapability, getCapabilityIsFrequent, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setUserData
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLAG_X

public static final int FLAG_X
See Also:
Constant Field Values

FLAG_Y

public static final int FLAG_Y
See Also:
Constant Field Values

FLAG_Z

public static final int FLAG_Z
See Also:
Constant Field Values
Constructor Detail

RotationInterpolatorXYZ

public RotationInterpolatorXYZ(javax.media.j3d.Alpha alpha,
                               javax.media.j3d.TransformGroup transformgroup,
                               double x,
                               double y,
                               double z)
Constructor for a rotation interpolator object. If nothing else is specified separately, this constructor sets the angleFlag to FLAG_X, which means a rotation around the X axis is perfomed

Parameters:
alpha - An Alpha object which describes the rotation that has to be performed
transformgroup - The transform group which has to be used to perform the rotation with
x - Initial x-angle, this angle will be influenced or modified depending on the "angleFlag" by this interpolator
y - Initial y-angle, this angle will be influenced or modified depending on the "angleFlag" by this interpolator
z - Initial z-angle, this angle will be influenced or modified depending on the "angleFlag" by this interpolator

RotationInterpolatorXYZ

public RotationInterpolatorXYZ(javax.media.j3d.Alpha alpha,
                               javax.media.j3d.TransformGroup transformgroup,
                               double x,
                               double y,
                               double z,
                               int angleFlag)
Constructor for a rotation interpolator object

Parameters:
alpha - An Alpha object which describes the rotation that has to be performed
transformgroup - The transform group which has to be used to perform the rotation with
x - Initial x-angle, this angle will be influenced or modified depending on the "angleFlag" by this interpolator
y - Initial y-angle, this angle will be influenced or modified depending on the "angleFlag" by this interpolator
z - Initial z-angle, this angle will be influenced or modified depending on the "angleFlag" by this interpolator
angleFlag - Specifies which axises of the specified TransformGroup / Transform3D have to be used to perform the rotation with; angleFlag can be any combination of ORed FLAG_x values

RotationInterpolatorXYZ

public RotationInterpolatorXYZ(javax.media.j3d.Alpha alpha,
                               javax.media.j3d.TransformGroup transformgroup,
                               javax.media.j3d.Transform3D transform3d,
                               double f,
                               double f1,
                               double x,
                               double y,
                               double z)
Constructor for a rotation interpolator object. If nothing else is specified separately, this constructor sets the angleFlag to FLAG_X, which means a rotation around the X axis is perfomed

Parameters:
alpha - An Alpha object which describes the rotation that has to be performed
transformgroup - The transform group which has to be used to perform the rotation with
f - The angle where the rotation has to start from
f1 - The end angle to what the interpolator has the object rotate to
x - Initial x-angle, this angle will be influenced or modified depending on the "angleFlag" by this interpolator
y - Initial y-angle, this angle will be influenced or modified depending on the "angleFlag" by this interpolator
z - Initial z-angle, this angle will be influenced or modified depending on the "angleFlag" by this interpolator

RotationInterpolatorXYZ

public RotationInterpolatorXYZ(javax.media.j3d.Alpha alpha,
                               javax.media.j3d.TransformGroup transformgroup,
                               javax.media.j3d.Transform3D transform3d,
                               double f,
                               double f1,
                               double x,
                               double y,
                               double z,
                               int angleFlag)
Constructor for a rotation interpolator object

Parameters:
alpha - An Alpha object which describes the rotation that has to be performed
transformgroup - The transform group which has to be used to perform the rotation with
f - The angle where the rotation has to start from
f1 - The end angle to what the interpolator has the object rotate to
x - Initial x-angle, this angle will be influenced or modified depending on the "angleFlag" by this interpolator
y - Initial y-angle, this angle will be influenced or modified depending on the "angleFlag" by this interpolator
z - Initial z-angle, this angle will be influenced or modified depending on the "angleFlag" by this interpolator
angleFlag - Specifies which axises of the specified TransformGroup / Transform3D have to be used to perform the rotation with; angleFlag can be any combination of ORed FLAG_x values
Method Detail

processStimulus

public void processStimulus(Enumeration enumeration)
Overrides:
processStimulus in class RotationInterpolatorX