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

java.lang.Object
  extended by 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
           
 
Constructor Summary
RotationInterpolatorXYZ(Alpha alpha, TransformGroup transformgroup, double x, double y, double z)
          Constructor for a rotation interpolator object.
RotationInterpolatorXYZ(Alpha alpha, TransformGroup transformgroup, double x, double y, double z, int angleFlag)
          Constructor for a rotation interpolator object
RotationInterpolatorXYZ(Alpha alpha, TransformGroup transformgroup, Transform3D transform3d, double f, double f1, double x, double y, double z)
          Constructor for a rotation interpolator object.
RotationInterpolatorXYZ(Alpha alpha, TransformGroup transformgroup, Transform3D transform3d, double f, double f1, double x, double y, double z, int angleFlag)
          Constructor for a rotation interpolator object
 
Method Summary
 void processStimulus(java.util.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 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(Alpha alpha,
                               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(Alpha alpha,
                               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(Alpha alpha,
                               TransformGroup transformgroup,
                               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(Alpha alpha,
                               TransformGroup transformgroup,
                               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(java.util.Enumeration enumeration)
Overrides:
processStimulus in class RotationInterpolatorX