Public Member Functions

FbxAnimCurveFilterScaleCompensate Class Reference

Search for all occurrences

Detailed 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.

#include <fbxanimcurvefilters.h>

Inheritance diagram for FbxAnimCurveFilterScaleCompensate:
Inheritance graph
[legend]

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

Constructor.


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:
pCurveIn pCurve, index 0 is the curve to be filtered. index 1 is the parent curve.
pCountNeed to be 2.
pIOSIO setting object.
pStatusThe 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:

FbxAnimCurveFilterScaleCompensate FbxAnimCurveFilterScaleCompensate FbxAnimCurveFilterScaleCompensate FbxAnimCurveFilterScaleCompensate FbxAnimCurveFilterScaleCompensate FbxAnimCurveFilterScaleCompensate FbxAnimCurveFilterScaleCompensate FbxAnimCurveFilterScaleCompensate FbxAnimCurveFilterScaleCompensate FbxAnimCurveFilterScaleCompensate
FbxAnimCurveFilterScaleCompensate FbxAnimCurveFilterScaleCompensate FbxAnimCurveFilterScaleCompensate FbxAnimCurveFilterScaleCompensate FbxAnimCurveFilterScaleCompensate FbxAnimCurveFilterScaleCompensate FbxAnimCurveFilterScaleCompensate FbxAnimCurveFilterScaleCompensate FbxAnimCurveFilterScaleCompensate FbxAnimCurveFilterScaleCompensate