instantreality 1.0

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

SplineScalarInterpolator

The SplineScalarInterpolator node non-linearly interpolates among a list of floats to produce an SFFloat value_changed event. The keyValue, keyVelocity, and key fields shall each have the same number of values.

Inheritance

Code

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

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
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!
MFFloat keyValue MFFloat 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
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
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.
SFFloat value_changed SFFloat outputOnly interpolation results for the given set_fraction value
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element