SplinePositionInterpolator3D (Standard name: SplinePositionInterpolator)
The SplinePositionInterpolator node non-linearly interpolates among a list of 3D vectors to produce an SFVec3f value_changed event. The keyValue, keyVelocity, and key fields shall each have the same number of values.
Inheritance
Code
XML encoding
<SplinePositionInterpolator3D keyValue='' closed='FALSE' normalizeVelocity='FALSE' key='' enabled='TRUE' logFeature='' />
Classic encoding
SplinePositionInterpolator3D { keyValue [] closed FALSE normalizeVelocity FALSE key [] enabled TRUE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
closed | SFBool | inputOutput | FALSE | specifies whether the interpolator should provide a closed loop, with continuous velocity vectors as the interpolator transitions from the last key to the first key. If the velocity vectors at the first and last keys are specified, the closed field is ignored. If the keyValues at the first and last key are not identical, the closed field is ignored | ||
enabled | SFBool | inputOutput | TRUE | Flag to enable/disable the node behaviour | ||
key | MFFloat | inputOutput | Definition parameters for linear-interpolation function time intervals, in increasing order and corresponding to keyValues. Hint: number of keys must match number of keyValues! | |||
keyValue | MFVec3f | inputOutput | keyValue field contains values for the target field, one complete set of values for each key | |||
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
normalizeVelocity | SFBool | inputOutput | FALSE | If the normalizeVelocity field has value TRUE, the keyVelocity values are normalized, thus converting them to tangency vectors. In this case, the vectors are normalized to produce smooth speed transitions. | ||
set_fraction | SFFloat | inputOnly | set_fraction selects input key for corresponding keyValue output. | |||
value_changed | SFVec3f | outputOnly | interpolation results for the given set_fraction value |