KFbxPluginImportBase
#include<kfbxpluginbase.h>

Inheritance diagram for KFbxPluginImportBase:

Inheritance graph
[legend]

List of all members.

Detailed Description

FBX SDK plugin import base class.

Definition at line111of filekfbxpluginbase.h.


Constructor and Destructor.

 KFbxPluginImportBase()
 Constructor.
virtual ~KFbxPluginImportBase()
 Destructor.

Public Member Functions

bool IsExcludedFbxRoot(KFbxNode*pNode)
 Returns true if the passed argument is an FbxRoot node that is excluded from the creation process.
void Preprocess(KFbxNode*pRoot)
 Pre-process the first level of the Fbx scene to transform the FbxRoot nodes.
bool NeedPreProcess(KFbxNode*pRoot)
 Returns true if all of the scene roots are FBX_ROOTS.

Protected Member Functions

virtual bool NeedFbxRoot(KFbxNode*pNode)
 Returns always true unless pNode was a child of a FbxRoot that has been re-parented to the Scene.
virtual void ComputeWorldTransform(KgeAMatrix&pResMat)
 Allow the concrete class to compute whatever need to be done to define the World Transformation.
virtual void CustomApplyWorldTransform(KFbxNode*pRoot, KgeAMatrix&pResMat, bool isIdentity)
 Allow the concrete class to customize the modification of the hierarchy (pRoot).

Constructor&Destructor Documentation

Constructor.

virtual ~KFbxPluginImportBase( ) [virtual]

Destructor.

Member Function Documentation

bool IsExcludedFbxRoot(KFbxNodepNode ) 

Returns true if the passed argument is an FbxRoot node that is excluded from the creation process.

Parameters:
pNode 

void Preprocess(KFbxNodepRoot ) 

Pre-process the first level of the Fbx scene to transform the FbxRoot nodes.

Modifies the hierarchy received (pRoot).

Parameters:
pRoot 

bool NeedPreProcess(KFbxNodepRoot ) 

Returns true if all of the scene roots are FBX_ROOTS.

Parameters:
pRoot 

virtual bool NeedFbxRoot(KFbxNodepNode ) [protected, virtual]

Returns always true unless pNode was a child of a FbxRoot that has been re-parented to the Scene.

Parameters:
pNode 

virtual void ComputeWorldTransform(KgeAMatrix& pResMat ) [protected, virtual]

Allow the concrete class to compute whatever need to be done to define the World Transformation.

This method is called in the Preprocess.

Parameters:
pResMat Affine Matrix of World Transformation.

virtual void CustomApplyWorldTransform(KFbxNodepRoot,
KgeAMatrix& pResMat,
bool isIdentity 
)[protected, virtual]

Allow the concrete class to customize the modification of the hierarchy (pRoot).

By default this method set the worldTransform as the default TRS of pRoot.

Parameters:
pRoot 
pResMat Affine Matrix of World Transformation.
isIdentity