00001 /*************************************************************************\ 00002 Copyright 2014 Institute of Industrial and Control Engineering (IOC) 00003 Universitat Politecnica de Catalunya 00004 BarcelonaTech 00005 All Rights Reserved. 00006 00007 This program is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by 00009 the Free Software Foundation; either version 2 of the License, or 00010 (at your option) any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program; if not, write to the 00019 Free Software Foundation, Inc., 00020 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00021 \*************************************************************************/ 00022 00023 /* Author: Nestor Garcia Hidalgo, extended by Jennifer Buehler */ 00024 00025 #ifndef ASSIMP_IMPORT_H 00026 #define ASSIMP_IMPORT_H 00027 00028 #include <Inventor/nodes/SoSeparator.h> 00029 #include <Inventor/nodes/SoMaterial.h> 00030 #include <assimp/scene.h> 00031 #include <string> 00032 #include <vector> 00033 00037 SoSeparator *Assimp2Inventor(const aiScene *const scene, const std::string& sceneDir, const SoMaterial * materialOverride); 00038 00039 std::vector<std::string> assimpImportedExtensions(); 00040 00041 std::vector<std::pair<std::string, std::vector<std::string> > > assimpImportedFormats(); 00042 00043 #endif // ASSIMP_IMPORT_H