13 #ifndef _FBXSDK_UTILS_RENAMINGSTRATEGY_H_
14 #define _FBXSDK_UTILS_RENAMINGSTRATEGY_H_
44 virtual void Clear() = 0;
90 #ifndef DOXYGEN_SHOULD_SKIP_THIS
94 NameCell(
const char* pName) :
143 virtual void Clear();
165 void SetClashSoverType(EClashType pType);
171 static char* NoPrefixName (
const char* pName);
177 static char* NoPrefixName (
FbxString& pName);
214 virtual bool RenameUnparentNameSpace(
FbxNode* pNode,
bool pIsRoot =
false);
220 virtual bool RemoveImportNameSpaceClash(
FbxNode* pNode);
238 #ifndef DOXYGEN_SHOULD_SKIP_THIS
242 virtual FbxString& ReplaceNonAlphaNum(
FbxString& pName,
const char* pReplace,
bool pIgnoreNameSpace);
249 NameCell(
const char* pName) :
263 bool mReplaceNonAlphaNum;
340 void RenameFor(ERenamingMode pMode);
345 #ifndef DOXYGEN_SHOULD_SKIP_THIS
347 void ResolveNameClashing(
bool pFromFbx,
bool pIgnoreNS,
bool pIsCaseSensitive,
348 bool pReplaceNonAlphaNum,
bool pFirstNotNum,
350 bool pNoUnparentNS,
bool pRemoveNameSpaceClash);
FbxSceneRenamer(FbxScene *pScene)
Constructor.
FBX SDK environment definition.
Utility class to manipulate strings.
EDirection
The mode describing the convention direction, from FBX format or to FBX format.
virtual char * GetNameSpace()
Get the namespace of the last renamed object.
Implements a renaming strategy that resolves name clashes by adding number postfixes.
virtual void SetInNameSpaceSymbol(FbxString pNameSpaceSymbol)
Sets the current scene namespace symbol.
virtual void SetOutNameSpaceSymbol(FbxString pNameSpaceSymbol)
Sets the wanted scene namespace symbol.
This base class is an abstract implementation of a renaming strategy for avoiding name clashes...
virtual void SetReplaceNonAlphaNum(bool pReplaceNonAlphaNum)
Sets the flag for character acceptance during renaming.
virtual void SetCaseSensibility(bool pIsCaseSensitive)
Sets case sensitivity for name clashing.
Represents an element in the scene graph.
This class contains the description of a 3D scene.
This class contains the data structure support for char pointer set.
virtual FbxRenamingStrategyInterface * Clone()=0
Create a dynamic renaming strategy instance of the same type as the child class.
The FbxRenamingStrategy object can be set to rename all the objects in a scene.
A name is a case-sensitive string ID of a property, a node, a node attribute, a texture, etc.
The FbxSceneRenamer provides a way to easily rename objects in a scene without using the FbxRenamingS...
virtual void SetFirstNotNum(bool pFirstNotNum)
Sets the flag for first character acceptance during renaming.
virtual bool Rename(FbxNameHandler &pName)=0
Rename a name if necessary to avoid name-clash issues.
virtual void Clear()=0
Resets internal state regarding assigned names.
Class for array of basic elements such as pointers and basic types.
virtual ~FbxSceneRenamer()
Destructor.
ERenamingMode
The Mode describing from which format to which format.