FBX SDK Reference Guide: fbxsdk.h Source File
Go to the documentation of this file.
00001 
00004 #ifndef _FbxSdk_h
00005 #define _FbxSdk_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 
00067 #ifndef K_FBXSDK_INTERNALPLUGINS
00068     #ifndef K_PLUGIN
00069         #define K_PLUGIN
00070     #endif
00071 
00072     #ifndef K_FBXSDK
00073         #define K_FBXSDK
00074     #endif
00075 
00076     #ifdef MB_FBXSDK
00077         #undef K_DLLIMPORT
00078         #undef K_DLLEXPORT
00079         
00080         // import and export definitions
00081         #if (defined(_MSC_VER) || (defined(__GNUC__) && defined(_WIN32))) && !defined(MB_FBXSDK)
00082             #define K_DLLIMPORT __declspec()
00083             #define K_DLLEXPORT __declspec()
00084         #else 
00085             #define K_DLLIMPORT
00086             #define K_DLLEXPORT
00087         #endif
00088         
00089         #define _K_KAYDARADEF_H
00090         #include <fbxfilesdk/components/kbaselib/karch/arch.h>
00091         
00092         #define KFBX_DLL
00093         #define KBASELIB_DLL
00094         #define KFCURVE_DLL
00095         #define KFBX_DLL
00096     #else
00097         #ifndef K_FBXSDK_INTERFACE
00098             #define K_FBXSDK_INTERFACE
00099         #endif
00100     #endif /* MB_FBXSDK */
00101 #endif
00102 
00103 #ifndef KFBX_DLL 
00104     #define KFBX_DLL K_DLLIMPORT
00105 #endif
00106 
00107 #include <fbxfilesdk_def.h>
00108 #include <kaydara.h>
00109 
00110 // io
00111 #include <kfbxio/kfbxio.h>
00112 #include <kfbxio/kfbxexporter.h>
00113 #include <kfbxio/kfbximporter.h>
00114 #include <kfbxio/kfbxstreamoptionsfbx.h>
00115 #include <kfbxio/kfbxstreamoptionsdxf.h>
00116 #include <kfbxio/kfbxstreamoptions3ds.h>
00117 #include <kfbxio/kfbxstreamoptionscollada.h>
00118 #include <kfbxio/kfbxstreamoptionsobj.h>
00119 
00120 // math
00121 #include <kfbxmath/kfbxmatrix.h>
00122 #include <kfbxmath/kfbxquaternion.h>
00123 #include <kfbxmath/kfbxvector2.h>
00124 #include <kfbxmath/kfbxvector4.h>
00125 #include <kfbxmath/kfbxxmatrix.h>
00126 
00127 // plugins
00128 #include <kfbxplugins/kfbxsdkmanager.h>
00129 #include <kfbxplugins/kfbxmemoryallocator.h>
00130 #include <kfbxplugins/kfbxscene.h>
00131 #include <kfbxplugins/kfbxgloballightsettings.h>
00132 #include <kfbxplugins/kfbxglobalcamerasettings.h>
00133 #include <kfbxplugins/kfbxglobaltimesettings.h>
00134 #include <kfbxplugins/kfbxcolor.h>
00135 #include <kfbxplugins/kfbxnode.h>
00136 #include <kfbxplugins/kfbxnodeattribute.h>
00137 #include <kfbxplugins/kfbxnodeiterator.h>
00138 #include <kfbxplugins/kfbxmarker.h>
00139 #include <kfbxplugins/kfbxcamera.h>
00140 #include <kfbxplugins/kfbxcameraswitcher.h>
00141 #include <kfbxplugins/kfbxlight.h>
00142 #include <kfbxplugins/kfbxopticalreference.h>
00143 #include <kfbxplugins/kfbxskeleton.h>
00144 #include <kfbxplugins/kfbxgeometry.h>
00145 #include <kfbxplugins/kfbxgeometrybase.h>
00146 #include <kfbxplugins/kfbxgeometryconverter.h>
00147 #include <kfbxplugins/kfbxgeometryweightedmap.h>
00148 #include <kfbxplugins/kfbxmesh.h>
00149 #include <kfbxplugins/kfbxnurb.h>
00150 #include <kfbxplugins/kfbxpatch.h>
00151 #include <kfbxplugins/kfbxtexture.h>
00152 #include <kfbxplugins/kfbxsurfacematerial.h>
00153 #include <kfbxplugins/kfbxsurfacelambert.h>
00154 #include <kfbxplugins/kfbxsurfacephong.h>
00155 #include <kfbxplugins/kfbxdeformer.h>
00156 #include <kfbxplugins/kfbxskin.h>
00157 #include <kfbxplugins/kfbxsubdeformer.h>
00158 #include <kfbxplugins/kfbxcluster.h>
00159 #include <kfbxplugins/kfbxshape.h>
00160 #include <kfbxplugins/kfbxtakenode.h>
00161 #include <kfbxplugins/kfbxtakeinfo.h>
00162 #include <kfbxplugins/kfbxpose.h>
00163 #include <kfbxplugins/kfbxnull.h>
00164 #include <kfbxplugins/kfbxthumbnail.h>
00165 #include <fbxcore/fbxcollection/kfbxdocumentinfo.h>
00166 #include <kfbxplugins/kfbxproperty.h>
00167 #include <kfbxplugins/kfbxuserproperty.h>
00168 #include <kfbxplugins/kfbxutilities.h>
00169 #include <kfbxplugins/kfbxvideo.h>
00170 #include <kfbxplugins/kfbxgenericnode.h>
00171 #include <kfbxplugins/kfbxconstraint.h>
00172 #include <kfbxplugins/kfbxconstraintaim.h>
00173 #include <kfbxplugins/kfbxconstraintparent.h>
00174 #include <kfbxplugins/kfbxconstraintposition.h>
00175 #include <kfbxplugins/kfbxconstraintrotation.h>
00176 #include <kfbxplugins/kfbxconstraintscale.h>
00177 #include <kfbxplugins/kfbxconstraintsinglechainik.h>
00178 #include <kfbxplugins/kfbxweightedmapping.h>
00179 #include <kfbxplugins/kfbxnurbscurve.h>
00180 #include <kfbxplugins/kfbxtrimnurbssurface.h>
00181 #include <kfbxplugins/kfbxnurbssurface.h>
00182 #include <kfbxplugins/kfbxiopluginregistry.h>
00183 #include <kfbxplugins/kfbxcache.h>
00184 #include <kfbxplugins/kfbxshadingnode.h>
00185 #include <kfbxplugins/kfbxvertexcachedeformer.h>
00186 #include <kfbxplugins/kfbxrootnodeutility.h>
00187 #include <kfbxplugins/kfbxbindingtable.h>
00188 #include <kfbxplugins/kfbxbindingtableentry.h>
00189 #include <kfbxplugins/kfbxlibrary.h>
00190 #include <kfbxplugins/kfbxlayeredtexture.h>
00191 #include <kfbxplugins/kfbxclonemanager.h>
00192 #include <kfbxplugins/kfbxobjectmetadata.h>
00193 #include <kfbxplugins/kfbxperipheral.h>
00194 #include <kfbxplugins/kfbxproceduralgeometry.h>
00195 #include <kfbxplugins/kfbxmanipulators.h>
00196 
00197 #include <fbxcore/kfbxquery.h>
00198 #include <fbxcore/fbxcollection/kfbxpropertymap.h>
00199 
00200 #include <fbxcore/fbxxref/fbxxref.h>
00201 
00202 #include <kfbxcharacter/kfbxcharacter.h>
00203 #include <kfbxcharacter/kfbxcharacterpose.h>
00204 #include <kfbxcharacter/kfbxcontrolset.h>
00205 
00206 #include <kfcurve/kfcurve.h>
00207 #include <kfcurve/kfcurvenode.h>
00208 #include <kfcurve/kfcurveutils.h>
00209 
00210 #include <klib/karrayul.h>
00211 #include <klib/kerror.h>
00212 #include <klib/kmemory.h>
00213 #include <klib/kset.h>
00214 #include <klib/kstring.h>
00215 #include <klib/ktime.h>
00216 #include <klib/kscopedptr.h>
00217 #include <klib/kdynamicarray.h>
00218 #include <klib/kmap.h>
00219 
00220 // Events
00221 #include <kfbxevents/includes.h>
00222 
00223 // Mp
00224 #include <kfbxmp/kfbxmutex.h>
00225 
00226 #ifndef MB_FBXSDK
00227     using namespace FBXFILESDK_NAMESPACE;
00228 #else
00229     #ifndef K_FBXSDK_INTERNALPLUGINS
00230         #undef K_DLLIMPORT
00231         #undef K_DLLEXPORT
00232         #undef _K_KAYDARADEF_H
00233     #endif
00234     #include <fbxfilesdk/components/kbaselib/kaydaradef.h>
00235 #endif
00236 
00237 #endif /* _FBXSDK_H_ */
00238