instantreality 1.0

Component:
Interpolation
Status:
partly implemented
Structure type:
concrete
Standard:
X3D3.2

SplinePositionInterpolator2D

The SplinePositionInterpolator2D node non-linearly interpolates among a list of 2D vectors to produce an SFVec2f value_changed event. The keyValue, keyVelocity, and key fields shall each have the same number of values.

Inheritance

Code

XML encoding
<SplinePositionInterpolator2D keyValue=''
closed='FALSE'
normalizeVelocity='FALSE'
key=''
enabled='TRUE'
logFeature=''
 />
Classic encoding
SplinePositionInterpolator2D {
	keyValue []
	closed FALSE
	normalizeVelocity FALSE
	key []
	enabled TRUE
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
MFVec2f keyValue MFVec2f inputOutput keyValue field contains values for the target field, one complete set of values for each key
SFVec2f value_changed SFVec2f outputOnly interpolation results for the given set_fraction value
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 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.
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!
SFBool enabled SFBool inputOutput TRUE Flag to enable/disable the node behaviour
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element