Go to: Related nodes. Attributes.

This node implements a curve simplification filter, combining nearly colinear sets of input points into line segments, and is used by the applyTake command to process recorded motion capture data. The attributes of the node are settings which affect the operation of the filter as it is invoked by applyTake. These settings are preserved when the scene file is saved.

Curve simplification is achieved by copying to the filter output only those data value records which are the the endpoints of ranges of nearly colinear values within the input data. The colinearity test requires that all deleted data points lie within a parallelegram connecting the end-points with width 2 * tolerance * (max - min), where max and min are the extrema of the input data.

Points within these parrallelograms are considered colinear and not copied to the output data values subject to the following additional constraints.

Notes

Since the base class inputs (comprising the input and output data and timestamp values) to this node are unconnectable, this node cannot be used in a traditional dependency graph sense.

Node nameParentsMFn typeCompatible function sets
filterSimplifyfilterkFilterSimplifykBase
kNamedObject
kDependencyNode
kFilter
kFilterSimplify

Related nodes

filter, filterResample, filterClosestSample, filterEuler

Attributes (5)

allowDuplicates, maxTimeStep, minTimeStep, timeTolerance, tolerance

Long name (short name)TypeDefaultFlags
tolerance (tol) double0.001outputinputconnectablestorable
The fraction of dynamic range of input which defines the limits of nearly linear.
timeTolerance (tt) double0.00outputinputconnectablestorable
Temporal tolerance for timestamps, in seconds. Data records closer than this value are considered duplicate and skipped.
minTimeStep (mnt) double0.0outputinputconnectablestorable
Minimum time step in seconds between output records.
maxTimeStep (mxt) double3600outputinputconnectablestorable
Max time step in seconds between output records.
allowDuplicates (ad) booltrueoutputinputconnectablestorable
If true, treat ranges of duplicate values as valid data, else ignore duplicate values as a device oversampling artifact.