instantreality 1.0

Component:
Interpolation
Status:
fully implemented
Structure type:
concrete
Standard:
X3D3.0

PositionInterpolator2D

PositionInterpolator2D generates a series of SFVec2F values that can be ROUTEd to a SFVec2F attribute. Typical input: ROUTE someTimeSensor.fraction_changed TO someInterpolator.set_fraction. Typical output: ROUTE someInterpolator.value_changed TO destinationNode.set_attribute.

Inheritance

Code

XML encoding
<PositionInterpolator2D keyValue=''
key=''
enabled='TRUE'
logFeature=''
 />
Classic encoding
PositionInterpolator2D {
	keyValue []
	key []
	enabled TRUE
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
MFVec2f keyValue MFVec2f inputOutput Output values for linear interpolation, each corresponding to time-fraction keys. Hint: number of keyValues must be an integer multiple of the number of keys! Hint: keyValue/key integer multiple defines how many coordinates are sent in value_changed outputOnlys.
SFVec2f value_changed SFVec2f outputOnly Linearly interpolated output value determined by current key time and corresponding "keyValue" pair. Hint: keyValue/key integer multiple defines how many coordinates are sent in value_changed outputOnlys.
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