KFbxSceneRenamer Class Reference

#include <kfbxrenamingstrategy.h>

List of all members.


Detailed Description

This class contains the description of the FBX scene renamer.

The KFbxSceneRenamer provides a way to easily rename objects in a scene without using the KFbxRenamingStrategy class. KFbxSceneRenamer removes nameclashing, illegal characters, and manages namespaces.

Definition at line 217 of file kfbxrenamingstrategy.h.

Public Types

enum  ERenamingMode
 
  • eNONE
    • eMAYA_TO_FBX5
    • eMAYA_TO_FBX_MB75
    • eMAYA_TO_FBX_MB70
    • eFBXMB75_TO_FBXMB70
    • eFBX_TO_FBX
    • eMAYA_TO_FBX
    • eFBX_TO_MAYA
    • eLW_TO_FBX
    • eFBX_TO_LW
    • eXSI_TO_FBX
    • eFBX_TO_XSI
    • eMAX_TO_FBX
    • eFBX_TO_MAX
    • eMB_TO_FBX
    • eFBX_TO_MB
    • eDAE_TO_FBX
    • eFBX_TO_DAE
More...

Public Member Functions

 KFbxSceneRenamer (KFbxScene *pScene)
 Create an object of type KFbxSceneRenamer.
virtual ~KFbxSceneRenamer ()
 Deletes this object.
void ResolveNameClashing (bool pFromFbx, bool pIgnoreNS, bool pIsCaseSensitive, bool pReplaceNonAlphaNum, bool pFirstNotNum, KString pInNameSpaceSymbol, KString pOutNameSpaceSymbol, bool pNoUnparentNS, bool pRemoveNameSpaceClash)
 Rename all object to remove name clashing.


Member Enumeration Documentation

  • eNONE
    • eMAYA_TO_FBX5
    • eMAYA_TO_FBX_MB75
    • eMAYA_TO_FBX_MB70
    • eFBXMB75_TO_FBXMB70
    • eFBX_TO_FBX
    • eMAYA_TO_FBX
    • eFBX_TO_MAYA
    • eLW_TO_FBX
    • eFBX_TO_LW
    • eXSI_TO_FBX
    • eFBX_TO_XSI
    • eMAX_TO_FBX
    • eFBX_TO_MAX
    • eMB_TO_FBX
    • eFBX_TO_MB
    • eDAE_TO_FBX
    • eFBX_TO_DAE

Definition at line 252 of file kfbxrenamingstrategy.h.


Constructor & Destructor Documentation

KFbxSceneRenamer ( KFbxScene pScene  )  [inline]

Create an object of type KFbxSceneRenamer.

Parameters:
pScene Scene to be renamed.

Definition at line 225 of file kfbxrenamingstrategy.h.

virtual ~KFbxSceneRenamer (  )  [inline, virtual]

Deletes this object.

All the references will become invalid.

Definition at line 230 of file kfbxrenamingstrategy.h.


Member Function Documentation

void ResolveNameClashing ( bool  pFromFbx,
bool  pIgnoreNS,
bool  pIsCaseSensitive,
bool  pReplaceNonAlphaNum,
bool  pFirstNotNum,
KString  pInNameSpaceSymbol,
KString  pOutNameSpaceSymbol,
bool  pNoUnparentNS,
bool  pRemoveNameSpaceClash 
)

Rename all object to remove name clashing.

Parameters:
pFromFbx Set to true to enable this flag.
pIgnoreNS Set to true to enable this flag.
pIsCaseSensitive Set to true to enable case sensitive renaming.
pReplaceNonAlphaNum Set to true to replace non-alphanumeric characters with underscores ("_").
pFirstNotNum Set to true toadd a leading _ if first char is a number (for xs:NCName).
pInNameSpaceSymbol Identifier of a namespace.
pOutNameSpaceSymbol Identifier of a namespace.
pNoUnparentNS Set to true to not not allow unparent namespace.
pRemoveNameSpaceClash Set to true to remove NameSpaceClash token.
Returns:
void.