This class collects static functions for manipulating Fbx_Root nodes.
Fbx_Root nodes were used to orient and scale scenes from other graphics applications. They have been replaced by the conversion routines in KFbxAxisSystem and KFbxSystemUnit. These methods are provided for backward compatibility only and will eventually be removed. Use the conversion routines in KFbxSystemUnit and KFbxAxisSystem when possible.
Definition at line 55 of file kfbxrootnodeutility.h.
#include <kfbxrootnodeutility.h>
Static Public Member Functions |
|
static bool | RemoveAllFbxRoots (KFbxScene *pScene) |
This method strips the scene of all Fbx_Root
nodes. |
|
static bool | InsertFbxRoot (KFbxScene *pScene, const KFbxAxisSystem &pDstAxis, const KFbxSystemUnit &pDstUnit, const KFbxSystemUnit::KFbxUnitConversionOptions &pUnitOptions=KFbxSystemUnit::DefaultConversionOptions) |
Inserts an Fbx_Root node into the scene to
orient the scene from its axis and unit systems to the specified
ones. |
|
static bool | IsFbxRootNode (KFbxNode *pNode) |
Check if a node is an Fbx_Root node.
|
|
Static Public Attributes |
|
static const char * | sFbxRootNodePrefix |
Protected Member Functions |
|
KFbxRootNodeUtility () | |
KFbxRootNodeUtility (const KFbxRootNodeUtility &pOther) | |
~KFbxRootNodeUtility () |
KFbxRootNodeUtility | ( | ) | [protected] |
KFbxRootNodeUtility | ( | const KFbxRootNodeUtility & | pOther | ) | [protected] |
~KFbxRootNodeUtility | ( | ) | [protected] |
static bool RemoveAllFbxRoots | ( | KFbxScene * | pScene | ) | [static] |
This method strips the scene of all Fbx_Root nodes.
pScene | The scene to convert |
true
if successful, false
otherwise.static bool InsertFbxRoot | ( | KFbxScene * | pScene, |
const KFbxAxisSystem & | pDstAxis, | ||
const KFbxSystemUnit & | pDstUnit, | ||
const KFbxSystemUnit::KFbxUnitConversionOptions & | pUnitOptions = KFbxSystemUnit::DefaultConversionOptions |
||
) | [static] |
Inserts an Fbx_Root node into the scene to orient the scene from its axis and unit systems to the specified ones.
pScene | The scene to convert |
pDstAxis | Destination axis. |
pDstUnit | Destination unit |
pUnitOptions | Unit conversion options |
static bool IsFbxRootNode | ( | KFbxNode * | pNode | ) | [static] |
Check if a node is an Fbx_Root node.
pNode | The node to query |
true
if pNode is a Fbx_Root node, false
otherwiseconst char*
sFbxRootNodePrefix [static] |
Definition at line 59 of file kfbxrootnodeutility.h.