#include
<kfbxrenamingstrategy.h>
The KFbxSceneRenamer provides a way to easily rename objects in a scene without using the KFbxRenamingStrategy class. KFbxSceneRenamer removes name clashing, illegal characters, and manages namespaces.
Definition at line 223 of file kfbxrenamingstrategy.h.
Public Types |
|
enum | ERenamingMode |
|
|
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.
|
enum ERenamingMode |
Definition at line 258 of file kfbxrenamingstrategy.h.
KFbxSceneRenamer | ( | KFbxScene * | pScene | ) | [inline] |
Create an object of type KFbxSceneRenamer.
pScene | Scene to be renamed. |
Definition at line 231 of file kfbxrenamingstrategy.h.
virtual ~KFbxSceneRenamer | ( | ) | [inline, virtual] |
Deletes this object.
All the references will become invalid.
Definition at line 236 of file kfbxrenamingstrategy.h.
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.
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 to add 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. |