FBX SDK Reference Guide: kfbxstreamoptionsfbx.h Source File
Go to the documentation of this file.
00001 
00004 #ifndef FBXFILESDK_KFBXIO_KFBXSTREAMOPTIONSFBX_H
00005 #define FBXFILESDK_KFBXIO_KFBXSTREAMOPTIONSFBX_H
00006 
00007 /**************************************************************************************
00008 
00009  Copyright © 2001 - 2008 Autodesk, Inc. and/or its licensors.
00010  All Rights Reserved.
00011 
00012  The coded instructions, statements, computer programs, and/or related material 
00013  (collectively the "Data") in these files contain unpublished information 
00014  proprietary to Autodesk, Inc. and/or its licensors, which is protected by 
00015  Canada and United States of America federal copyright law and by international 
00016  treaties. 
00017  
00018  The Data may not be disclosed or distributed to third parties, in whole or in
00019  part, without the prior written consent of Autodesk, Inc. ("Autodesk").
00020 
00021  THE DATA IS PROVIDED "AS IS" AND WITHOUT WARRANTY.
00022  ALL WARRANTIES ARE EXPRESSLY EXCLUDED AND DISCLAIMED. AUTODESK MAKES NO
00023  WARRANTY OF ANY KIND WITH RESPECT TO THE DATA, EXPRESS, IMPLIED OR ARISING
00024  BY CUSTOM OR TRADE USAGE, AND DISCLAIMS ANY IMPLIED WARRANTIES OF TITLE, 
00025  NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR USE. 
00026  WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT WARRANT THAT THE OPERATION
00027  OF THE DATA WILL BE UNINTERRUPTED OR ERROR FREE. 
00028  
00029  IN NO EVENT SHALL AUTODESK, ITS AFFILIATES, PARENT COMPANIES, LICENSORS
00030  OR SUPPLIERS ("AUTODESK GROUP") BE LIABLE FOR ANY LOSSES, DAMAGES OR EXPENSES
00031  OF ANY KIND (INCLUDING WITHOUT LIMITATION PUNITIVE OR MULTIPLE DAMAGES OR OTHER
00032  SPECIAL, DIRECT, INDIRECT, EXEMPLARY, INCIDENTAL, LOSS OF PROFITS, REVENUE
00033  OR DATA, COST OF COVER OR CONSEQUENTIAL LOSSES OR DAMAGES OF ANY KIND),
00034  HOWEVER CAUSED, AND REGARDLESS OF THE THEORY OF LIABILITY, WHETHER DERIVED
00035  FROM CONTRACT, TORT (INCLUDING, BUT NOT LIMITED TO, NEGLIGENCE), OR OTHERWISE,
00036  ARISING OUT OF OR RELATING TO THE DATA OR ITS USE OR ANY OTHER PERFORMANCE,
00037  WHETHER OR NOT AUTODESK HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS
00038  OR DAMAGE. 
00039 
00040 **************************************************************************************/
00041 
00042 
00043 #define KFBXSTREAMOPT_FBX_CURRENT_TAKE_NAME "CURRENT TAKE NAME"
00044 #define KFBXSTREAMOPT_FBX_PASSWORD "PASSWORD"
00045 #define KFBXSTREAMOPT_FBX_PASSWORD_ENABLE "PASSWORD ENABLE"
00046 #define KFBXSTREAMOPT_FBX_MODEL "MODEL"
00047 #define KFBXSTREAMOPT_FBX_TEXTURE "TEXTURE"
00048 #define KFBXSTREAMOPT_FBX_MATERIAL "MATERIAL"
00049 #define KFBXSTREAMOPT_FBX_MEDIA "MEDIA"
00050 #define KFBXSTREAMOPT_FBX_LINK "LINK"
00051 #define KFBXSTREAMOPT_FBX_SHAPE "SHAPE"
00052 #define KFBXSTREAMOPT_FBX_GOBO "GOBO"
00053 #define KFBXSTREAMOPT_FBX_ANIMATION "ANIMATION"
00054 #define KFBXSTREAMOPT_FBX_CHARACTER "CHARACTER"
00055 #define KFBXSTREAMOPT_FBX_GLOBAL_SETTINGS "GLOBAL SETTINGS"
00056 #define KFBXSTREAMOPT_FBX_PIVOT "PIVOT"
00057 #define KFBXSTREAMOPT_FBX_MERGE_LAYER_AND_TIMEWARP "MERGE LAYER AND TIMEWARP"
00058 #define KFBXSTREAMOPT_FBX_CONSTRAINT "CONSTRAINT"
00059 #define KFBXSTREAMOPT_FBX_EMBEDDED "EMBEDDED"
00060 #define KFBXSTREAMOPT_FBX_MODEL_COUNT "MODEL COUNT"
00061 #define KFBXSTREAMOPT_FBX_DEVICE_COUNT "DEVICE COUNT"
00062 #define KFBXSTREAMOPT_FBX_CHARACTER_COUNT "CHARACTER COUNT"
00063 #define KFBXSTREAMOPT_FBX_ACTOR_COUNT "ACTOR COUNT"
00064 #define KFBXSTREAMOPT_FBX_CONSTRAINT_COUNT "CONSTRAINT_COUNT"
00065 #define KFBXSTREAMOPT_FBX_MEDIA_COUNT "MEDIA COUNT"
00066 #define KFBXSTREAMOPT_FBX_TEMPLATE "TEMPLATE"
00067 // Clone every external objects into the document when exporting?    (default: ON)
00068 #define KFBXSTREAMOPT_FBX_COLLAPSE_EXTERNALS    "COLLAPSE EXTERNALS"
00069 // Can we compress arrays of sufficient size in files?               (default: ON)
00070 #define KFBXSTREAMOPT_FBX_COMPRESS_ARRAYS       "COMPRESS ARRAYS"
00071 
00072 // ADVANCED OPTIONS -- SHOULD PROBABLY NOT BE IN ANY UI
00073 
00074 // Property to skip when looking for things to embed.
00075 // If you have more than one property to ignore (as is often the case) then you must
00076 // create sub-properties.
00077 // Property names must be the full hiearchical property name (ie: parent|child|child)
00078 #define KFBXSTREAMOPT_FBX_EMBEDDED_PROPERTIES_SKIP  "EMBEDDED SKIP"
00079 
00080 // Compression level, from 0 (no compression) to 9 (eat your CPU)    (default: speed)
00081 #define KFBXSTREAMOPT_FBX_COMPRESS_LEVEL        "COMPRESS LEVEL"    
00082 
00083 // Minimum size before compression is even attempted, in bytes.     
00084 #define KFBXSTREAMOPT_FBX_COMPRESS_MINSIZE      "COMPRESS MINSIZE"
00085 
00086 #include <fbxfilesdk/components/kbaselib/kaydaradef_h.h>
00087 #include <fbxfilesdk/kfbxplugins/kfbxsdkmanager.h>
00088 #include <fbxfilesdk/kfbxio/kfbxstreamoptions.h>
00089 #include <fbxfilesdk/kfbxplugins/kfbxobject.h>
00090 #include <fbxfilesdk/components/kbaselib/klib/karrayul.h>
00091 #include <fbxfilesdk/kfbxplugins/kfbxtakeinfo.h>
00092 #include <fbxfilesdk/fbxcore/fbxcollection/kfbxdocumentinfo.h>
00093 
00094 
00095 
00096 #include <fbxfilesdk/fbxfilesdk_nsbegin.h>
00097 
00126 class KFBX_DLL KFbxStreamOptionsFbxReader : public KFbxStreamOptions
00127 {
00128 
00129     KFBXOBJECT_DECLARE(KFbxStreamOptionsFbxReader,KFbxStreamOptions);
00130 public:
00131 
00159     void Reset();
00160 
00161 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00162 public:
00163     virtual KFbxObject* Clone(KFbxObject* pContainer, KFbxObject::ECloneType pCloneType) const;
00164     
00165     KArrayTemplate<HKFbxTakeInfo> mTakeInfo;
00166     HKFbxDocumentInfo mDocumentInfo;
00167     
00168 protected:
00169     KFbxStreamOptionsFbxReader(KFbxSdkManager& pManager, char const* pName);
00170     virtual ~KFbxStreamOptionsFbxReader();
00171     virtual void Construct(const KFbxStreamOptionsFbxReader* pFrom);
00172     virtual bool ConstructProperties(bool pForceSet);
00173     virtual void Destruct(bool pRecursive, bool pDependents);
00174 #endif
00175 };
00176 
00177 
00178 
00179 
00213 class KFBX_DLL KFbxStreamOptionsFbxWriter : public KFbxStreamOptions
00214 {
00215     KFBXOBJECT_DECLARE(KFbxStreamOptionsFbxWriter,KFbxStreamOptions);
00216 public:
00217     
00249     virtual void Reset();
00250 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00251 public:
00252     
00253     virtual KFbxObject* Clone(KFbxObject* pContainer, KFbxObject::ECloneType pCloneType) const;
00254     KArrayTemplate<HKFbxTakeInfo> mTakeInfo;
00255     HKFbxDocumentInfo mDocumentInfo;
00256 protected:
00257     KFbxStreamOptionsFbxWriter(KFbxSdkManager& pManager, char const* pName);
00258     virtual ~KFbxStreamOptionsFbxWriter();
00259     virtual void Construct(const KFbxStreamOptionsFbxWriter* pFrom);
00260     virtual bool ConstructProperties(bool pForceSet);
00261     virtual void Destruct(bool pRecursive, bool pDependents);
00262 #endif
00263 };
00264 
00265 
00266 
00267 
00268 #include <fbxfilesdk/fbxfilesdk_nsend.h>
00269 #endif // FBXFILESDK_KFBXIO_KFBXSTREAMOPTIONSFBX_H
00270