com.vwp.j3d.utils.behaviors.interpolators
Class RotationInterpolatorXYZ
java.lang.Object
javax.media.j3d.SceneGraphObject
javax.media.j3d.Node
javax.media.j3d.Leaf
javax.media.j3d.Behavior
javax.media.j3d.Interpolator
javax.media.j3d.TransformInterpolator
javax.media.j3d.RotationInterpolator
com.vwp.j3d.utils.behaviors.interpolators.RotationInterpolatorX
com.vwp.j3d.utils.behaviors.interpolators.RotationInterpolatorXYZ
public class RotationInterpolatorXYZ
- extends RotationInterpolatorX
| 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 |
| 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 |
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
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
performedtransformgroup - The transform group which has to be used to perform
the rotation withx - Initial x-angle, this angle will be influenced or modified
depending on the "angleFlag" by this interpolatory - Initial y-angle, this angle will be influenced or modified
depending on the "angleFlag" by this interpolatorz - 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
performedtransformgroup - The transform group which has to be used to perform
the rotation withx - Initial x-angle, this angle will be influenced or modified
depending on the "angleFlag" by this interpolatory - Initial y-angle, this angle will be influenced or modified
depending on the "angleFlag" by this interpolatorz - Initial z-angle, this angle will be influenced or modified
depending on the "angleFlag" by this interpolatorangleFlag - 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
performedtransformgroup - The transform group which has to be used to perform
the rotation withf - The angle where the rotation has to start fromf1 - The end angle to what the interpolator has the object rotate tox - Initial x-angle, this angle will be influenced or modified
depending on the "angleFlag" by this interpolatory - Initial y-angle, this angle will be influenced or modified
depending on the "angleFlag" by this interpolatorz - 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
performedtransformgroup - The transform group which has to be used to perform
the rotation withf - The angle where the rotation has to start fromf1 - The end angle to what the interpolator has the object rotate tox - Initial x-angle, this angle will be influenced or modified
depending on the "angleFlag" by this interpolatory - Initial y-angle, this angle will be influenced or modified
depending on the "angleFlag" by this interpolatorz - Initial z-angle, this angle will be influenced or modified
depending on the "angleFlag" by this interpolatorangleFlag - 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
processStimulus
public void processStimulus(Enumeration enumeration)
- Overrides:
processStimulus in class RotationInterpolatorX