#include
<kfbxanimcurve.h>
Definition at line 323 of file kfbxanimcurve.h.
Public Member Functions |
|
KFbxAnimCurveKey () | |
Constructor with no argument. |
|
KFbxAnimCurveKey (KTime pTime) | |
Constructor with time. |
|
KFbxAnimCurveKey (KTime pTime, float pVal) | |
Constructor with time and value. |
|
KFbxAnimCurveKey (KFbxAnimCurveKey const &pFKey) | |
Copy constructor. |
|
~KFbxAnimCurveKey () | |
Destructor. |
|
KFbxAnimCurveKey & | operator= (const KFbxAnimCurveKey &pFKey) |
Assignment operator. |
|
KTime | GetTime () const |
Get time value. |
|
void | SetTime (const KTime &pTime) |
Set time value. |
|
void | Set (KTime pTime, float pValue) |
Set time and value of key. |
|
void | SetTCB (KTime pTime, float pValue, float pData0=0.0f, float pData1=0.0f, float pData2=0.0f) |
Set a key with cubic interpolation, TCB
tangent mode. |
|
float | GetValue () const |
Get key value. |
|
void | SetValue (float pValue) |
Set key value. |
|
KFbxAnimCurveDef::EInterpolationType | GetInterpolation () |
Get key interpolation. |
|
void | SetInterpolation (KFbxAnimCurveDef::EInterpolationType pInterpolation) |
Set key interpolation. |
|
KFbxAnimCurveDef::ETangentMode | GetTangentMode (bool pIncludeOverrides=false) |
Get tangent mode. |
|
void | SetTangentMode (KFbxAnimCurveDef::ETangentMode pTangentMode) |
Set tangent mode. |
|
KFbxAnimCurveDef::EWeightedMode | GetTangentWeightMode () const |
Get key tangent weight mode. |
|
void | SetTangentWeightMode (KFbxAnimCurveDef::EWeightedMode pTangentWeightMode, KFbxAnimCurveDef::EWeightedMode pMask=KFbxAnimCurveDef::eWEIGHTED_ALL) |
Set key tangent weight mode as double value
(cubic interpolation, non TCB tangent mode). |
|
KFbxAnimCurveDef::EVelocityMode | GetTangentVelocityMode () const |
Get key tangent velocity mode. |
|
void | SetTangentVelocityMode (KFbxAnimCurveDef::EVelocityMode pTangentVelocityMode, KFbxAnimCurveDef::EVelocityMode pMask=KFbxAnimCurveDef::eVELOCITY_ALL) |
Set key tangent velocity mode as double
value (cubic interpolation, non TCB tangent mode). |
|
KFbxAnimCurveDef::EConstantMode | GetConstantMode () const |
Get key constant mode. |
|
void | SetConstantMode (KFbxAnimCurveDef::EConstantMode pMode) |
Set constant mode. |
|
float | GetDataFloat (KFbxAnimCurveDef::EKFbxAnimCurveDataIndex pIndex) const |
Get data float. |
|
void | SetDataFloat (KFbxAnimCurveDef::EKFbxAnimCurveDataIndex pIndex, float pValue) |
Set data float. |
|
void | SetTangentVisibility (KFbxAnimCurveDef::ETangentVisibility pVisibility) |
Set tangent visibility mode. |
|
KFbxAnimCurveDef::ETangentVisibility | GetTangentVisibility () const |
Return tangent visibility mode. |
|
void | SetBreak (bool pVal) |
Set/Unset Break tangent Only valid for User
and Auto keys. |
|
bool | GetBreak () const |
Get if tangent is break Only valid for User
and Auto keys. |
|
KFbxAnimCurveKeyImpl * | GetImpl () const |
Get key implementation. |
|
Static Public Member Functions |
|
static void | SetAllocatorFct (KFbxAnimCurveKeyImpl *(*pAllocatorFct)()) |
Set allocator function. |
|
static void | SetCopyAllocatorFct (KFbxAnimCurveKeyImpl *(*pCopyAllocatorFct)(KFbxAnimCurveKeyImpl *)) |
Set copy allocator function. |
|
static void | SetDeallocatorFct (void(*pDeallocatorFct)(KFbxAnimCurveKeyImpl *)) |
Set deallocator function. |
KFbxAnimCurveKey | ( | ) | [inline] |
Constructor with no argument.
Definition at line 330 of file kfbxanimcurve.h.
KFbxAnimCurveKey | ( | KTime | pTime | ) | [inline] |
Constructor with time.
pTime | The time of key. |
Definition at line 339 of file kfbxanimcurve.h.
References K_ASSERT, NULL, and KFbxAnimCurveKeyBase::SetTime().
KFbxAnimCurveKey | ( | KTime | pTime, | |
float | pVal | |||
) | [inline] |
Constructor with time and value.
pTime | The time of key. | |
pVal | The value of key. |
Definition at line 350 of file kfbxanimcurve.h.
KFbxAnimCurveKey | ( | KFbxAnimCurveKey const & | pFKey | ) | [inline] |
Copy constructor.
Definition at line 359 of file kfbxanimcurve.h.
References GetImpl(), GetTime(), K_ASSERT, NULL, and KFbxAnimCurveKeyBase::SetTime().
~KFbxAnimCurveKey | ( | ) | [inline] |
KFbxAnimCurveKey& operator= | ( | const KFbxAnimCurveKey & | pFKey | ) | [inline] |
Assignment operator.
Definition at line 376 of file kfbxanimcurve.h.
References GetImpl(), GetTime(), K_ASSERT, and KFbxAnimCurveKeyBase::SetTime().
KTime GetTime | ( | ) | const [inline, virtual] |
Get time value.
Reimplemented from KFbxAnimCurveKeyBase.
Definition at line 390 of file kfbxanimcurve.h.
References KFbxAnimCurveKeyBase::GetTime().
Referenced by KFbxAnimCurveKey(), and operator=().
void SetTime | ( | const KTime & | pTime | ) | [inline, virtual] |
Set time value.
pTime | Time value to set. |
Reimplemented from KFbxAnimCurveKeyBase.
Definition at line 398 of file kfbxanimcurve.h.
References KFbxAnimCurveKeyBase::SetTime().
void Set | ( | KTime | pTime, | |
float | pValue | |||
) | [inline] |
Set time and value of key.
pTime | New time of this key. | |
pValue | New value of this key. |
Definition at line 407 of file kfbxanimcurve.h.
References KFbxAnimCurveKeyBase::SetTime().
void SetTCB | ( | KTime | pTime, | |
float | pValue, | |||
float | pData0 = 0.0f , |
|||
float | pData1 = 0.0f , |
|||
float | pData2 = 0.0f |
|||
) | [inline] |
Set a key with cubic interpolation, TCB tangent mode.
pTime | Key time. | |
pValue | Key value. | |
pData0 | Tension. | |
pData1 | Continuity. | |
pData2 | Bias. |
Definition at line 420 of file kfbxanimcurve.h.
References KFbxAnimCurveKeyBase::SetTime().
float GetValue | ( | ) | const [inline] |
void SetValue | ( | float | pValue | ) | [inline] |
KFbxAnimCurveDef::EInterpolationType GetInterpolation | ( | ) | [inline] |
void SetInterpolation | ( | KFbxAnimCurveDef::EInterpolationType | pInterpolation | ) | [inline] |
Set key interpolation.
pInterpolation | Interpolation type to set. |
Definition at line 453 of file kfbxanimcurve.h.
KFbxAnimCurveDef::ETangentMode GetTangentMode | ( | bool | pIncludeOverrides =
false |
) | [inline] |
void SetTangentMode | ( | KFbxAnimCurveDef::ETangentMode | pTangentMode | ) | [inline] |
Set tangent mode.
pTangentMode | Tangent mode to set. |
Definition at line 469 of file kfbxanimcurve.h.
KFbxAnimCurveDef::EWeightedMode GetTangentWeightMode | ( | ) | const [inline] |
Get key tangent weight mode.
Warning: This method is meaningful for cubic interpolation only. Tangent weight modes are: KFCURVE_WEIGHTED_NONE, KFCURVE_WEIGHTED_RIGHT, KFCURVE_WEIGHTED_NEXT_LEFT, KFCURVE_WEIGHTED_ALL
Definition at line 481 of file kfbxanimcurve.h.
void SetTangentWeightMode | ( | KFbxAnimCurveDef::EWeightedMode | pTangentWeightMode, | |
KFbxAnimCurveDef::EWeightedMode | pMask =
KFbxAnimCurveDef::eWEIGHTED_ALL |
|||
) | [inline] |
Set key tangent weight mode as double value (cubic interpolation, non TCB tangent mode).
Warning: This method is meaningful for cubic interpolation only.
pTangentWeightMode | Weight mode KFCURVE_WEIGHTED_NONE KFCURVE_WEIGHTED_RIGHT KFCURVE_WEIGHTED_NEXT_LEFT KFCURVE_WEIGHTED_ALL | |
pMask | Used to select the affected tangents KFCURVE_WEIGHTED_RIGHT KFCURVE_WEIGHTED_NEXT_LEFT KFCURVE_WEIGHTED_ALL |
Definition at line 498 of file kfbxanimcurve.h.
KFbxAnimCurveDef::EVelocityMode GetTangentVelocityMode | ( | ) | const [inline] |
Get key tangent velocity mode.
Warning: This method is meaningful for cubic interpolation only. Tangent weight modes are: KFCURVE_VELOCITY_NONE, KFCURVE_VELOCITY_RIGHT, KFCURVE_VELOCITY_NEXT_LEFT, KFCURVE_VELOCITY_ALL
Definition at line 511 of file kfbxanimcurve.h.
void SetTangentVelocityMode | ( | KFbxAnimCurveDef::EVelocityMode | pTangentVelocityMode, | |
KFbxAnimCurveDef::EVelocityMode | pMask =
KFbxAnimCurveDef::eVELOCITY_ALL |
|||
) | [inline] |
Set key tangent velocity mode as double value (cubic interpolation, non TCB tangent mode).
Warning: This method is meaningful for cubic interpolation only.
pTangentVelocityMode | Weight mode KFCURVE_VELOCITY_NONE KFCURVE_VELOCITY_RIGHT KFCURVE_VELOCITY_NEXT_LEFT KFCURVE_VELOCITY_ALL | |
pMask | Used to select the affected tangents KFCURVE_VELOCITY_RIGHT KFCURVE_VELOCITY_NEXT_LEFT KFCURVE_VELOCITY_ALL |
Definition at line 528 of file kfbxanimcurve.h.
KFbxAnimCurveDef::EConstantMode GetConstantMode | ( | ) | const [inline] |
Get key constant mode.
Warning: This method is meaningful for constant interpolation only. Using this method for non constant interpolated key will return unpredicted value. Constant modes are: KFCURVE_CONSTANT_STANDARD KFCURVE_CONSTANT_NEXT
Definition at line 540 of file kfbxanimcurve.h.
void SetConstantMode | ( | KFbxAnimCurveDef::EConstantMode | pMode | ) | [inline] |
Set constant mode.
pMode | Constant mode to set. |
Definition at line 548 of file kfbxanimcurve.h.
float GetDataFloat | ( | KFbxAnimCurveDef::EKFbxAnimCurveDataIndex | pIndex | ) | const [inline] |
Get data float.
pIndex | Data index, dependent on the key tangent mode. |
Definition at line 557 of file kfbxanimcurve.h.
void SetDataFloat | ( | KFbxAnimCurveDef::EKFbxAnimCurveDataIndex | pIndex, | |
float | pValue | |||
) | [inline] |
Set data float.
pIndex | Data index, dependent on the key tangent mode. | |
pValue | Data value to set. |
Definition at line 566 of file kfbxanimcurve.h.
void SetTangentVisibility | ( | KFbxAnimCurveDef::ETangentVisibility | pVisibility | ) | [inline] |
Set tangent visibility mode.
Warning: This method is meaningful for cubic interpolation only.
pVisibility | Tangent visibility mode. Tangent visibility modes are: KFCURVE_TANGEANT_SHOW_NONE KFCURVE_TANGEANT_SHOW_LEFT KFCURVE_TANGEANT_SHOW_RIGHT |
Definition at line 578 of file kfbxanimcurve.h.
KFbxAnimCurveDef::ETangentVisibility GetTangentVisibility | ( | ) | const [inline] |
Return tangent visibility mode.
Warning: This method is meaningful for cubic interpolation only.
Definition at line 590 of file kfbxanimcurve.h.
void SetBreak | ( | bool | pVal | ) | [inline] |
Set/Unset Break tangent Only valid for User and Auto keys.
pVal | The break flag. |
Definition at line 599 of file kfbxanimcurve.h.
bool GetBreak | ( | ) | const [inline] |
Get if tangent is break Only valid for User and Auto keys.
Definition at line 607 of file kfbxanimcurve.h.
KFbxAnimCurveKeyImpl* GetImpl | ( | ) | const [inline] |
Get key implementation.
Definition at line 615 of file kfbxanimcurve.h.
Referenced by KFbxAnimCurveKey(), and operator=().
static void SetAllocatorFct | ( | KFbxAnimCurveKeyImpl *(*)() | pAllocatorFct | ) | [static] |
Set allocator function.
pAllocatorFct | Allocator function |
static void SetCopyAllocatorFct | ( | KFbxAnimCurveKeyImpl *(*)(KFbxAnimCurveKeyImpl *) | pCopyAllocatorFct | ) | [static] |
Set copy allocator function.
pCopy | AllocatorFct Copy allocator function |
static void SetDeallocatorFct | ( | void(*)(KFbxAnimCurveKeyImpl *) | pDeallocatorFct | ) | [static] |
Set deallocator function.
pDeallocatorFct | Deallocator function |