| 1 | /**************************************************************************************** |
| 2 | |
| 3 | Copyright (C) 2015 Autodesk, Inc. |
| 4 | All rights reserved. |
| 5 | |
| 6 | Use of this software is subject to the terms of the Autodesk license agreement |
| 7 | provided at the time of installation or download, or which otherwise accompanies |
| 8 | this software in either electronic or hard copy form. |
| 9 | |
| 10 | ****************************************************************************************/ |
| 11 | |
| 12 | //! \file fbxrenamingstrategyfbx6.h |
| 13 | #ifndef _FBXSDK_UTILS_RENAMINGSTRATEGY_FBX6_H_ |
| 14 | #define _FBXSDK_UTILS_RENAMINGSTRATEGY_FBX6_H_ |
| 15 | |
| 16 | #include <fbxsdk/fbxsdk_def.h> |
| 17 | |
| 18 | #include <fbxsdk/utils/fbxrenamingstrategybase.h> |
| 19 | |
| 20 | #include <fbxsdk/fbxsdk_nsbegin.h> |
| 21 | |
| 22 | /** \brief This class contains the description of the FBX renaming strategy for fbx file format 6. |
| 23 | * \nosubgrouping |
| 24 | */ |
| 25 | class FBXSDK_DLL FbxRenamingStrategyFbx6: public FbxRenamingStrategyBase |
| 26 | { |
| 27 | public: |
| 28 | |
| 29 | //! Default constructor |
| 30 | FbxRenamingStrategyFbx6(); |
| 31 | |
| 32 | //! Destructor |
| 33 | virtual ~FbxRenamingStrategyFbx6(); |
| 34 | |
| 35 | /** This method put all the names in the scene back to the original values |
| 36 | * \param pScene |
| 37 | * \return Returns true if some names have been modified. |
| 38 | */ |
| 39 | virtual bool DecodeScene(FbxScene* pScene); |
| 40 | |
| 41 | /** This method renames all the names in the scene |
| 42 | * \param pScene |
| 43 | * \return Returns true if some names have been modified. |
| 44 | */ |
| 45 | virtual bool EncodeScene(FbxScene* pScene); |
| 46 | |
| 47 | /** This method find the original name of a given string |
| 48 | * \param pName |
| 49 | * \return Returns true if the name has been modified. |
| 50 | */ |
| 51 | virtual bool DecodeString(FbxNameHandler& pName); |
| 52 | |
| 53 | /** This method find the renaming name of a given string |
| 54 | * \param pName |
| 55 | * \param pIsPropertyName |
| 56 | * \return Returns true if the name has been modified. |
| 57 | */ |
| 58 | virtual bool EncodeString(FbxNameHandler& pName, bool pIsPropertyName=false); |
| 59 | |
| 60 | //! clean up the name cells. |
| 61 | virtual void CleanUp(); |
| 62 | }; |
| 63 | |
| 64 | #include <fbxsdk/fbxsdk_nsend.h> |
| 65 | |
| 66 | #endif /* _FBXSDK_UTILS_RENAMINGSTRATEGY_FBX6_H_ */ |
| 67 | |