Public Member Functions

FbxAnimCurveFilterScaleByCurve Class Reference

Search for all occurrences

Detailed Description

Key scale filter.

Instead of scaling by a constant float value, we will scale by using another anim curve Use a single channel curve only to scale

Filter to scale the keys of a set of animation curves.

Definition at line 828 of file fbxanimcurvefilters.h.

#include <fbxanimcurvefilters.h>

Inheritance diagram for FbxAnimCurveFilterScaleByCurve:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FbxAnimCurveFilterScaleByCurve ()
 Constructor.
virtual ~FbxAnimCurveFilterScaleByCurve ()
 Destructor.
virtual const char * GetName () const
 Get the name of the filter.
virtual bool Apply (FbxAnimCurveNode &pCurveNode, FbxStatus *pStatus=NULL)
 Apply filter on all the curves of an animation curve node.
virtual bool Apply (FbxAnimCurve &pCurve, FbxStatus *pStatus=NULL)
 Apply filter on an animation curve.
virtual void Reset ()
 Reset the filter to its default parameters.
FbxAnimCurveGetScale () const
 Get the scale factor.
void SetScale (FbxAnimCurve *pScale)
 Set the scale factor.

Exposed parent class methods.

virtual bool Apply (FbxAnimStack *pAnimStack, FbxStatus *pStatus=NULL)
 Apply filter to all the curves stored in the animation stack.
virtual bool Apply (FbxObject *pObj, FbxAnimStack *pAnimStack, FbxStatus *pStatus=NULL)
 Apply filter to all the animated properties of the object.
virtual bool Apply (FbxAnimCurve **pCurve, int pCount, FbxStatus *pStatus=NULL)
 Apply filter on an array of animation curves.

Constructor & Destructor Documentation

Constructor.

virtual ~FbxAnimCurveFilterScaleByCurve ( ) [inline, virtual]

Destructor.

Definition at line 835 of file fbxanimcurvefilters.h.

{};

Member Function Documentation

virtual const char* GetName ( ) const [virtual]

Get the name of the filter.

Returns:
Pointer to name.

Reimplemented from FbxAnimCurveFilter.

virtual bool Apply ( FbxAnimStack pAnimStack,
FbxStatus pStatus = NULL 
) [inline, virtual]

Apply filter to all the curves stored in the animation stack.

Parameters:
pAnimStackAnimation stack where to retrieve the animation curves
pStatusThe FbxStatus object to hold error codes.
Returns:
true if the curve filtering operation was successful, false otherwise.

Reimplemented from FbxAnimCurveFilter.

Definition at line 846 of file fbxanimcurvefilters.h.

{ return FbxAnimCurveFilter::Apply(pAnimStack, pStatus); }
virtual bool Apply ( FbxObject pObj,
FbxAnimStack pAnimStack,
FbxStatus pStatus = NULL 
) [inline, virtual]

Apply filter to all the animated properties of the object.

Parameters:
pObjObject containing the animated properties to which the filter is applied.
pAnimStackAnimation stack where to retrieve the animation curves
pStatusThe FbxStatus object to hold error codes.
Returns:
true if the curve filtering operation was successful, false otherwise.

Reimplemented from FbxAnimCurveFilter.

Definition at line 847 of file fbxanimcurvefilters.h.

{ return FbxAnimCurveFilter::Apply(pObj, pAnimStack, pStatus); }
virtual bool Apply ( FbxAnimCurve **  pCurve,
int  pCount,
FbxStatus pStatus = NULL 
) [inline, virtual]

Apply filter on an array of animation curves.

Parameters:
pCurveArray of curves to which the filter is applied.
pCountNumber of curves in the array.
pStatusThe FbxStatus object to hold error codes.
Returns:
true if the curve filtering operation was successful, false otherwise.

Reimplemented from FbxAnimCurveFilter.

Definition at line 848 of file fbxanimcurvefilters.h.

{ return FbxAnimCurveFilter::Apply(pCurve, pCount, pStatus); }
virtual bool Apply ( FbxAnimCurveNode pCurveNode,
FbxStatus pStatus = NULL 
) [virtual]

Apply filter on all the curves of an animation curve node.

Parameters:
pCurveNodeCurve node to which the filter is applied.
pStatusThe FbxStatus object to hold error codes.
Returns:
true if the curve filtering operation was successful, false otherwise.
Remarks:
This method collects all the FbxAnimCurve objects connected to the curve node and calls Apply(FbxAnimCurve**, int)

Reimplemented from FbxAnimCurveFilter.

virtual bool Apply ( FbxAnimCurve pCurve,
FbxStatus pStatus = NULL 
) [virtual]

Apply filter on an animation curve.

Parameters:
pCurveCurve to which the filter is applied.
pStatusThe FbxStatus object to hold error codes.
Returns:
true if the curve filtering operation was successful, false otherwise.

Implements FbxAnimCurveFilter.

virtual void Reset ( ) [virtual]

Reset the filter to its default parameters.

(null curve)

Reimplemented from FbxAnimCurveFilter.

FbxAnimCurve* GetScale ( ) const

Get the scale factor.

Returns:
The current scale factor.
void SetScale ( FbxAnimCurve pScale)

Set the scale factor.

Parameters:
pScaleThe new scale factor to set.

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

FbxAnimCurveFilterScaleByCurve FbxAnimCurveFilterScaleByCurve FbxAnimCurveFilterScaleByCurve FbxAnimCurveFilterScaleByCurve FbxAnimCurveFilterScaleByCurve FbxAnimCurveFilterScaleByCurve FbxAnimCurveFilterScaleByCurve FbxAnimCurveFilterScaleByCurve FbxAnimCurveFilterScaleByCurve FbxAnimCurveFilterScaleByCurve
FbxAnimCurveFilterScaleByCurve FbxAnimCurveFilterScaleByCurve FbxAnimCurveFilterScaleByCurve FbxAnimCurveFilterScaleByCurve FbxAnimCurveFilterScaleByCurve FbxAnimCurveFilterScaleByCurve FbxAnimCurveFilterScaleByCurve FbxAnimCurveFilterScaleByCurve FbxAnimCurveFilterScaleByCurve FbxAnimCurveFilterScaleByCurve