kfbxstreamoptionsfbx.h

Go to the documentation of this file.
00001 
00004 #ifndef _FBXSDK_KFbxStreamOptionsFbxWriter_H_
00005 #define _FBXSDK_KFbxStreamOptionsFbxWriter_H_
00006 /**************************************************************************************
00007 
00008  Copyright © 1999 - 2007 Autodesk, Inc. and/or its licensors.
00009  All Rights Reserved.
00010 
00011  The coded instructions, statements, computer programs, and/or related material
00012  (collectively the "Data") in these files contain unpublished information
00013  proprietary to Autodesk, Inc. and/or its licensors, which is protected by
00014  Canada and United States of America federal copyright law and by international
00015  treaties.
00016 
00017  The Data may not be disclosed or distributed to third parties, in whole or in
00018  part, without the prior written consent of Autodesk, Inc. ("Autodesk").
00019 
00020  THE DATA IS PROVIDED "AS IS" AND WITHOUT WARRANTY.
00021  ALL WARRANTIES ARE EXPRESSLY EXCLUDED AND DISCLAIMED. AUTODESK MAKES NO
00022  WARRANTY OF ANY KIND WITH RESPECT TO THE DATA, EXPRESS, IMPLIED OR ARISING
00023  BY CUSTOM OR TRADE USAGE, AND DISCLAIMS ANY IMPLIED WARRANTIES OF TITLE,
00024  NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR USE.
00025  WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT WARRANT THAT THE OPERATION
00026  OF THE DATA WILL BE UNINTERRUPTED OR ERROR FREE.
00027 
00028  IN NO EVENT SHALL AUTODESK, ITS AFFILIATES, PARENT COMPANIES, LICENSORS
00029  OR SUPPLIERS ("AUTODESK GROUP") BE LIABLE FOR ANY LOSSES, DAMAGES OR EXPENSES
00030  OF ANY KIND (INCLUDING WITHOUT LIMITATION PUNITIVE OR MULTIPLE DAMAGES OR OTHER
00031  SPECIAL, DIRECT, INDIRECT, EXEMPLARY, INCIDENTAL, LOSS OF PROFITS, REVENUE
00032  OR DATA, COST OF COVER OR CONSEQUENTIAL LOSSES OR DAMAGES OF ANY KIND),
00033  HOWEVER CAUSED, AND REGARDLESS OF THE THEORY OF LIABILITY, WHETHER DERIVED
00034  FROM CONTRACT, TORT (INCLUDING, BUT NOT LIMITED TO, NEGLIGENCE), OR OTHERWISE,
00035  ARISING OUT OF OR RELATING TO THE DATA OR ITS USE OR ANY OTHER PERFORMANCE,
00036  WHETHER OR NOT AUTODESK HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS
00037  OR DAMAGE.
00038 
00039 **************************************************************************************/
00040 
00041 
00042 #define KFBXSTREAMOPT_FBX_CURRENT_TAKE_NAME "CURRENT TAKE NAME"
00043 #define KFBXSTREAMOPT_FBX_PASSWORD "PASSWORD"
00044 #define KFBXSTREAMOPT_FBX_PASSWORD_ENABLE "PASSWORD ENABLE"
00045 #define KFBXSTREAMOPT_FBX_MODEL "MODEL"
00046 #define KFBXSTREAMOPT_FBX_TEXTURE "TEXTURE"
00047 #define KFBXSTREAMOPT_FBX_MATERIAL "MATERIAL"
00048 #define KFBXSTREAMOPT_FBX_MEDIA "MEDIA"
00049 #define KFBXSTREAMOPT_FBX_LINK "LINK"
00050 #define KFBXSTREAMOPT_FBX_SHAPE "SHAPE"
00051 #define KFBXSTREAMOPT_FBX_GOBO "GOBO"
00052 #define KFBXSTREAMOPT_FBX_ANIMATION "ANIMATION"
00053 #define KFBXSTREAMOPT_FBX_CHARACTER "CHARACTER"
00054 #define KFBXSTREAMOPT_FBX_GLOBAL_SETTINGS "GLOBAL SETTINGS"
00055 #define KFBXSTREAMOPT_FBX_PIVOT "PIVOT"
00056 #define KFBXSTREAMOPT_FBX_MERGE_LAYER_AND_TIMEWARP "MERGE LAYER AND TIMEWARP"
00057 #define KFBXSTREAMOPT_FBX_CONSTRAINT "CONSTRAINT"
00058 #define KFBXSTREAMOPT_FBX_EMBEDDED "EMBEDDED"
00059 #define KFBXSTREAMOPT_FBX_MODEL_COUNT "MODEL COUNT"
00060 #define KFBXSTREAMOPT_FBX_DEVICE_COUNT "DEVICE COUNT"
00061 #define KFBXSTREAMOPT_FBX_CHARACTER_COUNT "CHARACTER COUNT"
00062 #define KFBXSTREAMOPT_FBX_ACTOR_COUNT "ACTOR COUNT"
00063 #define KFBXSTREAMOPT_FBX_CONSTRAINT_COUNT "CONSTRAINT_COUNT"
00064 #define KFBXSTREAMOPT_FBX_MEDIA_COUNT "MEDIA COUNT"
00065 #define KFBXSTREAMOPT_FBX_TEMPLATE "TEMPLATE"
00066 
00067 
00068 #include <kaydaradef.h>
00069 #ifndef KFBX_DLL 
00070     #define KFBX_DLL K_DLLIMPORT
00071 #endif
00072 
00073 #include <kfbxplugins/kfbxsdkmanager.h>
00074 #include <kfbxio/kfbxstreamoptions.h>
00075 #include <kfbxplugins/kfbxobject.h>
00076 #include <klib/karrayul.h>
00077 #include <kfbxplugins/kfbxtakeinfo.h>
00078 #include <kfbxplugins/kfbxsceneinfo.h>
00079 
00080 
00081 
00082 #include <fbxfilesdk_nsbegin.h>
00086 class KFBX_DLL KFbxStreamOptionsFbxReader : public KFbxStreamOptions
00087 {
00088 
00089     KFBXOBJECT_DECLARE(KFbxStreamOptionsFbxReader);
00090 public:
00091 
00094     void Reset();
00095 
00096 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00097 public:
00098     virtual KFbxObject* Clone(KFbxObject::ECloneType pCloneType) const;
00099     
00100     KArrayTemplate<HKFbxTakeInfo> mTakeInfo;
00101     HKFbxSceneInfo mSceneInfo;
00102     
00103 protected:
00104     KFbxStreamOptionsFbxReader(KFbxSdkManager& pManager, char const* pName);
00105     virtual ~KFbxStreamOptionsFbxReader();
00106     virtual void Destruct(bool pRecursive, bool pDependents);
00107 #endif
00108 };
00109 
00110 
00111 
00115 class KFBX_DLL KFbxStreamOptionsFbxWriter : public KFbxStreamOptions
00116 {
00117     KFBXOBJECT_DECLARE(KFbxStreamOptionsFbxWriter);
00118 public:
00121     virtual void Reset();
00122 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00123 public:
00124     
00125     virtual KFbxObject* Clone(KFbxObject::ECloneType pCloneType) const;
00126     KArrayTemplate<HKFbxTakeInfo> mTakeInfo;
00127     HKFbxSceneInfo mSceneInfo;
00128 protected:
00129     KFbxStreamOptionsFbxWriter(KFbxSdkManager& pManager, char const* pName);
00130     virtual ~KFbxStreamOptionsFbxWriter();
00131     virtual void Destruct(bool pRecursive, bool pDependents);
00132 #endif
00133 };
00134 
00135 
00136 
00137 
00138 #include <fbxfilesdk_nsend.h>
00139 #endif