public abstract class PathInterpolator extends TransformInterpolator
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_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
Constructor and Description |
---|
PathInterpolator(Alpha alpha,
float[] knots)
Deprecated.
As of Java 3D version 1.3, replaced by
PathInterpolator(Alpha, TransformGroup, float[]) |
PathInterpolator(Alpha alpha,
TransformGroup target,
float[] knots)
Constructs a new PathInterpolator object that interpolates
between the knot values in the knots array.
|
PathInterpolator(Alpha alpha,
TransformGroup target,
Transform3D axisOfTransform,
float[] knots)
Constructs a new PathInterpolator object that interpolates
between the knot values in the knots array.
|
Modifier and Type | Method and Description |
---|---|
int |
getArrayLengths()
Retrieves the length of the knots array.
|
float |
getKnot(int index)
Retrieves the knot at the specified index.
|
void |
getKnots(float[] knots)
Copies the array of knots from this interpolator
into the specified array.
|
void |
setKnot(int index,
float knot)
Sets the knot at the specified index for this interpolator.
|
computeTransform, getTarget, getTransformAxis, processStimulus, setTarget, setTransformAxis, updateNodeReferences
getAlpha, initialize, setAlpha
getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, postId, setEnable, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingInterval
cloneNode, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
clearCapability, clearCapabilityIsFrequent, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString
public PathInterpolator(Alpha alpha, float[] knots)
PathInterpolator(Alpha, TransformGroup, float[])
alpha
- the alpha object for this interpolator.knots
- an array of knot values that specify interpolation
points.public PathInterpolator(Alpha alpha, TransformGroup target, float[] knots)
alpha
- the alpha object for this interpolator.target
- the transformgroup node effected by this pathInterpolatorknots
- an array of knot values that specify interpolation
points.public PathInterpolator(Alpha alpha, TransformGroup target, Transform3D axisOfTransform, float[] knots)
alpha
- the alpha object for this interpolator.target
- the transform node effected by this positionInterpolatoraxisOfTransform
- the transform that defines the local coordinateknots
- an array of knot values that specify interpolation
points.public int getArrayLengths()
public void setKnot(int index, float knot)
index
- the index to be changedknot
- the new knot valuepublic float getKnot(int index)
index
- the index of the value requestedpublic void getKnots(float[] knots)
knots
- array that will receive the knots.