KFbxRootNodeUtility
#include<kfbxrootnodeutility.h>

List of all members.

Detailed Description

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 inKFbxAxisSystemandKFbxSystemUnit. These methods are provided for backward compatibility only and will eventually be removed. Use the conversion routines inKFbxSystemUnitandKFbxAxisSystemwhen possible.

Definition at line61of filekfbxrootnodeutility.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, constKFbxAxisSystem&pDstAxis, constKFbxSystemUnit&pDstUnit, constKFbxSystemUnit::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.

Member Function Documentation

static bool RemoveAllFbxRoots(KFbxScenepScene ) [static]

This method strips the scene of all Fbx_Root nodes.

Parameters:
pScene The scene to convert
Returns:
trueif successful,falseotherwise.
Remarks:
Converts the children of any Fbx_Roots to the orientation and units that the Fbx_Root transformation represented. The scene should look unchanged.

static bool InsertFbxRoot(KFbxScenepScene,
constKFbxAxisSystempDstAxis,
constKFbxSystemUnitpDstUnit,
constKFbxSystemUnit::KFbxUnitConversionOptionspUnitOptions=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.

Parameters:
pScene The scene to convert
pDstAxis Destination axis.
pDstUnit Destination unit
pUnitOptions Unit conversion options

static bool IsFbxRootNode(KFbxNodepNode ) [static]

Check if a node is an Fbx_Root node.

Parameters:
pNode The node to query
Returns:
trueif pNode is a Fbx_Root node, false otherwise