Public Types | Public Member Functions

IFixer Class Reference

Search for all occurrences

Detailed Description

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.

See also:
IAnalysis You get this interface by calling GetCOREInterface(FIXER_INTERFACE)
IWorkbench

#include <AnimationWBImp.h>

Inheritance diagram for IFixer:
Inheritance graph
[legend]

List of all members.

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)

Member Enumeration Documentation


Member Function Documentation

DECLARE_DESCRIPTOR ( IFixer  )
virtual void DoAngSmoothing ( Tab< INode * > &  nodes,
int  width,
float  damping 
) [virtual]

Perform Angular Smooth fixing on the passed in biped nodes.

Parameters:
[in] nodes The nodes which to fix.
[in] width How many frames to do the fixing over.
[in] damping Damping value.
virtual void DoAngBlurring ( Tab< INode * > &  nodes,
int  width,
float  damping 
) [virtual]

Perform Angular Blur fixing on the passed in biped nodes.

Parameters:
[in] nodes The nodes which to fix.
[in] width How many frames to do the fixing over.
[in] damping Damping value.
virtual void DoAdvAngSmoothing ( Tab< INode * > &  nodes,
int  width,
float  damping 
) [virtual]

Perform Advanced Angular Smooth fixing on the passed in biped nodes.

Parameters:
[in] nodes - The nodes which to fix.
[in] width - How many frames to do the fixing over.
[in] damping - Damping value.
virtual void DoPosSmoothing ( Tab< INode * > &  nodes,
int  width,
float  damping 
) [virtual]

Perform Position Smooth fixing on the passed in biped nodes.

Parameters:
[in] nodes The nodes which to fix.
[in] width How many frames to do the fixing over.
[in] damping Damping value.
virtual void DoPosBlurring ( Tab< INode * > &  nodes,
int  width,
float  damping 
) [virtual]

Perform Position Blur fixing on the passed in biped nodes.

Parameters:
[in] nodes The nodes which to fix.
[in] width How many frames to do the fixing over.
[in] damping Damping value.
virtual void DoRemoveKeys ( Tab< INode * > &  nodes,
int  intervalWidth,
BOOL  deleteKeys 
) [virtual]

Perform Remove Key fixing on the passed in biped nodes.

Removes keys as the fix.

Parameters:
[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.

Parameters:
[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.
virtual void DoKneeExtensionFix ( Tab< INode * > &  nodes,
float  kneeAngle 
) [virtual]

Perform Knee Extension Fix.

Parameters:
[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   
)

IFixer IFixer IFixer IFixer IFixer IFixer IFixer IFixer IFixer IFixer
IFixer IFixer IFixer IFixer IFixer IFixer IFixer IFixer IFixer IFixer