instantreality 1.0

Component:
Interpolation
Status:
partly implemented
Structure type:
concrete
Standard:
Avalon

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
SFBool 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
SFBool enabled SFBool inputOutput TRUE Flag to enable/disable the node behaviour
MFFloat 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!
MFVec3f keyValue MFVec3f inputOutput keyValue field contains values for the target field, one complete set of values for each key
MFString 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
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element
SFBool 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.
SFFloat set_fraction SFFloat inputOnly set_fraction selects input key for corresponding keyValue output.
SFVec3f value_changed SFVec3f outputOnly interpolation results for the given set_fraction value