All Packages Class Hierarchy This Package Previous Next Index
Class java.media.j3d.RotationInterpolator
java.lang.Object
|
+----java.media.j3d.SceneGraphObject
|
+----java.media.j3d.Node
|
+----java.media.j3d.Leaf
|
+----java.media.j3d.Behavior
|
+----java.media.j3d.Interpolator
|
+----java.media.j3d.RotationInterpolator
- public class RotationInterpolator
- extends Interpolator
Rotation interpolation behavior. This class constructs a behavior
that varies the rotation component of its target TransformGroup.
-
RotationInterpolator(Alpha, TransformGroup)
- Constructs a trivial rotation interpolator with a specified target,
a axisOfRotation set to identity, a minimum angle of 0.0f, and
a maximum angle of 6.283185308f;.
-
RotationInterpolator(Alpha, TransformGroup, Transform3D, float, float)
- Constructs a new rotatotion interpolator that varies the target
transform node's rotation component.
-
getMaximumAngle()
- Retrieve this Interpolator's maximumAngle
-
getMinimumAngle()
- Retrieve this Interpolator's minimumAngle
-
getTarget()
- Retrieve this Interpolator's target reference
-
processStimulus(Enumeration)
- The RotationInterpolator Behavior
-
setMaximumAngle(float)
- Set the maximumAngle for this Interpolator
-
setMinimumAngle(float)
- Set the minimumAngle for this Interpolator
-
setTarget(TransformGroup)
- Set the target for this Interpolator
RotationInterpolator
public RotationInterpolator(Alpha alpha,
TransformGroup target)
- Constructs a trivial rotation interpolator with a specified target,
a axisOfRotation set to identity, a minimum angle of 0.0f, and
a maximum angle of 6.283185308f;.
- Parameters:
- alpha - The alpha object for this Interpolator
- target - The target for this rotation Interpolator
RotationInterpolator
public RotationInterpolator(Alpha alpha,
TransformGroup target,
Transform3D axisOfRotation,
float minimumAngle,
float maximumAngle)
- Constructs a new rotatotion interpolator that varies the target
transform node's rotation component.
- Parameters:
- alpha - The alphs generator to use in the rotation computation.
- target - the transform node effected by this translator
- axisOfRotation - the transform that take axis of rotation and
make it coincide with the Z axis
- minimumAngle - the starting angle in radians
- maximumAngle - the ending angle in radians
setMinimumAngle
public void setMinimumAngle(float angle)
- Set the minimumAngle for this Interpolator
- Parameters:
- angle - The new minimal angle
getMinimumAngle
public float getMinimumAngle()
- Retrieve this Interpolator's minimumAngle
- Returns:
- the interpolator's minimal angle value
setMaximumAngle
public void setMaximumAngle(float angle)
- Set the maximumAngle for this Interpolator
- Parameters:
- angle - The new maximal angle
getMaximumAngle
public float getMaximumAngle()
- Retrieve this Interpolator's maximumAngle
- Returns:
- the interpolator's maximal angle vslue
setTarget
public void setTarget(TransformGroup target)
- Set the target for this Interpolator
- Parameters:
- target - The target material
getTarget
public TransformGroup getTarget()
- Retrieve this Interpolator's target reference
- Returns:
- the Interpolator's target material
processStimulus
public void processStimulus(Enumeration criteria)
- The RotationInterpolator Behavior
- Parameters:
- criteria - an enumeration of the criteria that caused the
stimulus
- Overrides:
- processStimulus in class Behavior
All Packages Class Hierarchy This Package Previous Next Index