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) :
146 virtual void Clear();
206 virtual bool RenameUnparentNameSpace(
FbxNode* pNode,
bool pIsRoot =
false);
213 virtual bool RemoveImportNameSpaceClash(
FbxNode* pNode);
233 #ifndef DOXYGEN_SHOULD_SKIP_THIS 237 virtual FbxString& ReplaceNonAlphaNum(
FbxString& pName,
const char* pReplace,
bool pIgnoreNameSpace);
244 NameCell(
const char* pName) :
258 bool mReplaceNonAlphaNum;
340 #ifndef DOXYGEN_SHOULD_SKIP_THIS 342 void ResolveNameClashing(
bool pFromFbx,
bool pIgnoreNS,
bool pIsCaseSensitive,
343 bool pReplaceNonAlphaNum,
bool pFirstNotNum,
345 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.