nuclear@0: /* nuclear@0: --------------------------------------------------------------------------- nuclear@0: Open Asset Import Library (assimp) nuclear@0: --------------------------------------------------------------------------- nuclear@0: nuclear@0: Copyright (c) 2006-2012, assimp team nuclear@0: nuclear@0: All rights reserved. nuclear@0: nuclear@0: Redistribution and use of this software in source and binary forms, nuclear@0: with or without modification, are permitted provided that the following nuclear@0: conditions are met: nuclear@0: nuclear@0: * Redistributions of source code must retain the above nuclear@0: copyright notice, this list of conditions and the nuclear@0: following disclaimer. nuclear@0: nuclear@0: * Redistributions in binary form must reproduce the above nuclear@0: copyright notice, this list of conditions and the nuclear@0: following disclaimer in the documentation and/or other nuclear@0: materials provided with the distribution. nuclear@0: nuclear@0: * Neither the name of the assimp team, nor the names of its nuclear@0: contributors may be used to endorse or promote products nuclear@0: derived from this software without specific prior nuclear@0: written permission of the assimp team. nuclear@0: nuclear@0: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS nuclear@0: "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT nuclear@0: LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR nuclear@0: A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT nuclear@0: OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, nuclear@0: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT nuclear@0: LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, nuclear@0: DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY nuclear@0: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT nuclear@0: (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE nuclear@0: OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. nuclear@0: --------------------------------------------------------------------------- nuclear@0: */ nuclear@0: nuclear@0: /** @file ImporterRegistry.cpp nuclear@0: nuclear@0: Central registry for all importers available. Do not edit this file nuclear@0: directly (unless you are adding new loaders), instead use the nuclear@0: corresponding preprocessor flag to selectively disable formats. nuclear@0: */ nuclear@0: nuclear@0: #include "AssimpPCH.h" nuclear@0: nuclear@0: // ------------------------------------------------------------------------------------------------ nuclear@0: // Importers nuclear@0: // (include_new_importers_here) nuclear@0: // ------------------------------------------------------------------------------------------------ nuclear@0: #ifndef ASSIMP_BUILD_NO_X_IMPORTER nuclear@0: # include "XFileImporter.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_3DS_IMPORTER nuclear@0: # include "3DSLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_MD3_IMPORTER nuclear@0: # include "MD3Loader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_MDL_IMPORTER nuclear@0: # include "MDLLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_MD2_IMPORTER nuclear@0: # include "MD2Loader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_PLY_IMPORTER nuclear@0: # include "PlyLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_ASE_IMPORTER nuclear@0: # include "ASELoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_OBJ_IMPORTER nuclear@0: # include "ObjFileImporter.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_HMP_IMPORTER nuclear@0: # include "HMPLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_SMD_IMPORTER nuclear@0: # include "SMDLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_MDC_IMPORTER nuclear@0: # include "MDCLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_MD5_IMPORTER nuclear@0: # include "MD5Loader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_STL_IMPORTER nuclear@0: # include "STLLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_LWO_IMPORTER nuclear@0: # include "LWOLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_DXF_IMPORTER nuclear@0: # include "DXFLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_NFF_IMPORTER nuclear@0: # include "NFFLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_RAW_IMPORTER nuclear@0: # include "RawLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_OFF_IMPORTER nuclear@0: # include "OFFLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_AC_IMPORTER nuclear@0: # include "ACLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_BVH_IMPORTER nuclear@0: # include "BVHLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_IRRMESH_IMPORTER nuclear@0: # include "IRRMeshLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_IRR_IMPORTER nuclear@0: # include "IRRLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_Q3D_IMPORTER nuclear@0: # include "Q3DLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_B3D_IMPORTER nuclear@0: # include "B3DImporter.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_COLLADA_IMPORTER nuclear@0: # include "ColladaLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_TERRAGEN_IMPORTER nuclear@0: # include "TerragenLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_CSM_IMPORTER nuclear@0: # include "CSMLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_3D_IMPORTER nuclear@0: # include "UnrealLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_LWS_IMPORTER nuclear@0: # include "LWSLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_OGRE_IMPORTER nuclear@0: # include "OgreImporter.hpp" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_MS3D_IMPORTER nuclear@0: # include "MS3DLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_COB_IMPORTER nuclear@0: # include "COBLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_BLEND_IMPORTER nuclear@0: # include "BlenderLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_Q3BSP_IMPORTER nuclear@0: # include "Q3BSPFileImporter.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_NDO_IMPORTER nuclear@0: # include "NDOLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_IFC_IMPORTER nuclear@0: # include "IFCLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_XGL_IMPORTER nuclear@0: # include "XGLLoader.h" nuclear@0: #endif nuclear@0: #ifndef ASSIMP_BUILD_NO_FBX_IMPORTER nuclear@0: # include "FBXImporter.h" nuclear@0: #endif nuclear@0: nuclear@0: namespace Assimp { nuclear@0: nuclear@0: // ------------------------------------------------------------------------------------------------ nuclear@0: void GetImporterInstanceList(std::vector< BaseImporter* >& out) nuclear@0: { nuclear@0: // ---------------------------------------------------------------------------- nuclear@0: // Add an instance of each worker class here nuclear@0: // (register_new_importers_here) nuclear@0: // ---------------------------------------------------------------------------- nuclear@0: out.reserve(64); nuclear@0: #if (!defined ASSIMP_BUILD_NO_X_IMPORTER) nuclear@0: out.push_back( new XFileImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_OBJ_IMPORTER) nuclear@0: out.push_back( new ObjFileImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_3DS_IMPORTER) nuclear@0: out.push_back( new Discreet3DSImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_MD3_IMPORTER) nuclear@0: out.push_back( new MD3Importer()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_MD2_IMPORTER) nuclear@0: out.push_back( new MD2Importer()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_PLY_IMPORTER) nuclear@0: out.push_back( new PLYImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_MDL_IMPORTER) nuclear@0: out.push_back( new MDLImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_ASE_IMPORTER) nuclear@0: out.push_back( new ASEImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_HMP_IMPORTER) nuclear@0: out.push_back( new HMPImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_SMD_IMPORTER) nuclear@0: out.push_back( new SMDImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_MDC_IMPORTER) nuclear@0: out.push_back( new MDCImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_MD5_IMPORTER) nuclear@0: out.push_back( new MD5Importer()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_STL_IMPORTER) nuclear@0: out.push_back( new STLImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_LWO_IMPORTER) nuclear@0: out.push_back( new LWOImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_DXF_IMPORTER) nuclear@0: out.push_back( new DXFImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_NFF_IMPORTER) nuclear@0: out.push_back( new NFFImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_RAW_IMPORTER) nuclear@0: out.push_back( new RAWImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_OFF_IMPORTER) nuclear@0: out.push_back( new OFFImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_AC_IMPORTER) nuclear@0: out.push_back( new AC3DImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_BVH_IMPORTER) nuclear@0: out.push_back( new BVHLoader()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_IRRMESH_IMPORTER) nuclear@0: out.push_back( new IRRMeshImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_IRR_IMPORTER) nuclear@0: out.push_back( new IRRImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_Q3D_IMPORTER) nuclear@0: out.push_back( new Q3DImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_B3D_IMPORTER) nuclear@0: out.push_back( new B3DImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_COLLADA_IMPORTER) nuclear@0: out.push_back( new ColladaLoader()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_TERRAGEN_IMPORTER) nuclear@0: out.push_back( new TerragenImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_CSM_IMPORTER) nuclear@0: out.push_back( new CSMImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_3D_IMPORTER) nuclear@0: out.push_back( new UnrealImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_LWS_IMPORTER) nuclear@0: out.push_back( new LWSImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_OGRE_IMPORTER) nuclear@0: out.push_back( new Ogre::OgreImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_MS3D_IMPORTER) nuclear@0: out.push_back( new MS3DImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_COB_IMPORTER) nuclear@0: out.push_back( new COBImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_BLEND_IMPORTER) nuclear@0: out.push_back( new BlenderImporter()); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_Q3BSP_IMPORTER) nuclear@0: out.push_back( new Q3BSPFileImporter() ); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_NDO_IMPORTER) nuclear@0: out.push_back( new NDOImporter() ); nuclear@0: #endif nuclear@0: #if (!defined ASSIMP_BUILD_NO_IFC_IMPORTER) nuclear@0: out.push_back( new IFCImporter() ); nuclear@0: #endif nuclear@0: #if ( !defined ASSIMP_BUILD_NO_XGL_IMPORTER ) nuclear@0: out.push_back( new XGLImporter() ); nuclear@0: #endif nuclear@0: #if ( !defined ASSIMP_BUILD_NO_FBX_IMPORTER ) nuclear@0: out.push_back( new FBXImporter() ); nuclear@0: #endif nuclear@0: } nuclear@0: nuclear@0: }