Interface for perfoming workbench fixer functions.
This class peforms workbench functions related to the fixing of fcurves. Fixing is done after analysis is done and works by fixing the analysis detection locations.
#include <AnimationWBImp.h>
Public Types |
|
enum | FilterFunctions
{ doAngSmoothing = 0, doAngBlurring, doAdvAngSmoothing, doPosSmoothing, doPosBlurring, doRemoveKeys, doKneeWobbleFix, doKneeExtensionFix } |
Public Member Functions |
|
DECLARE_DESCRIPTOR (IFixer) | |
virtual void | DoAngSmoothing (Tab< INode * > &nodes, int width, float damping) |
Perform Angular Smooth fixing on the passed
in biped nodes. |
|
virtual void | DoAngBlurring (Tab< INode * > &nodes, int width, float damping) |
Perform Angular Blur fixing on the passed in
biped nodes. |
|
virtual void | DoAdvAngSmoothing (Tab< INode * > &nodes, int width, float damping) |
Perform Advanced Angular Smooth fixing on
the passed in biped nodes. |
|
virtual void | DoPosSmoothing (Tab< INode * > &nodes, int width, float damping) |
Perform Position Smooth fixing on the passed
in biped nodes. |
|
virtual void | DoPosBlurring (Tab< INode * > &nodes, int width, float damping) |
Perform Position Blur fixing on the passed
in biped nodes. |
|
virtual void | DoRemoveKeys (Tab< INode * > &nodes, int intervalWidth, BOOL deleteKeys) |
Perform Remove Key fixing on the passed in
biped nodes. |
|
virtual void | DoKneeWobbleFix (Tab< INode * > &nodes, float frameThreshold, float fluctuationThreshold) |
Perform Knee Wobble Fix. |
|
virtual void | DoKneeExtensionFix (Tab< INode * > &nodes, float kneeAngle) |
Perform Knee Extension Fix. |
|
BEGIN_FUNCTION_MAP | VFN_3 (doAngSmoothing, DoAngSmoothing, TYPE_INODE_TAB_BR, TYPE_INT, TYPE_FLOAT) |
VFN_3 (doAngBlurring, DoAngBlurring, TYPE_INODE_TAB_BR, TYPE_INT, TYPE_FLOAT) | |
VFN_3 (doAdvAngSmoothing, DoAdvAngSmoothing, TYPE_INODE_TAB_BR, TYPE_INT, TYPE_FLOAT) | |
VFN_3 (doPosSmoothing, DoPosSmoothing, TYPE_INODE_TAB_BR, TYPE_INT, TYPE_FLOAT) | |
VFN_3 (doPosBlurring, DoPosBlurring, TYPE_INODE_TAB_BR, TYPE_INT, TYPE_FLOAT) | |
VFN_3 (doRemoveKeys, DoRemoveKeys, TYPE_INODE_TAB_BR, TYPE_INT, TYPE_BOOL) | |
VFN_3 (doKneeWobbleFix, DoKneeWobbleFix, TYPE_INODE_TAB_BR, TYPE_FLOAT, TYPE_FLOAT) | |
VFN_2 (doKneeExtensionFix, DoKneeExtensionFix, TYPE_INODE_TAB_BR, TYPE_FLOAT) |
enum FilterFunctions |
DECLARE_DESCRIPTOR | ( | IFixer | ) |
Perform Angular Smooth fixing on the passed in biped nodes.
[in] | nodes | The nodes which to fix. |
[in] | width | How many frames to do the fixing over. |
[in] | damping | Damping value. |
Perform Angular Blur fixing on the passed in biped nodes.
[in] | nodes | The nodes which to fix. |
[in] | width | How many frames to do the fixing over. |
[in] | damping | Damping value. |
Perform Advanced Angular Smooth fixing on the passed in biped nodes.
[in] | nodes | - The nodes which to fix. |
[in] | width | - How many frames to do the fixing over. |
[in] | damping | - Damping value. |
Perform Position Smooth fixing on the passed in biped nodes.
[in] | nodes | The nodes which to fix. |
[in] | width | How many frames to do the fixing over. |
[in] | damping | Damping value. |
Perform Position Blur fixing on the passed in biped nodes.
[in] | nodes | The nodes which to fix. |
[in] | width | How many frames to do the fixing over. |
[in] | damping | Damping value. |
Perform Remove Key fixing on the passed in biped nodes.
Removes keys as the fix.
[in] | nodes | The nodes which to fix. |
[in] | intervalWidth | How many frames to do the fixing over. |
[in] | deleteKeys | Whether or not to delete the keys or just move them as the fix. |
virtual void DoKneeWobbleFix | ( | Tab< INode * > & | nodes, |
float | frameThreshold, | ||
float | fluctuationThreshold | ||
) | [virtual] |
Perform Knee Wobble Fix.
[in] | nodes | The nodes which to fix. |
[in] | frameThreshold | How much time, in terms of frames, that the calculation will use to fix the wobble. |
[in] | fluctuationThreshold | How much deviation will that will trigger a detection. In degrees, from 0 to 360. |
Perform Knee Extension Fix.
[in] | nodes | The nodes which to fix. |
[in] | kneeAngle | Knee Angle. In degrees, from 0 to 360. |
BEGIN_FUNCTION_MAP VFN_3 | ( | doAngSmoothing | , |
DoAngSmoothing | , | ||
TYPE_INODE_TAB_BR | , | ||
TYPE_INT | , | ||
TYPE_FLOAT | |||
) |
VFN_3 | ( | doAngBlurring | , |
DoAngBlurring | , | ||
TYPE_INODE_TAB_BR | , | ||
TYPE_INT | , | ||
TYPE_FLOAT | |||
) |
VFN_3 | ( | doAdvAngSmoothing | , |
DoAdvAngSmoothing | , | ||
TYPE_INODE_TAB_BR | , | ||
TYPE_INT | , | ||
TYPE_FLOAT | |||
) |
VFN_3 | ( | doPosSmoothing | , |
DoPosSmoothing | , | ||
TYPE_INODE_TAB_BR | , | ||
TYPE_INT | , | ||
TYPE_FLOAT | |||
) |
VFN_3 | ( | doPosBlurring | , |
DoPosBlurring | , | ||
TYPE_INODE_TAB_BR | , | ||
TYPE_INT | , | ||
TYPE_FLOAT | |||
) |
VFN_3 | ( | doRemoveKeys | , |
DoRemoveKeys | , | ||
TYPE_INODE_TAB_BR | , | ||
TYPE_INT | , | ||
TYPE_BOOL | |||
) |
VFN_3 | ( | doKneeWobbleFix | , |
DoKneeWobbleFix | , | ||
TYPE_INODE_TAB_BR | , | ||
TYPE_FLOAT | , | ||
TYPE_FLOAT | |||
) |
VFN_2 | ( | doKneeExtensionFix | , |
DoKneeExtensionFix | , | ||
TYPE_INODE_TAB_BR | , | ||
TYPE_FLOAT | |||
) |