#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 453 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 | GetDerivativeTolerance () const |
| Get the derivative tolerance. |
|
| void | SetDerivativeTolerance (double pValue) |
| Set the derivative tolerance. |
|
| double | GetValueTolerance () const |
| Get the tolerance value. |
|
| void | SetValueTolerance (double pValue) |
| Set the tolerance value. |
|
| bool | GetKeepFirstAndLastKeys () const |
| Get the state of the KeepFirstAndLastKeys
flag. |
|
| void | SetKeepFirstAndLastKeys (bool pKeepFirstAndLastKeys) |
| Set the state of the KeepFirstAndLastKeys
flag. |
|
| bool | GetKeepOneKey () const |
| Get the state of the KeepOneKey flag.
|
|
| void | SetKeepOneKey (bool pKeepOneKey) |
| Set the state of the KeepOneKey flag.
|
|
| void | SetKeepNotPureAutoKeys (bool pKeep) |
| Tell the filter keep cubic curve keys which
are not pure auto. |
|
| 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 506 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 558 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 GetDerivativeTolerance | ( | ) | const |
Get the derivative tolerance.
| void SetDerivativeTolerance | ( | double | pValue | ) |
Set the derivative tolerance.
| pValue | Value derivative tolerance. |
| double GetValueTolerance | ( | ) | const |
Get the tolerance value.
| void SetValueTolerance | ( | double | pValue | ) |
Set the tolerance value.
| pValue | Tolerance value. |
| bool GetKeepFirstAndLastKeys | ( | ) | const |
Get the state of the KeepFirstAndLastKeys flag.
true if the filter keeps the first and last
keys.| void SetKeepFirstAndLastKeys | ( | bool | pKeepFirstAndLastKeys | ) |
Set the state of the KeepFirstAndLastKeys flag.
| pKeepFirstAndLastKeys | Set to true if you want the filter to keep the
first and last keys. |
| bool GetKeepOneKey | ( | ) | const |
Get the state of the KeepOneKey flag.
true if the filter keeps one keys.| void SetKeepOneKey | ( | bool | pKeepOneKey | ) |
Set the state of the KeepOneKey flag.
| pKeepOneKey | Set to true if you want the filter to keep one
key. |
| void SetKeepNotPureAutoKeys | ( | bool | pKeep | ) |
Tell the filter keep cubic curve keys which are not pure auto.
| pKeep | KeepNotPureAutoKeys flag. |