#include<kfbxkfcurvefilters.h>
List of all members.
Detailed Description
Key reducing filter.
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 line195of filekfbxkfcurvefilters.h.
Member Function Documentation
const char* GetName | ( | | ) | [virtual] |
KTime&GetStartTime | ( | | ) | [virtual] |
void SetStartTime | ( | KTime& | pTime | ) | [virtual] |
KTime&GetStopTime | ( | | ) | [virtual] |
void SetStopTime | ( | KTime& | pTime | ) | [virtual] |
int GetStartKey | ( | KFCurve& | pCurve | ) | [virtual] |
Get the Start Key.
- Parameters:
| pCurve | Curve on which we want to retrieve the start key |
- Returns:
- The position of the start key
Reimplemented fromKFbxKFCurveFilters.
int GetStopKey | ( | KFCurve& | pCurve | ) | [virtual] |
Get the Stop Key.
- Parameters:
| pCurve | Curve on which we want to retrieve the stop key |
- Returns:
- The position of the stop key
Reimplemented fromKFbxKFCurveFilters.
bool NeedApply | ( | KFCurveNode& | pCurveNode, |
| | bool | pRecursive=true | |
| ) | | | [virtual] |
Check if theKFCurveNodeneeds an application of the filter.
- Parameters:
| pCurveNode | Curve to test if it needs application of filter |
| pRecursive | Check recursively through the Curve |
- Returns:
true
if theKFCurveNodeneed an application of the filter.
Reimplemented fromKFbxKFCurveFilters.
bool NeedApply | ( | KFCurve** | pCurve, |
| | int | pCount | |
| ) | | | [virtual] |
Check if oneKFCurvein an array needs an application of the filter.
- Parameters:
| pCurve | Array of Curves to test if it needs application of filter |
| pCount | Number of Curves in array to test |
- Returns:
true
if oneKFCurvein an array need an application of the filter.
Reimplemented fromKFbxKFCurveFilters.
bool NeedApply | ( | KFCurve& | pCurve | ) | [virtual] |
Check if aKFCurveneed an application of the filter.
- Parameters:
| pCurve | Curve to test if it needs application of filter |
- Returns:
true
if theKFCurveneed an application of the filter.
Reimplemented fromKFbxKFCurveFilters.
int GetLastErrorID | ( | | ) | const |
Get last error ID.
- Returns:
- Last error ID.
const char* GetLastErrorString | ( | | ) | const |
Get last error name.
- Returns:
- Last error name.
bool Apply | ( | KFCurveNode& | pCurveNode, |
| | bool | pRecursive=true | |
| ) | | | [virtual] |
Apply filter on aKFCurveNode.
- Parameters:
| pCurveNode | Curve to apply the filter |
| pRecursive | Apply recursively through the Curve |
- Returns:
true
if successful,false
otherwise.
Reimplemented fromKFbxKFCurveFilters.
bool Apply | ( | KFCurve** | pCurve, |
| | int | pCount | |
| ) | | | [virtual] |
Apply filter on a number ofKFCurve.
- Parameters:
| pCurve | Array of Curve to apply the filter |
| pCount | Number of Curves in array to apply the filter |
- Returns:
true
if successful,false
otherwise.
Reimplemented fromKFbxKFCurveFilters.
bool Apply | ( | KFCurve& | pCurve | ) | [virtual] |
Apply filter on aKFCurve.
- Parameters:
| pCurve | Curve to apply the filter |
- Returns:
true
if successful,false
otherwise.
Reimplemented fromKFbxKFCurveFilters.
double GetDerivativeTolerance | ( | | ) | |
Get the derivative tolerance.
- Returns:
- The value of the derivative tolerance.
void SetDerivativeTolerance | ( | double | pValue | ) | |
Set the derivative tolerance.
- Parameters:
| pValue | Value derivative tolerance. |
double GetValueTolerance | ( | | ) | |
Get the tolerance value.
- Returns:
- The tolerance value.
void SetValueTolerance | ( | double | pValue | ) | |
Set the tolerance value.
- Parameters:
bool GetKeepFirstAndLastKeys | ( | | ) | |
Get the state of the KeepFirstAndLastKeys flag.
- Returns:
true
if the filter keeps the first and last keys.
void SetKeepFirstAndLastKeys | ( | bool | pKeepFirstAndLastKeys | ) | |
Set the state of the KeepFirstAndLastKeys flag.
- Parameters:
| pKeepFirstAndLastKeys | Set totrue if you want the filter to keep the first and last keys. |
Get the state of the KeepOneKey flag.
- Returns:
true
if the filter keeps one keys.
void SetKeepOneKey | ( | bool | pKeepOneKey | ) | |
Set the state of the KeepOneKey flag.
- Parameters:
| pKeepOneKey | Set totrue if you want the filter to keep one key. |