#include<kfbxrenamingstrategy.h>TheKFbxSceneRenamerprovides a way to easily rename objects in a scene without using theKFbxRenamingStrategyclass.KFbxSceneRenamerremoves nameclashing, illegal characters, and manages namespaces.
Definition at line221of filekfbxrenamingstrategy.h.
Public Types | |
| enum | ERenamingMode |
| |
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. | |
| enumERenamingMode |
Definition at line256of filekfbxrenamingstrategy.h.
| KFbxSceneRenamer | ( | KFbxScene* | pScene | ) | [inline] |
Create an object of typeKFbxSceneRenamer.
| pScene | Scene to be renamed. |
Definition at line229of filekfbxrenamingstrategy.h.
| virtual ~KFbxSceneRenamer | ( | ) | [inline, virtual] |
Deletes this object.
All the references will become invalid.
Definition at line234of filekfbxrenamingstrategy.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 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. |