TransformationInterpolator
TransformationInterpolator generates a series of matrix values. Results can be ROUTEd to a MatrixTransform node's "matrix" attribute or another SFMatrix 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
<TransformationInterpolator keyValue='' mode='matrix' key='' enabled='TRUE' logFeature='' />
Classic encoding
TransformationInterpolator { keyValue [] mode "matrix" key [] enabled TRUE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
keyValue | MFMatrix4f | inputOutput | Output values for linear interpolation, each corresponding to a time-fraction key. Hint: number of keys must match number of keyValues! | |||
value_changed | SFMatrix4f | outputOnly | Linearly interpolated output value determined by current key time and corresponding keyValue pair. | |||
mode | SFString | inputOutput | matrix | matrix, component | Mode for the matrix interpolation. "matrix" interpolates the whole matrix, "component" independently interpolates the translation, scale and rotation component of the matrices. | |
set_firstKeyValue | SFMatrix4f | inputOnly | Sets the first matrix value of the keyValue field. | |||
set_lastKeyValue | SFMatrix4f | inputOnly | Sets the last matrix value of the keyValue field. | |||
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 |