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 producing increasing values to actually become 181 degrees, etc...
Definition at line 934 of file kfbxanimcurvefilters.h.
#include <kfbxanimcurvefilters.h>
Public Member Functions |
|
KFbxAnimCurveFilterUnroll () | |
Constructor. |
|
virtual | ~KFbxAnimCurveFilterUnroll () |
Destructor. |
|
virtual const char * | GetName () const |
Get the name of the filter. |
|
virtual bool | NeedApply (KFbxAnimStack *pAnimStack) |
This filter expects to works with 3
interdependent curves. |
|
virtual bool | NeedApply (KFbxObject *pObj, KFbxAnimStack *pAnimStack) |
This filter expects to works with 3
interdependent curves. |
|
virtual bool | NeedApply (KFbxAnimCurveNode &pCurveNode) |
Check if the animation curve node needs an
application of the filter. |
|
virtual bool | NeedApply (KFbxAnimCurve **pCurve, int pCount) |
Check if the given animation curve need an
application of the filter. |
|
virtual bool | NeedApply (KFbxAnimCurve &pCurve) |
This filter expects to works with
interdependent curves. |
|
virtual bool | Apply (KFbxAnimStack *pAnimStack) |
This filter expects to works with 3
interdependent curves. |
|
virtual bool | Apply (KFbxObject *pObj, KFbxAnimStack *pAnimStack) |
This filter expects to works with 3
interdependent curves. |
|
virtual bool | Apply (KFbxAnimCurveNode &pCurveNode) |
Apply filter on all the curves of an
animation curve node. |
|
virtual bool | Apply (KFbxAnimCurve **pCurve, int pCount) |
Apply filter on the given animation curve.
|
|
virtual bool | Apply (KFbxAnimCurve &pCurve) |
This filter expects to works with
interdependent curves. |
|
virtual void | Reset () |
Reset the filter to its default parameters.
|
|
double | GetQualityTolerance () const |
Get quality tolerance. |
|
void | SetQualityTolerance (double pQualityTolerance) |
Set 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. |
|
void | SetRotationOrder (int pOrder) |
Constructor.
virtual ~KFbxAnimCurveFilterUnroll | ( | ) | [inline, virtual] |
virtual const char* GetName | ( | ) | const [virtual] |
virtual bool NeedApply | ( | KFbxAnimStack * | pAnimStack | ) | [inline, virtual] |
This filter expects to works with 3 interdependent curves.
Passing the animation stack makes no sense since this object would not know which curves to handle.
pAnimStack | Animation stack |
false
.Reimplemented from KFbxAnimCurveFilter.
Definition at line 953 of file kfbxanimcurvefilters.h.
{ return false; };
virtual bool NeedApply | ( | KFbxObject * | pObj, |
KFbxAnimStack * | pAnimStack | ||
) | [inline, virtual] |
This filter expects to works 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 |
false
Reimplemented from KFbxAnimCurveFilter.
Definition at line 961 of file kfbxanimcurvefilters.h.
{ return false; }
virtual bool NeedApply | ( | KFbxAnimCurveNode & | pCurveNode | ) | [virtual] |
Check if the animation curve node needs an application of the filter.
pCurveNode | Curve node to test. |
true
if the animation curve node needs an
application of the filter.false
.Reimplemented from KFbxAnimCurveFilter.
virtual bool NeedApply | ( | KFbxAnimCurve ** | pCurve, |
int | pCount | ||
) | [virtual] |
Check if the given animation curve 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 at least one animation curve in the array
needs an application of the filter.Reimplemented from KFbxAnimCurveFilter.
virtual bool NeedApply | ( | KFbxAnimCurve & | pCurve | ) | [inline, virtual] |
This filter expects to works with interdependent curves.
Receiving one single curve is useless.
false
Reimplemented from KFbxAnimCurveFilter.
Definition at line 986 of file kfbxanimcurvefilters.h.
{ return false; };
virtual bool Apply | ( | KFbxAnimStack * | pAnimStack | ) | [inline, virtual] |
This filter expects to works with 3 interdependent curves.
Passing the animation stack makes no sense since this object would not know which curves to handle.
pAnimStack | Animation stack |
false
.Reimplemented from KFbxAnimCurveFilter.
Definition at line 993 of file kfbxanimcurvefilters.h.
{ return false; };
virtual bool Apply | ( | KFbxObject * | pObj, |
KFbxAnimStack * | pAnimStack | ||
) | [inline, virtual] |
This filter expects to works 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 |
false
Reimplemented from KFbxAnimCurveFilter.
Definition at line 1001 of file kfbxanimcurvefilters.h.
{ return false; }
virtual bool Apply | ( | KFbxAnimCurveNode & | pCurveNode | ) | [virtual] |
Apply filter on all the curves of an animation curve node.
pCurveNode | Curve node to which the filter is applied. |
true
if the curve filtering operation was
successful, false
otherwise.Reimplemented from KFbxAnimCurveFilter.
virtual bool Apply | ( | KFbxAnimCurve ** | pCurve, |
int | pCount | ||
) | [virtual] |
Apply filter on the given animation curve.
pCurve | Array of curve to which the filter is applied. |
pCount | Number of curves in array. |
true
if the curve filtering operation was
successful, false
otherwise.Reimplemented from KFbxAnimCurveFilter.
virtual bool Apply | ( | KFbxAnimCurve & | pCurve | ) | [inline, virtual] |
This filter expects to works with interdependent curves.
Receiving one single curve is useless.
false
Implements KFbxAnimCurveFilter.
Definition at line 1023 of file kfbxanimcurvefilters.h.
{ return false; }
virtual void Reset | ( | ) | [virtual] |
Reset the filter to its default parameters.
Reimplemented from KFbxAnimCurveFilter.
double GetQualityTolerance | ( | ) | const |
void SetQualityTolerance | ( | double | pQualityTolerance | ) |
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. |
void SetRotationOrder | ( | int | pOrder | ) |