#include <fbxanimcurvefilters.h>
Unroll filter.
Filter to apply continuous rotation values to animation curves. Due to Euler rotation properties, when a rotation angle cross over the 180 degree value, it becomes -179. This filter tries to keep a continuous rotation effectively by producing increasing values, to actually become 181 degrees, etc...
Definition at line 974 of file fbxanimcurvefilters.h.
Public Member Functions |
|
| FbxAnimCurveFilterUnroll () | |
| Constructor. |
|
| virtual | ~FbxAnimCurveFilterUnroll () |
| Destructor. |
|
| virtual const char * | GetName () const |
| Get the name of the filter. |
|
| virtual bool | NeedApply (FbxAnimStack *, FbxStatus *pStatus=NULL) |
| This filter expects to work with 3
interdependent curves. |
|
| virtual bool | NeedApply (FbxObject *, FbxAnimStack *, FbxStatus *pStatus=NULL) |
| This filter expects to work with 3
interdependent curves. |
|
| virtual bool | NeedApply (FbxAnimCurveNode &pCurveNode, FbxStatus *pStatus=NULL) |
| Check if the animation curve node needs an
application of the filter. |
|
| virtual bool | NeedApply (FbxAnimCurve **pCurve, int pCount, FbxStatus *pStatus=NULL) |
| Check if the given animation curve needs an
application of the filter. |
|
| virtual bool | NeedApply (FbxAnimCurve &, FbxStatus *pStatus=NULL) |
| This filter expects to work with
interdependent curves. |
|
| virtual bool | Apply (FbxAnimStack *, FbxStatus *pStatus=NULL) |
| This filter expects to work with 3
interdependent curves. |
|
| virtual bool | Apply (FbxObject *, FbxAnimStack *, FbxStatus *pStatus=NULL) |
| This filter expects to work with 3
interdependent curves. |
|
| virtual bool | Apply (FbxAnimCurveNode &pCurveNode, FbxStatus *pStatus=NULL) |
| Apply filter on all the curves of an
animation curve node. |
|
| virtual bool | Apply (FbxAnimCurve **pCurve, int pCount, FbxStatus *pStatus=NULL) |
| Apply filter on the given animation curve.
|
|
| virtual bool | Apply (FbxAnimCurve &, FbxStatus *pStatus=NULL) |
| This filter expects to work with 3
interdependent curves. |
|
| virtual void | Reset () |
| Reset the filter to its default parameters.
|
|
| double | GetQualityTolerance () const |
| Get the unroll quality tolerance. |
|
| void | SetQualityTolerance (double pQualityTolerance) |
| Set the unroll quality tolerance. |
|
| bool | GetTestForPath () const |
| Get if the test path is enabled. |
|
| void | SetTestForPath (bool pTestForPath) |
| Set if the test path is enabled. |
|
| bool | GetForceAutoTangents () const |
| Get the current state of the
ForceAutoTangents flag. |
|
| void | SetForceAutoTangents (bool pForceAutoTangents) |
| Set the new state of the ForceAutoTangents
flag. |
|
Constructor.
| virtual ~FbxAnimCurveFilterUnroll | ( | ) | [inline, virtual] |
| virtual const char* GetName | ( | ) | const [virtual] |
| virtual bool NeedApply | ( | FbxAnimStack * | , |
| FbxStatus * | pStatus =
NULL |
||
| ) | [inline, virtual] |
This filter expects to work with 3 interdependent curves.
Passing the animation stack makes no sense since this object would not know which curves to handle.
| pAnimStack | Animation stack |
| pStatus | The FbxStatus object to hold error codes. |
false.Reimplemented from FbxAnimCurveFilter.
Definition at line 994 of file fbxanimcurvefilters.h.
{ FBX_UNUSED(pStatus); return false; };
| virtual bool NeedApply | ( | FbxObject * | , |
| FbxAnimStack * | , | ||
| FbxStatus * | pStatus =
NULL |
||
| ) | [inline, virtual] |
This filter expects to work with 3 interdependent curves.
Collecting all the animation curves from the properties defined in pObj could not guarantee that we are manipulating 3 interdependent curves.
| pObj | Object containing the properties to test. |
| pAnimStack | Animation stack where to retrieve the animation curves |
| pStatus | The FbxStatus object to hold error codes. |
false.Reimplemented from FbxAnimCurveFilter.
Definition at line 1003 of file fbxanimcurvefilters.h.
{ FBX_UNUSED(pStatus); return false; }
| virtual bool NeedApply | ( | FbxAnimCurveNode & | pCurveNode, |
| FbxStatus * | pStatus =
NULL |
||
| ) | [virtual] |
Check if the animation curve node needs an application of the filter.
| pCurveNode | Curve node to test. |
| pStatus | The FbxStatus object to hold error codes. |
true if the animation curve node needs an
application of the filter, false otherwise.false.Reimplemented from FbxAnimCurveFilter.
| virtual bool NeedApply | ( | FbxAnimCurve ** | pCurve, |
| int | pCount, | ||
| FbxStatus * | pStatus =
NULL |
||
| ) | [virtual] |
Check if the given animation curve needs an application of the filter.
| pCurve | Array of curves to test if they need an application of the filter. |
| pCount | Number of curves in array. |
| pStatus | The FbxStatus object to hold error codes. |
true if at least one animation curve in the array
needs an application of the filter, false
otherwise.Reimplemented from FbxAnimCurveFilter.
| virtual bool NeedApply | ( | FbxAnimCurve & | , |
| FbxStatus * | pStatus =
NULL |
||
| ) | [inline, virtual] |
This filter expects to work with interdependent curves.
Receiving one single curve is useless.
false.Reimplemented from FbxAnimCurveFilter.
Definition at line 1030 of file fbxanimcurvefilters.h.
{ FBX_UNUSED(pStatus); return false; };
| virtual bool Apply | ( | FbxAnimStack * | , |
| FbxStatus * | pStatus =
NULL |
||
| ) | [inline, virtual] |
This filter expects to work with 3 interdependent curves.
Passing the animation stack makes no sense since this object would not know which curves to handle.
| pAnimStack | Animation stack where to retrieve the animation curves. |
| pStatus | The FbxStatus object to hold error codes. |
false.Reimplemented from FbxAnimCurveFilter.
Definition at line 1038 of file fbxanimcurvefilters.h.
{ FBX_UNUSED(pStatus); return false; };
| virtual bool Apply | ( | FbxObject * | , |
| FbxAnimStack * | , | ||
| FbxStatus * | pStatus =
NULL |
||
| ) | [inline, virtual] |
This filter expects to work with 3 interdependent curves.
Collecting all the animation curves from the properties defined in pObj could not guarantee that we are manipulating 3 interdependent curves.
| pObj | Object containing the properties to test. |
| pAnimStack | Animation stack where to retrieve the animation curves. |
| pStatus | The FbxStatus object to hold error codes. |
false.Reimplemented from FbxAnimCurveFilter.
Definition at line 1047 of file fbxanimcurvefilters.h.
{ FBX_UNUSED(pStatus); return false; }
| virtual bool Apply | ( | FbxAnimCurveNode & | pCurveNode, |
| FbxStatus * | pStatus =
NULL |
||
| ) | [virtual] |
Apply filter on all the curves of an animation curve node.
| pCurveNode | Curve node to which the filter is applied. |
| pStatus | The FbxStatus object to hold error codes. |
true if the curve filtering operation was
successful, false otherwise.Reimplemented from FbxAnimCurveFilter.
| virtual bool Apply | ( | FbxAnimCurve ** | pCurve, |
| int | pCount, | ||
| FbxStatus * | pStatus =
NULL |
||
| ) | [virtual] |
Apply filter on the given animation curve.
| pCurve | Array of curve to which the filter is applied. |
| pCount | Number of curves in array. |
| pStatus | The FbxStatus object to hold error codes. |
true if the curve filtering operation was
successful, false otherwise.Reimplemented from FbxAnimCurveFilter.
| virtual bool Apply | ( | FbxAnimCurve & | , |
| FbxStatus * | pStatus =
NULL |
||
| ) | [inline, virtual] |
This filter expects to work with 3 interdependent curves.
Receiving one single curve is useless.
false.Implements FbxAnimCurveFilter.
Definition at line 1071 of file fbxanimcurvefilters.h.
{ FBX_UNUSED(pStatus); return false; }
| virtual void Reset | ( | ) | [virtual] |
Reset the filter to its default parameters.
Reimplemented from FbxAnimCurveFilter.
| double GetQualityTolerance | ( | ) | const |
Get the unroll quality tolerance.
| void SetQualityTolerance | ( | double | pQualityTolerance | ) |
Set the unroll quality tolerance.
| pQualityTolerance | The unroll quality tolerance to set. |
| bool GetTestForPath | ( | ) | const |
Get if the test path is enabled.
true if test for path is enabled.| void SetTestForPath | ( | bool | pTestForPath | ) |
Set if the test path is enabled.
| pTestForPath | Value to set if test for path is to be enabled. |
| bool GetForceAutoTangents | ( | ) | const |
Get the current state of the ForceAutoTangents flag.
true if forcing AUTO tangents is enabled.| void SetForceAutoTangents | ( | bool | pForceAutoTangents | ) |
Set the new state of the ForceAutoTangents flag.
| pForceAutoTangents | New value of the flag. |