FBX C++ API Reference
FbxAnimUtilities Class Reference

#include <fbxanimutilities.h>

Class Description

Definition at line 35 of file fbxanimutilities.h.

Classes

class  CurveIntfce
 
class  CurveNodeIntfce
 
class  FbxAnimSplitDef
 

Static Public Member Functions

static bool IsAnimated (FbxObject *pObj)
 Inspects all the properties of the given object for animation curves. More...
 
static bool IsChannelAnimated (FbxObject *pObj, const char *pPropertyName, const char *pChannelName=((void *) 0))
 Inspects the specified property of the given object for animation curves. More...
 
static int SplitAnimationIntoMultipleStacks (FbxScene *pScene, const FbxArray< FbxAnimSplitDef *> &pAnimSplitDefinitions, const FbxAnimStack *pSrcAnimStack, FbxArray< FbxAnimStack *> &pDstStacks)
 
static void ShareAnimCurves (FbxProperty &pDstProperty, FbxProperty &pSrcProperty, FbxScene *pScene)
 
static void SetTimeWarpSet (FbxMultiMap *pTWset)
 
static CurveNodeIntfce CreateCurveNode (const char *pName)
 
static CurveNodeIntfce CreateCurveNode (FbxIO *pFileObject)
 
static CurveNodeIntfce CreateCurveNode (FbxIO *pFileObject, CurveNodeIntfce &pParent, bool pOnlyDefaults=false)
 
static CurveNodeIntfce CreateTimeWarpNode (FbxAnimCurve *pAnimCurve, const char *pFalloffName)
 
static CurveNodeIntfce GrabCurveNode (FbxAnimCurveNode *pCN)
 
static void RestrieveCurveNode (CurveNodeIntfce &pData, FbxIO *mFileObject)
 
static void StoreCurveNode (CurveNodeIntfce &pData, FbxIO *mFileObject)
 
static void ReleaseCurveNode (FbxAnimCurveNode *pCurveNode)
 
static void DestroyCurveNode (CurveNodeIntfce &pData)
 
static void DestroyCurve (CurveIntfce &pData)
 
static void ConnectTimeWarp (FbxAnimCurveNode *pCurveNode, CurveNodeIntfce &pData, FbxMultiMap &pTimeWarpsKFCurveNodes)
 
static void MergeLayerAndTimeWarp (FbxObject *pObj, FbxAnimLayer *pAnimLayer)
 
static void CopyFrom (FbxAnimCurve *pAC, CurveIntfce &pFC)
 
static bool CompareCurves (FbxAnimCurve *pAC1, FbxAnimCurve *pAC2)
 
static void Resample (FbxAnimCurve &pSourceCurve, FbxAnimCurve &pTargetCurve, FbxTime &pStart, FbxTime &pStop, FbxTime &pPeriod, FbxAnimCurveDef::EInterpolationType pInterpolation, FbxAnimCurveDef::ETangentMode pTangentMode, bool pAddStopKey=false)
 
static void Resample (FbxAnimCurve &pSourceCurve, FbxAnimCurve &pTargetCurve, FbxTime &pStart, FbxTime &pStop, FbxTime &pPeriod, bool pAddStopKey=false)
 
static void Resample (FbxAnimCurve &pCurve, FbxTime pPeriod, FbxTime pStart=FbxTime((-0x7fffffffffffffffLL)), FbxTime pStop=FbxTime((0x7fffffffffffffffLL)), bool pKeysOnFrame=false)
 

Member Function Documentation

◆ IsAnimated()

static bool IsAnimated ( FbxObject *  pObj)
static

Inspects all the properties of the given object for animation curves.

Parameters
pObjPointer to the object to query.
Returns
true if at least one property is animated and false otherwise.
Remarks
A property is animated if it contains at least one FbxAnimCurve with keys.
Examples:
ViewScene/SetCamera.cxx.

◆ IsChannelAnimated()

static bool IsChannelAnimated ( FbxObject *  pObj,
const char *  pPropertyName,
const char *  pChannelName = ((void *) 0) 
)
static

Inspects the specified property of the given object for animation curves.

Parameters
pObjPointer to the object to query.
pPropertyNameName of the inspected property.
pChannelNameName of the specific channel of the inspected property.
Returns
true if the specified channel is animated and false otherwise.
Remarks
A property is animated if it contains at least one FbxAnimCurve with keys.

◆ SplitAnimationIntoMultipleStacks()

static int SplitAnimationIntoMultipleStacks ( FbxScene *  pScene,
const FbxArray< FbxAnimSplitDef *> &  pAnimSplitDefinitions,
const FbxAnimStack *  pSrcAnimStack,
FbxArray< FbxAnimStack *> &  pDstStacks 
)
static

◆ ShareAnimCurves()

static void ShareAnimCurves ( FbxProperty &  pDstProperty,
FbxProperty &  pSrcProperty,
FbxScene *  pScene 
)
static

◆ SetTimeWarpSet()

static void SetTimeWarpSet ( FbxMultiMap *  pTWset)
static

◆ CreateCurveNode() [1/3]

static CurveNodeIntfce CreateCurveNode ( const char *  pName)
static

◆ CreateCurveNode() [2/3]

static CurveNodeIntfce CreateCurveNode ( FbxIO *  pFileObject)
static

◆ CreateCurveNode() [3/3]

static CurveNodeIntfce CreateCurveNode ( FbxIO *  pFileObject,
CurveNodeIntfce &  pParent,
bool  pOnlyDefaults = false 
)
static

◆ CreateTimeWarpNode()

static CurveNodeIntfce CreateTimeWarpNode ( FbxAnimCurve *  pAnimCurve,
const char *  pFalloffName 
)
static

◆ GrabCurveNode()

static CurveNodeIntfce GrabCurveNode ( FbxAnimCurveNode *  pCN)
static

◆ RestrieveCurveNode()

static void RestrieveCurveNode ( CurveNodeIntfce &  pData,
FbxIO *  mFileObject 
)
static

◆ StoreCurveNode()

static void StoreCurveNode ( CurveNodeIntfce &  pData,
FbxIO *  mFileObject 
)
static

◆ ReleaseCurveNode()

static void ReleaseCurveNode ( FbxAnimCurveNode *  pCurveNode)
static

◆ DestroyCurveNode()

static void DestroyCurveNode ( CurveNodeIntfce &  pData)
static

◆ DestroyCurve()

static void DestroyCurve ( CurveIntfce &  pData)
static

◆ ConnectTimeWarp()

static void ConnectTimeWarp ( FbxAnimCurveNode *  pCurveNode,
CurveNodeIntfce &  pData,
FbxMultiMap &  pTimeWarpsKFCurveNodes 
)
static

◆ MergeLayerAndTimeWarp()

static void MergeLayerAndTimeWarp ( FbxObject *  pObj,
FbxAnimLayer *  pAnimLayer 
)
static

◆ CopyFrom()

static void CopyFrom ( FbxAnimCurve *  pAC,
CurveIntfce &  pFC 
)
static

◆ CompareCurves()

static bool CompareCurves ( FbxAnimCurve *  pAC1,
FbxAnimCurve *  pAC2 
)
static

◆ Resample() [1/3]

static void Resample ( FbxAnimCurve &  pSourceCurve,
FbxAnimCurve &  pTargetCurve,
FbxTime &  pStart,
FbxTime &  pStop,
FbxTime &  pPeriod,
FbxAnimCurveDef::EInterpolationType  pInterpolation,
FbxAnimCurveDef::ETangentMode  pTangentMode,
bool  pAddStopKey = false 
)
static

◆ Resample() [2/3]

static void Resample ( FbxAnimCurve &  pSourceCurve,
FbxAnimCurve &  pTargetCurve,
FbxTime &  pStart,
FbxTime &  pStop,
FbxTime &  pPeriod,
bool  pAddStopKey = false 
)
static

◆ Resample() [3/3]

static void Resample ( FbxAnimCurve &  pCurve,
FbxTime  pPeriod,
FbxTime  pStart = FbxTime((-0x7fffffffffffffffLL)),
FbxTime  pStop = FbxTime((0x7fffffffffffffffLL)),
bool  pKeysOnFrame = false 
)
static

The documentation for this class was generated from the following file: