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 // Compatibility with the old #defines, which are being deprecated...
00068 #ifdef K_FBXSDK
00069 #   undef KFBX_SDK
00070 #   define KFBX_SDK
00071 #endif
00072 
00073 #ifdef K_PLUGIN
00074 #   undef KFBX_PLUGIN
00075 #   define KFBX_PLUGIN
00076 #endif
00077 
00078 #ifdef K_NODLL
00079 #   undef KFBX_NODLL
00080 #   define KFBX_NODLL
00081 #endif
00082 
00083 #ifndef K_FBXSDK_INTERNALPLUGINS
00084     #ifndef KFBX_PLUGIN
00085         #define KFBX_PLUGIN
00086     #endif
00087 
00088     #ifndef KFBX_SDK
00089         #define KFBX_SDK
00090     #endif
00091 
00092     #ifdef MB_FBXSDK
00093         #undef KFBX_DLLIMPORT
00094         #undef KFBX_DLLEXPORT
00095         
00096         // import and export definitions
00097         #if (defined(_MSC_VER) || (defined(__GNUC__) && defined(_WIN32))) && !defined(MB_FBXSDK)
00098             #define KFBX_DLLIMPORT __declspec()
00099             #define KFBX_DLLEXPORT __declspec()
00100         #else 
00101             #define KFBX_DLLIMPORT
00102             #define KFBX_DLLEXPORT
00103         #endif
00104         
00105         #define _K_KAYDARADEF_H
00106         #include <fbxfilesdk/components/kbaselib/karch/arch.h>
00107         
00108         #define KFBX_DLL
00109     #else
00110         #ifndef K_FBXSDK_INTERFACE
00111             #define K_FBXSDK_INTERFACE
00112         #endif
00113     #endif /* MB_FBXSDK */
00114 #endif
00115 
00116 #ifndef KFBX_DLL 
00117     #define KFBX_DLL KFBX_DLLIMPORT
00118 #endif
00119 
00120 #include <fbxfilesdk/fbxfilesdk_def.h>
00121 #include <fbxfilesdk/components/kbaselib/kaydara.h>
00122 
00123 // io
00124 #include <fbxfilesdk/kfbxio/kfbxexporter.h>
00125 #include <fbxfilesdk/kfbxio/kfbxexternaldocreflistener.h>
00126 #include <fbxfilesdk/kfbxio/kfbxfiletokenfbx.h>
00127 #include <fbxfilesdk/kfbxio/kfbxgobo.h>
00128 #include <fbxfilesdk/kfbxio/kfbximporter.h>
00129 #include <fbxfilesdk/kfbxio/kfbxio.h>
00130 #include <fbxfilesdk/kfbxio/kfbxiosettings.h>
00131 #include <fbxfilesdk/kfbxio/kfbxstatisticsfbx.h>
00132 #include <fbxfilesdk/kfbxio/kfbxstreamoptions.h>
00133 #include <fbxfilesdk/kfbxio/kfbxstreamoptions3ds.h>
00134 #include <fbxfilesdk/kfbxio/kfbxstreamoptionscollada.h>
00135 #include <fbxfilesdk/kfbxio/kfbxstreamoptionsdxf.h>
00136 #include <fbxfilesdk/kfbxio/kfbxstreamoptionsfbx.h>
00137 #include <fbxfilesdk/kfbxio/kfbxstreamoptionsobj.h>
00138 #include <fbxfilesdk/kfbxio/kfbxstreamoptionsmotion.h>
00139 
00140 // math
00141 #include <fbxfilesdk/kfbxmath/kfbxmatrix.h>
00142 #include <fbxfilesdk/kfbxmath/kfbxquaternion.h>
00143 #include <fbxfilesdk/kfbxmath/kfbxvector2.h>
00144 #include <fbxfilesdk/kfbxmath/kfbxvector4.h>
00145 #include <fbxfilesdk/kfbxmath/kfbxxmatrix.h>
00146 
00147 // plugins
00148 #include <fbxfilesdk/kfbxplugins/kfbxbindingtable.h>
00149 #include <fbxfilesdk/kfbxplugins/kfbxbindingtableentry.h>
00150 #include <fbxfilesdk/kfbxplugins/kfbxbindingoperator.h>
00151 #include <fbxfilesdk/kfbxplugins/kfbxcache.h>
00152 #include <fbxfilesdk/kfbxplugins/kfbxcamera.h>
00153 #include <fbxfilesdk/kfbxplugins/kfbxcameraswitcher.h>
00154 #include <fbxfilesdk/kfbxplugins/kfbxclonemanager.h>
00155 #include <fbxfilesdk/kfbxplugins/kfbxcluster.h>
00156 #include <fbxfilesdk/kfbxplugins/kfbxcolor.h>
00157 #include <fbxfilesdk/kfbxplugins/kfbxconstraint.h>
00158 #include <fbxfilesdk/kfbxplugins/kfbxconstraintaim.h>
00159 #include <fbxfilesdk/kfbxplugins/kfbxconstraintparent.h>
00160 #include <fbxfilesdk/kfbxplugins/kfbxconstraintposition.h>
00161 #include <fbxfilesdk/kfbxplugins/kfbxconstraintrotation.h>
00162 #include <fbxfilesdk/kfbxplugins/kfbxconstraintscale.h>
00163 #include <fbxfilesdk/kfbxplugins/kfbxconstraintsinglechainik.h>
00164 #include <fbxfilesdk/kfbxplugins/kfbxcontainer.h>
00165 #include <fbxfilesdk/kfbxplugins/kfbxdeformer.h>
00166 #include <fbxfilesdk/kfbxplugins/kfbxexposurecontrol.h>
00167 #include <fbxfilesdk/kfbxplugins/kfbxgenericnode.h>
00168 #include <fbxfilesdk/kfbxplugins/kfbxgeometry.h>
00169 #include <fbxfilesdk/kfbxplugins/kfbxgeometrybase.h>
00170 #include <fbxfilesdk/kfbxplugins/kfbxgeometryconverter.h>
00171 #include <fbxfilesdk/kfbxplugins/kfbxgeometryweightedmap.h>
00172 #include <fbxfilesdk/kfbxplugins/kfbxglobalcamerasettings.h>
00173 #include <fbxfilesdk/kfbxplugins/kfbxgloballightsettings.h>
00174 #include <fbxfilesdk/kfbxplugins/kfbxglobaltimesettings.h>
00175 #include <fbxfilesdk/kfbxplugins/kfbximplementation.h>
00176 #include <fbxfilesdk/kfbxplugins/kfbximplementationfilter.h>
00177 #include <fbxfilesdk/kfbxplugins/kfbximplementationutils.h>
00178 #include <fbxfilesdk/kfbxplugins/kfbxconstantentryview.h>
00179 #include <fbxfilesdk/kfbxplugins/kfbxoperatorentryview.h>
00180 #include <fbxfilesdk/kfbxplugins/kfbxentryview.h>
00181 #include <fbxfilesdk/kfbxplugins/kfbxpropertyentryview.h>
00182 #include <fbxfilesdk/kfbxplugins/kfbxiopluginregistry.h>
00183 #include <fbxfilesdk/kfbxplugins/kfbxkfcurvefilters.h>
00184 #include <fbxfilesdk/kfbxplugins/kfbxlayeredtexture.h>
00185 #include <fbxfilesdk/kfbxplugins/kfbxlibrary.h>
00186 #include <fbxfilesdk/kfbxplugins/kfbxlight.h>
00187 #include <fbxfilesdk/kfbxplugins/kfbxlimitsutilities.h>
00188 #include <fbxfilesdk/kfbxplugins/kfbxlodgroup.h>
00189 #include <fbxfilesdk/kfbxplugins/kfbxmanipulators.h>
00190 #include <fbxfilesdk/kfbxplugins/kfbxmarker.h>
00191 #include <fbxfilesdk/kfbxplugins/kfbxmaterialconverter.h>
00192 #include <fbxfilesdk/kfbxplugins/kfbxmemoryallocator.h>
00193 #include <fbxfilesdk/kfbxplugins/kfbxmesh.h>
00194 #include <fbxfilesdk/kfbxplugins/kfbxnode.h>
00195 #include <fbxfilesdk/kfbxplugins/kfbxnodeattribute.h>
00196 #include <fbxfilesdk/kfbxplugins/kfbxnodeiterator.h>
00197 #include <fbxfilesdk/kfbxplugins/kfbxnull.h>
00198 #include <fbxfilesdk/kfbxplugins/kfbxnurb.h>
00199 #include <fbxfilesdk/kfbxplugins/kfbxnurbscurve.h>
00200 #include <fbxfilesdk/kfbxplugins/kfbxnurbssurface.h>
00201 #include <fbxfilesdk/kfbxplugins/kfbxobjectmetadata.h>
00202 #include <fbxfilesdk/kfbxplugins/kfbxopticalreference.h>
00203 #include <fbxfilesdk/kfbxplugins/kfbxpatch.h>
00204 #include <fbxfilesdk/kfbxplugins/kfbxperipheral.h>
00205 #include <fbxfilesdk/kfbxplugins/kfbxpose.h>
00206 #include <fbxfilesdk/kfbxplugins/kfbxproceduralgeometry.h>
00207 #include <fbxfilesdk/kfbxplugins/kfbxproperty.h>
00208 #include <fbxfilesdk/kfbxplugins/kfbxrenamingstrategyfbx5.h>
00209 #include <fbxfilesdk/kfbxplugins/kfbxrenamingstrategyfbx6.h>
00210 #include <fbxfilesdk/kfbxplugins/kfbxrootnodeutility.h>
00211 #include <fbxfilesdk/kfbxplugins/kfbxscene.h>
00212 #include <fbxfilesdk/kfbxplugins/kfbxsdkmanager.h>
00213 #include <fbxfilesdk/kfbxplugins/kfbxshadingnode.h>
00214 #include <fbxfilesdk/kfbxplugins/kfbxshape.h>
00215 #include <fbxfilesdk/kfbxplugins/kfbxskeleton.h>
00216 #include <fbxfilesdk/kfbxplugins/kfbxskin.h>
00217 #include <fbxfilesdk/kfbxplugins/kfbxstatistics.h>
00218 #include <fbxfilesdk/kfbxplugins/kfbxsubdeformer.h>
00219 #include <fbxfilesdk/kfbxplugins/kfbxsurfacelambert.h>
00220 #include <fbxfilesdk/kfbxplugins/kfbxsurfacematerial.h>
00221 #include <fbxfilesdk/kfbxplugins/kfbxsurfacephong.h>
00222 #include <fbxfilesdk/kfbxplugins/kfbxtakeinfo.h>
00223 #include <fbxfilesdk/kfbxplugins/kfbxtakenode.h>
00224 #include <fbxfilesdk/kfbxplugins/kfbxtexture.h>
00225 #include <fbxfilesdk/kfbxplugins/kfbxthumbnail.h>
00226 #include <fbxfilesdk/kfbxplugins/kfbxtrimnurbssurface.h>
00227 #include <fbxfilesdk/kfbxplugins/kfbxusernotification.h>
00228 #include <fbxfilesdk/kfbxplugins/kfbxuserproperty.h>
00229 #include <fbxfilesdk/kfbxplugins/kfbxutilities.h>
00230 #include <fbxfilesdk/kfbxplugins/kfbxvertexcachedeformer.h>
00231 #include <fbxfilesdk/kfbxplugins/kfbxvideo.h>
00232 #include <fbxfilesdk/kfbxplugins/kfbxweightedmapping.h>
00233 
00234 // core
00235 #include <fbxfilesdk/fbxcore/kfbxquery.h>
00236 #include <fbxfilesdk/fbxcore/fbxcollection/kfbxdocumentinfo.h>
00237 #include <fbxfilesdk/fbxcore/fbxcollection/kfbxpropertymap.h>
00238 #include <fbxfilesdk/fbxcore/fbxxref/fbxxref.h>
00239 
00240 // character
00241 #include <fbxfilesdk/kfbxcharacter/kfbxcharacter.h>
00242 #include <fbxfilesdk/kfbxcharacter/kfbxcharacterpose.h>
00243 #include <fbxfilesdk/kfbxcharacter/kfbxcontrolset.h>
00244 
00245 // components
00246 #include <fbxfilesdk/components/kbaselib/kfbx/kfbx.h>
00247 
00248 #include <fbxfilesdk/components/kbaselib/klib/karrayul.h>
00249 #include <fbxfilesdk/components/kbaselib/klib/kdynamicarray.h>
00250 #include <fbxfilesdk/components/kbaselib/klib/kerror.h>
00251 #include <fbxfilesdk/components/kbaselib/klib/kmap.h>
00252 #include <fbxfilesdk/components/kbaselib/klib/kmemory.h>
00253 #include <fbxfilesdk/components/kbaselib/klib/kscopedptr.h>
00254 #include <fbxfilesdk/components/kbaselib/klib/kset.h>
00255 #include <fbxfilesdk/components/kbaselib/klib/kstring.h>
00256 #include <fbxfilesdk/components/kbaselib/klib/ksystemtime.h>
00257 #include <fbxfilesdk/components/kbaselib/klib/ktime.h>
00258 
00259 #include <fbxfilesdk/components/kfcurve/kfcurve.h>
00260 #include <fbxfilesdk/components/kfcurve/kfcurveglobal.h>
00261 #include <fbxfilesdk/components/kfcurve/kfcurvenode.h>
00262 #include <fbxfilesdk/components/kfcurve/kfcurveutils.h>
00263 
00264 // Events
00265 #include <fbxfilesdk/kfbxevents/includes.h>
00266 
00267 // Mp
00268 #include <fbxfilesdk/kfbxmp/kfbxmutex.h>
00269 
00270 // Modules
00271 #include <fbxfilesdk/kfbxmodules/includes.h>
00272 
00273 // Processors
00274 #include <fbxfilesdk/fbxprocessors/fbxprocessors.h>
00275 
00276 #ifndef MB_FBXSDK
00277     using namespace FBXFILESDK_NAMESPACE;
00278 #else
00279     #ifndef K_FBXSDK_INTERNALPLUGINS
00280         #undef KFBX_DLLIMPORT
00281         #undef KFBX_DLLEXPORT
00282         #undef _K_KAYDARADEF_H
00283     #endif
00284     #include <fbxfilesdk/components/kbaselib/kaydaradef.h>
00285 #endif
00286 
00287 /*
00288     These files, while not directly included here, are still required to use the
00289     FBX SDK, and they are referenced here so that our packaging system pulls them
00290     in into the final distribution directory.
00291 
00292     #include <fbxfilesdk/fbxfilesdk_nsuse.h>
00293 */
00294 
00295 #endif // FBXSDK_H
00296