Go to: Related nodes. Attributes.

This node implements an Euler angle "demangler" filter 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.

The overall operation of the filter is controlled by two enumerated attributes -- smooth and nearestTo.

Enumerated values for attribute smooth, specifying how the "best" Euler solution is chosen:
0 No smoothing
1 Bound to +/-pi (+/-180 deg)
2 Nearest cut to (within pi or 180 deg of) nearestTo
3 Nearest Euler angle solution to nearestTo

Enumerated values for attribute nearestTo, only used if smooth is 2 or 3, specifies that the filter selects the cut or solution which is nearest to:
0 Zero
1 Initial Value
2 Previous Value

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
filterEulerfilterkFilterEulerkBase
kNamedObject
kDependencyNode
kFilter
kFilterEuler

Related nodes

filter, filterResample, filterClosestSample, filterSimplify

Attributes (12)

enableInitialRotation, initialRotation, initialRotationX, initialRotationY, initialRotationZ, nearestTo, outputUsageOpt, smooth, weight, weightX, weightY, weightZ

Long name (short name)TypeDefaultFlags
smooth (s) enum3outputinputconnectablestorable
The smoothing/demangling operation to use. See the table above for the enumeration of the values and their effects.
nearestTo (nt) enum2outputinputconnectablestorable
The value to which the cut or solution should be nearest. See the table above for the enumeration of the values and their effects.
weight (w) double31.0, 1.0, 1.0outputinputconnectablestorable
weight for closest cut and closest solution comparisons. Specifies the weight vector for evaluating "closeness". Axes with smaller weights are considered less important than those with higher weights.
weightX (wx) double1.0outputinputconnectablestorable
X weight for closest cut and closest solution comparisons
weightY (wy) double1.0outputinputconnectablestorable
Y weight for closest cut and closest solution comparisons
weightZ (wz) double1.0outputinputconnectablestorable
Z weight for closest cut and closest solution comparisons
enableInitialRotation (eir) boolfalseoutputinputconnectablestorable
enable use of initial Euler rotation attribute for closest cut and closest solution comparisons. If false, the value of the first sample is used as the initial value.
initialRotation (ir) double30., 0., 0.outputinputconnectablestorable
the initial Euler rotation value for closest cut and closest solution comparisons, used in place of first sample for if enableInitialRotation is true.
initialRotationX (irx) angle (double)0.0degoutputinputconnectablestorable
initial X Euler rotation component
initialRotationY (iry) angle (double)0.0degoutputinputconnectablestorable
initial Y Euler rotationcomponent
initialRotationZ (irz) angle (double)0.0degoutputinputconnectablestorable
initial Z Euler rotationcomponent
outputUsageOpt (use) enum0outputinputconnectablestorablehidden
Controls output rotation order. Internal use only. Do not set.