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