00001 /**************************************************************************************** 00002 00003 Copyright (C) 2013 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 FbxScene; 00023 class FbxAxisSystem; 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 00065 /***************************************************************************************************************************** 00066 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! ** 00067 *****************************************************************************************************************************/ 00068 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00069 protected: 00070 FbxRootNodeUtility(); 00071 FbxRootNodeUtility(const FbxRootNodeUtility& pOther); 00072 ~FbxRootNodeUtility(); 00073 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/ 00074 }; 00075 00076 #include <fbxsdk/fbxsdk_nsend.h> 00077 00078 #endif /* _FBXSDK_UTILS_ROOT_NODE_UTILITY_H_ */