All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class java.media.j3d.PositionInterpolator
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.PositionInterpolator
  -  public class PositionInterpolator
  
-  extends Interpolator
  
Position interpolation behavior.  This class constructs a behavior
 that varies the translation component of its target TransformGroup.
  
  -  
	PositionInterpolator(Alpha, TransformGroup)
   -   Constructs a trivial position interpolator with a specified target,
 an axisOfTranslation set to Identity, a startPosition of 0.0f, and
 an endPosition of 1.0f.
  
 -  
	PositionInterpolator(Alpha, TransformGroup, Transform3D, float, float)
   -   Constructs a new position interpolator that varies the target
 transform node's translation component.
 
  
  -  
	getEndPosition(float)
   -   Retrieve this Interpolator's endPosition
 
  
 -  
	getStartPosition()
   -   Retrieve this Interpolator's startPosition
 
  
 -  
	getTarget()
   -   Retrieve this Interpolator's target reference
 
  
 -  
	processStimulus(Enumeration)
   -   The PositionInterpolator Behavior 
 
  
 -  
	setEndPosition(float)
   -   Set the endPosition for this Interpolator
 
  
 -  
	setStartPosition(float)
   -   Set the startPosition for this Interpolator
 
  
 -  
	setTarget(TransformGroup)
   -   Set the target for this Interpolator
 
 
  
PositionInterpolator
 public PositionInterpolator(Alpha alpha,
                             TransformGroup target)
  -  Constructs a trivial position interpolator with a specified target,
 an axisOfTranslation set to Identity, a startPosition of 0.0f, and
 an endPosition of 1.0f.
  
    -  Parameters:
    
 -  alpha - The alpha object for this Interpolator
    
-  target - The target for this position Interpolator
  
  
 
 
PositionInterpolator
 public PositionInterpolator(Alpha alpha,
                             TransformGroup target,
                             Transform3D axisOfTranslation,
                             float startPosition,
                             float endPosition)
  -  Constructs a new position interpolator that varies the target
 transform node's translation component.
  
    -  Parameters:
    
 -  alpha - The alpha object dor this interpolator
    
-  target - the transform node effected by this positionInterpolator
    
-  axisOfTranslation - the transform that take axis of translation and
 make it coincide with the Z axis
    
-  startPosition - the starting position
    
-  endPosition - the ending position
  
     
 
 
  
setStartPosition
 public void setStartPosition(float position)
  -  Set the startPosition for this Interpolator
  
    -  Parameters:
    
 -  position - The new start position
  
 
 
 
getStartPosition
 public float getStartPosition()
  -  Retrieve this Interpolator's startPosition
  
    -  Returns:
    
 -  the interpolator's start position value
  
 
 
 
setEndPosition
 public void setEndPosition(float position)
  -  Set the endPosition for this Interpolator
  
    -  Parameters:
    
 -  position - The new end position
  
 
 
 
getEndPosition
 public float getEndPosition(float position)
  -  Retrieve this Interpolator's endPosition
  
    -  Returns:
    
 -  the interpolator's end position 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 PositionInterpolator 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