public class RotPosScaleTCBSplinePathInterpolator extends TCBSplinePathInterpolator
currentU, keyFrames, lowerKnot, upperKnot
axis, axisInverse, target
defaultWakeupCriterion
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 |
---|
RotPosScaleTCBSplinePathInterpolator(Alpha alpha,
TransformGroup target,
Transform3D axisOfTransform,
TCBKeyFrame[] keys)
Constructs a new RotPosScaleTCBSplinePathInterpolator object that
varies the rotation, translation, and scale of the target
TransformGroup's transform.
|
Modifier and Type | Method and Description |
---|---|
Node |
cloneNode(boolean forceDuplicate)
Used to create a new instance of the node.
|
void |
computeTransform(float alphaValue,
Transform3D transform)
Computes the new transform for this interpolator for a given
alpha value.
|
void |
duplicateNode(Node originalNode,
boolean forceDuplicate)
Copies RotPosScaleTCBSplinePathInterpolator information from
originalNode into
the current node. |
Transform3D |
getAxisOfRotPosScale()
Deprecated.
As of Java 3D version 1.3, replaced by
TransformInterpolator.getTransformAxis() |
void |
setAxisOfRotPosScale(Transform3D axisOfRotPosScale)
Deprecated.
As of Java 3D version 1.3, replaced by
TransformInterpolator.setTransformAxis(Transform3D) |
computePathInterpolation, computePathInterpolation, getArrayLength, getKeyFrame
getTarget, getTransformAxis, processStimulus, setTarget, setTransformAxis, updateNodeReferences
getAlpha, initialize, setAlpha
getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, getView, getWakeupCondition, postId, setEnable, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingInterval, wakeupOn
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString
public RotPosScaleTCBSplinePathInterpolator(Alpha alpha, TransformGroup target, Transform3D axisOfTransform, TCBKeyFrame[] keys)
alpha
- the alpha object for this interpolatortarget
- the TransformGroup node affected by this interpolatoraxisOfTransform
- the transform that specifies the local
coordinate system in which this interpolator operates.keys
- an array of key frames that defien the motion pathpublic void setAxisOfRotPosScale(Transform3D axisOfRotPosScale)
TransformInterpolator.setTransformAxis(Transform3D)
public Transform3D getAxisOfRotPosScale()
TransformInterpolator.getTransformAxis()
public void computeTransform(float alphaValue, Transform3D transform)
computeTransform
in class TransformInterpolator
alphaValue
- alpha value between 0.0 and 1.0transform
- object that receives the computed transform for
the specified alpha valuepublic Node cloneNode(boolean forceDuplicate)
cloneTree
to duplicate the current node.cloneNode
in class Node
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.Node.cloneTree()
,
Node.cloneNode(boolean)
,
Node.duplicateNode(org.scijava.java3d.Node, boolean)
,
NodeComponent.setDuplicateOnCloneTree(boolean)
public 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 TCBSplinePathInterpolator
originalNode
- 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.scijava.java3d.Node, boolean)
,
Node.cloneTree()
,
NodeComponent.setDuplicateOnCloneTree(boolean)
Copyright © 2016–2022 SciJava. All rights reserved.