public abstract class TCBSplinePathInterpolator 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 |
|---|
TCBSplinePathInterpolator(Alpha alpha,
TCBKeyFrame[] keys)
Deprecated.
As of Java 3D version 1.3, replaced by
TCBSplinePathInterpolator(Alpha, TransformGroup, TCBKeyFrame[]) |
TCBSplinePathInterpolator(Alpha alpha,
TransformGroup target,
TCBKeyFrame[] keys)
Constructs a new TCBSplinePathInterpolator object that interpolates
between keyframes with specified alpha, target and default axisOfTransform
set to identity.
|
TCBSplinePathInterpolator(Alpha alpha,
TransformGroup target,
Transform3D axisOfTransform,
TCBKeyFrame[] keys)
Constructs a new TCBSplinePathInterpolator object that interpolates
between keyframes with specified alpha, target and axisOfTransform.
|
| Modifier and Type | Method and Description |
|---|---|
void |
duplicateNode(Node originalNode,
boolean forceDuplicate)
Copies all TCBSplinePathInterpolator information from
originalNode into
the current node. |
int |
getArrayLength()
This method retrieves the length of the key frame array.
|
TCBKeyFrame |
getKeyFrame(int index)
This method retrieves the key frame at the specified index.
|
computeTransform, getTarget, getTransformAxis, processStimulus, setTarget, setTransformAxis, updateNodeReferencesgetAlpha, initialize, setAlphagetEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, postId, setEnable, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingIntervalcloneNode, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickableclearCapability, clearCapabilityIsFrequent, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toStringpublic TCBSplinePathInterpolator(Alpha alpha, TCBKeyFrame[] keys)
TCBSplinePathInterpolator(Alpha, TransformGroup, TCBKeyFrame[]) public TCBSplinePathInterpolator(Alpha alpha, TransformGroup target, TCBKeyFrame[] keys)
alpha - the alpha object for this interpolatortarget - the TransformGroup node effected by this TCBSplinePathInterpolatorkeys - an array of TCBKeyFrame. Requires at least two key frames.public TCBSplinePathInterpolator(Alpha alpha, TransformGroup target, Transform3D axisOfTransform, TCBKeyFrame[] keys)
alpha - the alpha object for this interpolatortarget - the TransformGroup node effected by this TCBSplinePathInterpolatoraxisOfTransform - the transform that defines the local coordinatekeys - an array of TCBKeyFrame. Requires at least two key frames.public int getArrayLength()
public TCBKeyFrame getKeyFrame(int index)
index - the index of the key frame requestedpublic void duplicateNode(Node originalNode, boolean forceDuplicate)
originalNode into
the current node. This method is called from the
cloneNode method which is, in turn, called by the
cloneTree method.duplicateNode in class NodeoriginalNode - the original node to duplicate.forceDuplicate - when set to true, causes the
duplicateOnCloneTree flag to be ignored. When
false, the value of each node's
duplicateOnCloneTree variable determines whether
NodeComponent data is duplicated or copied.RestrictedAccessException - if this object is part of a live
or compiled scenegraph.Node.duplicateNode(org.jogamp.java3d.Node, boolean),
Node.cloneTree(),
NodeComponent.setDuplicateOnCloneTree(boolean)