KFbxAxisSystem
#include<kfbxaxissystem.h>

List of all members.

Detailed Description

This class represents the coordinate system of the scene, and can convert scenes from its coordinate system to other coordinate systems.

Definition at line72of filekfbxaxissystem.h.


Public Types

enum eUpVector
 Specifies which canonical axis represents up in the system.More...

Public Member Functions

void ConvertScene(KFbxScene*pScene) const
 Convert a scene to this axis system.
void ConvertScene(KFbxScene*pScene,KFbxNode*pFbxRoot) const
 Convert a scene to this axis system by using the specified node as an Fbx_Root.
eUpVector GetUpVector(int&pSign) const
 Returns the eUpVector this axis system and get the sign of the axis.
eCoorSystem GetCoorSystem() const
 Returns the eCoorSystem this axis system.
void ConvertChildren(KFbxNode*pRoot, constKFbxAxisSystem&pSrcSystem) const
 Converts the children of the given node to this axis system.

Member Enumeration Documentation

Specifies which canonical axis represents up in the system.

Typically Y or Z.

  • XAxis
  • YAxis
  • ZAxis

Definition at line81of filekfbxaxissystem.h.

Member Function Documentation

void ConvertScene(KFbxScenepScene ) const

Convert a scene to this axis system.

Sets the axis system of the scene to this system unit.

Parameters:
pScene The scene to convert

void ConvertScene(KFbxScenepScene,
KFbxNodepFbxRoot 
)const

Convert a scene to this axis system by using the specified node as an Fbx_Root.

This is provided for backwards compatibility only and ConvertScene(KFbxScene* pScene) should be used instead when possible.

Parameters:
pScene The scene to convert
pFbxRoot The Fbx_Root node that will be transformed.

eUpVectorGetUpVector(int& pSign ) const

Returns the eUpVector this axis system and get the sign of the axis.

Parameters:
pSign The sign of the axis, 1 if up, -1 is down.

eCoorSystem GetCoorSystem( ) const

Returns the eCoorSystem this axis system.

void ConvertChildren(KFbxNodepRoot,
constKFbxAxisSystempSrcSystem 
)const

Converts the children of the given node to this axis system.

Unlike theConvertScene()method, this method does not set the axis system of the scene that the pRoot node belongs, nor does it adjust KFbxPoses as they are not stored under the scene, and not under a particular node.