00001 /**************************************************************************************** 00002 00003 Copyright (C) 2012 Autodesk, Inc. 00004 All rights reserved. 00005 00006 Use of this software is subject to the terms of the Autodesk license agreement 00007 provided at the time of installation or download, or which otherwise accompanies 00008 this software in either electronic or hard copy form. 00009 00010 ****************************************************************************************/ 00011 00013 #ifndef _FBXSDK_UTILS_ROOT_NODE_UTILITY_H_ 00014 #define _FBXSDK_UTILS_ROOT_NODE_UTILITY_H_ 00015 00016 #include <fbxsdk/fbxsdk_def.h> 00017 00018 #include <fbxsdk/core/fbxsystemunit.h> 00019 00020 #include <fbxsdk/fbxsdk_nsbegin.h> 00021 00022 class FbxAxisSystem; 00023 class FbxScene; 00024 class FbxNode; 00025 00031 class FBXSDK_DLL FbxRootNodeUtility 00032 { 00033 public: 00034 00035 static const char* sFbxRootNodePrefix; 00036 00044 static bool RemoveAllFbxRoots( FbxScene* pScene ); 00045 00054 static bool InsertFbxRoot( FbxScene* pScene, 00055 const FbxAxisSystem& pDstAxis, 00056 const FbxSystemUnit& pDstUnit, 00057 const FbxSystemUnit::ConversionOptions& pUnitOptions = FbxSystemUnit::DefaultConversionOptions ); 00058 00063 static bool IsFbxRootNode(FbxNode* pNode); 00064 00066 // 00067 // WARNING! 00068 // 00069 // Anything beyond these lines may not be documented accurately and is 00070 // subject to change without notice. 00071 // 00073 00074 protected: 00075 00076 /* This class is not meant to be instantiated by anything. 00077 */ 00078 FbxRootNodeUtility(); 00079 FbxRootNodeUtility(const FbxRootNodeUtility& pOther); 00080 ~FbxRootNodeUtility(); 00081 00082 00083 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00084 00085 00086 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS 00087 00088 }; 00089 00090 #include <fbxsdk/fbxsdk_nsend.h> 00091 00092 #endif /* _FBXSDK_UTILS_ROOT_NODE_UTILITY_H_ */