fbxprocessorxrefuserlib.h

Go to the documentation of this file.
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_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 
00053 //  WARNING!
00054 //  Anything beyond these lines may not be documented accurately and is
00055 //  subject to change without notice.
00057 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00058 protected:
00059     FbxProcessorXRefCopyUserLibrary(FbxManager& pManager, char const* pName);
00060     bool ConstructProperties(bool pForceSet);
00061     virtual bool ValidPropertyForXRefCopy(FbxObject* pObject, FbxProperty& lProperty) const;
00062 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS
00063 
00064 };
00065 
00066 #include <fbxsdk/fbxsdk_nsend.h>
00067 
00068 #endif /* _FBXSDK_UTILS_PROCESSOR_XREF_USERLIB_H_ */