All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class java.media.j3d.RotationPathInterpolator
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.RotationPathInterpolator
  -  public class RotationPathInterpolator
  -  extends Interpolator
Rotation path interpolation behavior.  This class constructs a 
 behavior that varies the rotation component of its target 
 TransformGroup by interpolating among a series of predefined
 orientations.
   
  -   RotationPathInterpolator(Alpha, TransformGroup, Transform3D, float[], Quat4f[]) RotationPathInterpolator(Alpha, TransformGroup, Transform3D, float[], Quat4f[])
-   Constructs a new rotator path interpolator that varies the target
 transform node's rotation component as a function of the path.
   
  -   arrayLengths() arrayLengths()
-   Retrieves the length of the knots and positions arrays
 
  
-   getKnot(int) getKnot(int)
-   Retrieve the knot at the specified index
 
  
-   getQuat(int, Quat4f) getQuat(int, Quat4f)
-   Retrieve the quat at the specified index
 
  
-   getTarget() getTarget()
-   Retrieve this Interpolator's target reference
 
  
-   processStimulus(Enumeration) processStimulus(Enumeration)
-   The RotationPathInterpolator Behavior 
 
  
-   setKnot(int, float) setKnot(int, float)
-   Set the knot at the specified index for this Interpolator
 
  
-   setQuat(int, Quat4f) setQuat(int, Quat4f)
-   Set the quat at the specified index for this Interpolator
 
  
-   setTarget(TransformGroup) setTarget(TransformGroup)
-   Set the target for this Interpolator
 
   
 RotationPathInterpolator
RotationPathInterpolator
 public RotationPathInterpolator(Alpha alpha,
                                 TransformGroup target,
                                 Transform3D axisOfRotation,
                                 float knots[],
                                 Quat4f quats[])
  -  Constructs a new rotator path interpolator that varies the target
 transform node's rotation component as a function of the path.
   
- 
    -  Parameters:
    
-  alpha - The alpha object for this Interpolator
    -  target - the transform node effected by this translator
    -  axisOfRotation - the transform that take axis of rotation and
 make it coincide with the Z axis
    -  knots - an array of knot values that specify a spline
    -  quats - an array of quaternion values at the knots
  
 
   
 arrayLengths
arrayLengths
 public int arrayLengths()
  -  Retrieves the length of the knots and positions arrays
   
- 
    -  Returns:
    
-  the array length
  
 
 setQuat
setQuat
 public void setQuat(int index,
                     Quat4f quat)
  -  Set the quat at the specified index for this Interpolator
   
- 
    -  Parameters:
    
-  index - The index to be changed
    -  quat - The new quat at index
  
 
 getQuat
getQuat
 public void getQuat(int index,
                     Quat4f quat)
  -  Retrieve the quat at the specified index
   
- 
    -  Parameters:
    
-  index - The index of the value requested
    
-  Returns:
    
-  the interpolator's quat value at the index
  
 
 setKnot
setKnot
 public void setKnot(int index,
                     float knot)
  -  Set the knot at the specified index for this Interpolator
   
- 
    -  Parameters:
    
-  index - The index to be changed
    -  knot - The new knot index
  
 
 getKnot
getKnot
 public float getKnot(int index)
  -  Retrieve the knot at the specified index
   
- 
    -  Parameters:
    
-  index - The index of the value requested
    
-  Returns:
    
-  the interpolator's knot at the associated index
  
 
 setTarget
setTarget
 public void setTarget(TransformGroup target)
  -  Set the target for this Interpolator
   
- 
    -  Parameters:
    
-  target - The target material
  
 
 getTarget
getTarget
 public TransformGroup getTarget()
  -  Retrieve this Interpolator's target reference
   
- 
    -  Returns:
    
-  the Interpolator's target material
  
 
 processStimulus
processStimulus
 public void processStimulus(Enumeration criteria)
  -  The RotationPathInterpolator Behavior
   
- 
    -  Parameters:
    
-  criteria - An enumeration of WakeupCriterion that have triggered.
    
-  Overrides:
    
-  processStimulus in class Behavior
  
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index