00001 //=========================================================================== 00002 /* 00003 This file is part of the CHAI 3D visualization and haptics libraries. 00004 Copyright (C) 2003-2009 by CHAI 3D. All rights reserved. 00005 00006 This library is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License("GPL") version 2 00008 as published by the Free Software Foundation. 00009 00010 For using the CHAI 3D libraries with software that can not be combined 00011 with the GNU GPL, and for taking advantage of the additional benefits 00012 of our support services, please contact CHAI 3D about acquiring a 00013 Professional Edition License. 00014 00015 \author <http://www.chai3d.org> 00016 \author Dan Morris 00017 \version 2.0.0 $Rev: 251 $ 00018 */ 00019 //=========================================================================== 00020 00021 //--------------------------------------------------------------------------- 00022 #ifndef CMeshLoaderH 00023 #define CMeshLoaderH 00024 //--------------------------------------------------------------------------- 00025 #include "math/CMatrix3d.h" 00026 #include "math/CVector3d.h" 00027 #include "graphics/CVertex.h" 00028 #include "graphics/CTriangle.h" 00029 #include "graphics/CMaterial.h" 00030 #include "graphics/CTexture2D.h" 00031 #include "scenegraph/CWorld.h" 00032 #include "scenegraph/CLight.h" 00033 #include "scenegraph/CMesh.h" 00034 #include "files/CFileLoaderOBJ.h" 00035 #include "files/CFileLoader3DS.h" 00036 #include <string> 00037 //--------------------------------------------------------------------------- 00038 00039 //=========================================================================== 00047 //=========================================================================== 00048 00049 //--------------------------------------------------------------------------- 00050 // GLOBAL UTILITY FUNCTIONS: 00051 //--------------------------------------------------------------------------- 00052 00059 bool cLoadMeshFromFile(cMesh* a_mesh, const string& a_fileName); 00060 00061 //--------------------------------------------------------------------------- 00062 #endif 00063 //---------------------------------------------------------------------------