NurbsPositionInterpolator
NurbsPositionInterpolator describes a 3D NURBS Curve and outputs interpolated position values. The SFNode controlPoint field can contain a single Coordinate or CoordinateDouble node.
Inheritance
Code
XML encoding
<NurbsPositionInterpolator enabled='TRUE' logFeature='' weight='' order='3' knot='' />
Classic encoding
NurbsPositionInterpolator { enabled TRUE logFeature [""] weight [] order 3 knot [] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
set_fraction | SFFloat | inputOnly | setting fraction in range [0,1] selects input key for corresponding keyValue output, computing a 3D position on the curve. | |||
value_changed | SFVec3f | outputOnly | Linearly interpolated output value determined by current key time and corresponding keyValue pair. | |||
knot | MFDouble | inputOutput | knot vector, where size = number of control points + order of curve. | |||
order | SFInt32 | inputOutput | 3 | define order of surface by polynomials of degree = order-1. | ||
weight | MFDouble | inputOutput | Output values for linear interopolation, each corresponding to knots. Hint: number of weights must match number of knots! | |||
controlPoint | SFNode | inputOutput | Coordinate | Uses same definition as NurbsCurve | ||
enabled | SFBool | inputOutput | TRUE | Flag to enable/disable the node behaviour | ||
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 | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element |