#include
<kfbxkfcurvefilters.h>
Filter to test if each key is really necessary to define the curve at a definite degree of precision. It filters recursively from the strongest difference first. All useless keys are eliminated.
Definition at line 265 of file kfbxkfcurvefilters.h.
Public Member Functions |
|
virtual const char * | GetName () const |
Get the Name of the Filter. |
|
virtual KTime & | GetStartTime () |
Get the Start Time. |
|
virtual void | SetStartTime (KTime &pTime) |
Set the Start Time. |
|
virtual KTime & | GetStopTime () |
Get the Stop Time. |
|
virtual void | SetStopTime (KTime &pTime) |
Set the Stopping Time. |
|
virtual int | GetStartKey (KFbxAnimCurve &pCurve) const |
Get the Start Key. |
|
virtual K_DEPRECATED int | GetStartKey (KFCurve &pCurve) const |
This method is deprecated and should be
replaced with a call to GetStartKey(KFbxAnimCurve& . |
|
virtual int | GetStopKey (KFbxAnimCurve &pCurve) const |
Get the Stop Key. |
|
virtual K_DEPRECATED int | GetStopKey (KFCurve &pCurve) const |
This method is deprecated and should be
replaced with a call to GetStopKey(KFbxAnimCurve& . |
|
virtual bool | NeedApply (KFbxAnimStack *pAnimStack) |
Check if any curves on the animation stack
need an application of the filter. |
|
virtual bool | NeedApply (KFbxAnimCurveNode &pCurveNode) |
Check if the KFbxAnimCurveNode
need an application of the filter. |
|
virtual K_DEPRECATED bool | NeedApply (KFCurveNode &pCurveNode, bool pRecursive=true) |
This method is deprecated and should be
replaced with a call to NeedApply(KFbxAnimCurveNode&
. |
|
virtual bool | NeedApply (KFbxAnimCurve **pCurve, int pCount) |
Check if the given KFbxAnimCurve need an application of the filter.
|
|
virtual K_DEPRECATED bool | NeedApply (KFCurve **pCurve, int pCount) |
This method is deprecated and should be
replaced with a call to NeedApply(KFbxAnimCurve** . |
|
virtual bool | NeedApply (KFbxAnimCurve &pCurve) |
Check if a KFbxAnimCurve need an application of the filter.
|
|
virtual K_DEPRECATED bool | NeedApply (KFCurve &pCurve) |
This method is deprecated and should be
replaced with a call to NeedApply(KFbxAnimCurve& . |
|
virtual KError * | GetError () |
Retrieve error object. |
|
virtual int | GetLastErrorID () const |
Get last error ID. |
|
virtual const char * | GetLastErrorString () const |
Get last error name. |
|
virtual bool | Apply (KFbxAnimStack *pAnimStack) |
Apply filter to all the curves stored in the
AnimStack. |
|
virtual bool | Apply (KFbxAnimCurveNode &pCurveNode) |
Apply filter on all the curves of a
KFbxAnimCurveNode.
|
|
virtual K_DEPRECATED bool | Apply (KFCurveNode &pCurveNode, bool pRecursive=true) |
This method is deprecated and should be
replaced with a call to Apply(KFbxAnimCurveNode&
. |
|
virtual bool | Apply (KFbxAnimCurve **pCurve, int pCount) |
Apply filter on the given KFbxAnimCurve. |
|
virtual K_DEPRECATED bool | Apply (KFCurve **pCurve, int pCount) |
This method is deprecated and should be
replaced with a call to Apply(KFbxAnimCurve** . |
|
virtual bool | Apply (KFbxAnimCurve &pCurve) |
Apply filter on a KFbxAnimCurve. |
|
virtual K_DEPRECATED bool | Apply (KFCurve &pCurve) |
This method is deprecated and should be
replaced with a call to Apply(KFbxAnimCurve& . |
|
virtual void | Reset () |
Reset default parameters. |
|
double | GetPrecision () const |
Get precision. |
|
void | SetPrecision (double pPrecision) |
Set precision. |
|
bool | GetKeySync () const |
Return true key sync is applied
at the end. |
|
void | SetKeySync (bool pKeySync) |
Set to true to apply key sync
at the end. |
virtual const char* GetName | ( | ) | const [virtual] |
virtual KTime& GetStartTime | ( | ) | [virtual] |
virtual void SetStartTime | ( | KTime & | pTime | ) | [virtual] |
virtual KTime& GetStopTime | ( | ) | [virtual] |
virtual void SetStopTime | ( | KTime & | pTime | ) | [virtual] |
virtual int GetStartKey | ( | KFbxAnimCurve & | pCurve | ) | const [virtual] |
Get the Start Key.
pCurve | Curve on which we want to retrieve the start key. |
Reimplemented from KFbxKFCurveFilter.
This method is deprecated and should be replaced with a call to GetStartKey(KFbxAnimCurve& .
..)
pCurve |
Reimplemented from KFbxKFCurveFilter.
virtual int GetStopKey | ( | KFbxAnimCurve & | pCurve | ) | const [virtual] |
Get the Stop Key.
pCurve | Curve on which we want to retrieve the stop key |
Reimplemented from KFbxKFCurveFilter.
This method is deprecated and should be replaced with a call to GetStopKey(KFbxAnimCurve& .
..)
pCurve |
Reimplemented from KFbxKFCurveFilter.
virtual bool NeedApply | ( | KFbxAnimStack * | pAnimStack | ) | [inline, virtual] |
Check if any curves on the animation stack need an application of the filter.
pAnimStack | Animation stack where to retrieve the AnimCurves |
true
if one or more animated properti(es) need an
application of the filter.Reimplemented from KFbxKFCurveFilter.
Definition at line 318 of file kfbxkfcurvefilters.h.
virtual bool NeedApply | ( | KFbxAnimCurveNode & | pCurveNode | ) | [virtual] |
Check if the KFbxAnimCurveNode need an application of the filter.
pCurveNode | Curves to test if they needs application of filter |
true
if the KFbxAnimCurveNode
need an application of the filter.Reimplemented from KFbxKFCurveFilter.
virtual K_DEPRECATED bool NeedApply | ( | KFCurveNode & | pCurveNode, | |
bool | pRecursive = true |
|||
) | [virtual] |
This method is deprecated and should be replaced with a call to NeedApply(KFbxAnimCurveNode& .
..)
pCurveNode | ||
pRecursive |
Reimplemented from KFbxKFCurveFilter.
virtual bool NeedApply | ( | KFbxAnimCurve ** | pCurve, | |
int | pCount | |||
) | [virtual] |
Check if the given KFbxAnimCurve need an application of the filter.
pCurve | Array of Curves to test if they need the and application of the filter. | |
pCount | Number of Curves in array. |
true
if one or more KFbxAnimCurve in an array need an application of
the filter.Reimplemented from KFbxKFCurveFilter.
This method is deprecated and should be replaced with a call to NeedApply(KFbxAnimCurve** .
..)
pCurve | ||
pCount |
Reimplemented from KFbxKFCurveFilter.
virtual bool NeedApply | ( | KFbxAnimCurve & | pCurve | ) | [virtual] |
Check if a KFbxAnimCurve need an application of the filter.
pCurve | Curve to test if it needs application of filter. |
true
if the KFbxAnimCurve need an application of the
filter.Reimplemented from KFbxKFCurveFilter.
virtual K_DEPRECATED bool NeedApply | ( | KFCurve & | pCurve | ) | [virtual] |
This method is deprecated and should be replaced with a call to NeedApply(KFbxAnimCurve& .
..)
pCurve |
Reimplemented from KFbxKFCurveFilter.
virtual KError* GetError | ( | ) | [virtual] |
virtual int GetLastErrorID | ( | ) | const [virtual] |
Get last error ID.
virtual const char* GetLastErrorString | ( | ) | const [virtual] |
Get last error name.
virtual bool Apply | ( | KFbxAnimStack * | pAnimStack | ) | [inline, virtual] |
Apply filter to all the curves stored in the AnimStack.
pAnimStack | Animation stack where to retrieve the AnimCurves |
true
if successful, false
otherwise.Reimplemented from KFbxKFCurveFilter.
Definition at line 370 of file kfbxkfcurvefilters.h.
virtual bool Apply | ( | KFbxAnimCurveNode & | pCurveNode | ) | [virtual] |
Apply filter on all the curves of a KFbxAnimCurveNode.
pCurveNode | Curve to apply the filter. |
true
if successful, false
otherwise.Reimplemented from KFbxKFCurveFilter.
virtual K_DEPRECATED bool Apply | ( | KFCurveNode & | pCurveNode, | |
bool | pRecursive = true |
|||
) | [virtual] |
This method is deprecated and should be replaced with a call to Apply(KFbxAnimCurveNode& .
..)
pCurveNode | ||
pRecursive |
Reimplemented from KFbxKFCurveFilter.
virtual bool Apply | ( | KFbxAnimCurve ** | pCurve, | |
int | pCount | |||
) | [virtual] |
Apply filter on the given KFbxAnimCurve.
pCurve | Array of Curve to apply the filter. | |
pCount | Number of Curves in array. |
true
if successful, false
otherwise.Reimplemented from KFbxKFCurveFilter.
This method is deprecated and should be replaced with a call to Apply(KFbxAnimCurve** .
..)
pCurve | ||
pCount |
Reimplemented from KFbxKFCurveFilter.
virtual bool Apply | ( | KFbxAnimCurve & | pCurve | ) | [virtual] |
Apply filter on a KFbxAnimCurve.
pCurve | Curve to apply the filter. |
true
if successful, false
otherwise.Reimplemented from KFbxKFCurveFilter.
virtual K_DEPRECATED bool Apply | ( | KFCurve & | pCurve | ) | [virtual] |
This method is deprecated and should be replaced with a call to Apply(KFbxAnimCurve& .
..)
pCurve |
Reimplemented from KFbxKFCurveFilter.
virtual void Reset | ( | ) | [virtual] |
Reset default parameters.
Reimplemented from KFbxKFCurveFilter.
double GetPrecision | ( | ) | const |
Get precision.
void SetPrecision | ( | double | pPrecision | ) |
Set precision.
pPrecision | The precision to set. |
bool GetKeySync | ( | ) | const |
Return true
key sync is applied at the end.
void SetKeySync | ( | bool | pKeySync | ) |
Set to true
to apply key sync at the end.
pKeySync | Key sync flag. |