KFbxAxisSystem Class Reference

#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 line 72 of file kfbxaxissystem.h.

Public Types

enum  eUpVector
enum  eFrontVector
enum  eCoorSystem
enum  ePreDefinedAxisSystem

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, const KFbxAxisSystem &pSrcSystem) const
 Converts the children of the given node to this axis system.

Static Public Attributes

static const KFbxAxisSystem MayaZUp
static const KFbxAxisSystem MayaYUp
static const KFbxAxisSystem Max
static const KFbxAxisSystem Motionbuilder
static const KFbxAxisSystem OpenGL
static const KFbxAxisSystem DirectX
static const KFbxAxisSystem Lightwave

Protected Attributes

KFbxAxis mUpVector
KFbxAxis mFrontVector
KFbxAxis mCoorSystem

Classes

class  KFbxAxis


Member Function Documentation

void ConvertScene ( KFbxScene pScene  )  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 ( KFbxScene pScene,
KFbxNode pFbxRoot 
) 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.

eUpVector GetUpVector ( 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 ( KFbxNode pRoot,
const KFbxAxisSystem pSrcSystem 
) const

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

Unlike the ConvertScene() 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.