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_PROCESSOR_XREF_USERLIB_H_ 00014 #define _FBXSDK_UTILS_PROCESSOR_XREF_USERLIB_H_ 00015 00016 #include <fbxsdk/fbxsdk_def.h> 00017 00018 #include <fbxsdk/utils/fbxprocessorxref.h> 00019 00020 #include <fbxsdk/fbxsdk_nsbegin.h> 00021 00025 class FBXSDK_DLL FbxProcessorXRefCopyUserLibrary : public FbxProcessorXRefCopy 00026 { 00027 FBXSDK_OBJECT_DECLARE(FbxProcessorXRefCopyUserLibrary, FbxProcessorXRefCopy); 00028 00029 public: 00034 // Do we copy files even if they are in the system library? 00035 // Defaults to FALSE. 00036 FbxPropertyT<FbxBool> CopyAllAssets; 00037 00038 // Do we copy files even if they are not within the scene? This is 00039 // the typical use case when creating a new library, and defaults to 00040 // TRUE. If you want to extract assets from a specific library you 00041 // you would set this to FALSE to ignore assets from external (user, 00042 // system) libraries. 00043 FbxPropertyT<FbxBool> CopyExternalAssets; 00044 00045 // Do we copy assets that use absolute paths? If true, then after 00046 // the scene processor has run through the URL will be relative to 00047 // the scene document. 00048 // Defaults to TRUE. 00049 FbxPropertyT<FbxBool> CopyAbsoluteUrlAssets; 00051 00052 /***************************************************************************************************************************** 00053 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! ** 00054 *****************************************************************************************************************************/ 00055 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00056 protected: 00057 virtual void ConstructProperties(bool pForceSet); 00058 virtual bool ValidPropertyForXRefCopy(FbxObject* pObject, FbxProperty& lProperty) const; 00059 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/ 00060 }; 00061 00062 #include <fbxsdk/fbxsdk_nsend.h> 00063 00064 #endif /* _FBXSDK_UTILS_PROCESSOR_XREF_USERLIB_H_ */