KFbxSceneRenamer
#include<kfbxrenamingstrategy.h>

List of all members.

Detailed Description

This class contains the description of the FBX scene renamer.

TheKFbxSceneRenamerprovides a way to easily rename objects in a scene without using theKFbxRenamingStrategyclass.KFbxSceneRenamerremoves nameclashing, illegal characters, and manages namespaces.

Definition at line218of filekfbxrenamingstrategy.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 typeKFbxSceneRenamer.
virtual ~KFbxSceneRenamer()
 Deletes this object.
void ResolveNameClashing(bool pFromFbx, bool pIgnoreNS, bool pIsCaseSensitive, bool pReplaceNonAlphaNum, bool pFirstNotNum,KStringpInNameSpaceSymbol,KStringpOutNameSpaceSymbol, 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 line253of filekfbxrenamingstrategy.h.

Constructor&Destructor Documentation

KFbxSceneRenamer(KFbxScenepScene ) [inline]

Create an object of typeKFbxSceneRenamer.

Parameters:
pScene Scene to be renamed.

Definition at line226of filekfbxrenamingstrategy.h.

virtual ~KFbxSceneRenamer( ) [inline, virtual]

Deletes this object.

All the references will become invalid.

Definition at line231of filekfbxrenamingstrategy.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 totrueto enable this flag.
pIgnoreNS Set totrueto enable this flag.
pIsCaseSensitive Set totrueto enable case sensitive renaming.
pReplaceNonAlphaNum Set totrueto replace non-alphanumeric characters with underscores ("_").
pFirstNotNum Set totruetoadd a leading _ if first char is a number (for xs:NCName).
pInNameSpaceSymbol Identifier of a namespace.
pOutNameSpaceSymbol Identifier of a namespace.
pNoUnparentNS Set totrueto not not allow unparent namespace.
pRemoveNameSpaceClash Set totrueto remove NameSpaceClash token.
Returns:
void.