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 name | Parents | MFn type | Compatible function sets |
---|
filterEuler | filter | kFilterEuler | kBase 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) | Type | Default | Flags |
---|
|
smooth
(s )
| enum | 3 | |
|
|
nearestTo
(nt )
| enum | 2 | |
|
|
weight
(w )
| double3 | 1.0, 1.0, 1.0 | |
|
|
|
|
|
enableInitialRotation
(eir )
| bool | false | |
|
|
initialRotation
(ir )
| double3 | 0., 0., 0. | |
|
| initialRotationX
(irx )
| angle (double) | 0.0deg | | |
|
| initialRotationY
(iry )
| angle (double) | 0.0deg | | |
|
| initialRotationZ
(irz )
| angle (double) | 0.0deg | | |
|
|
outputUsageOpt
(use )
| enum | 0 | |
|