FbxAnimCurveFilterScaleCompensate Class Reference
 
 
 
FbxAnimCurveFilterScaleCompensate Class Reference

#include <fbxanimcurvefilters.h>


Class Description

This filter tries to compensate parent's scale to children's scale.

This filter is used to convert scale animation curves of nodes whose transform inherit type are eInheritRrs. In the eInheritRrs mode, child objects do not inherit scaling from parent objects at all. When a parent object is scaled, the child does not scale, but translates in order to keep proportional distance between models. If you want to change the inherit type of certain nodes from eInheritRrs to eInheritRrSs, you may call this filter to compensate scale.

Definition at line 372 of file fbxanimcurvefilters.h.

Inheritance diagram for FbxAnimCurveFilterScaleCompensate:
FbxAnimCurveFilter

List of all members.

Public Member Functions

  FbxAnimCurveFilterScaleCompensate ()
  Constructor.
virtual const char *  GetName () const
  Return name of the filter.
virtual bool  Apply (FbxAnimCurve **pCurve, int pCount, FbxIOSettings &pIOS, FbxStatus *pStatus=NULL)
  Compensate parent's scale to children's scale.
virtual bool  Apply (FbxAnimCurve &pCurve, FbxStatus *pStatus=NULL)
  Always fail because this filter needs 2 curves.

Constructor & Destructor Documentation


Member Function Documentation

virtual const char* GetName ( ) const [virtual]

Return name of the filter.

Reimplemented from FbxAnimCurveFilter.

virtual bool Apply ( FbxAnimCurve **  pCurve,
int  pCount,
FbxIOSettings pIOS,
FbxStatus pStatus = NULL 
) [virtual]

Compensate parent's scale to children's scale.

Parameters:
pCurve In pCurve, index 0 is the curve to be filtered. index 1 is the parent curve.
pCount Need to be 2.
pIOS IO setting object.
pStatus The FbxStatus object to hold error codes.
Returns:
true if the curve filtering operation was successful, false otherwise.
Remarks:
This filter will re-sample the animation curves.
virtual bool Apply ( FbxAnimCurve pCurve,
FbxStatus pStatus = NULL 
) [virtual]

Always fail because this filter needs 2 curves.

Implements FbxAnimCurveFilter.


The documentation for this class was generated from the following file: