Initial parsing for header and more.

pull/2529/head
Kim Kulling 2019-05-24 17:22:54 +02:00
parent 2ba3d956d1
commit b03b3b9c03
5 changed files with 15 additions and 2 deletions

View File

@ -292,6 +292,11 @@ ADD_ASSIMP_IMPORTER( AMF
AMFImporter_Postprocess.cpp AMFImporter_Postprocess.cpp
) )
ADD_ASSIMP_IMPORTER( JT
JTImporter.h
JTImporter.cpp
)
ADD_ASSIMP_IMPORTER( 3DS ADD_ASSIMP_IMPORTER( 3DS
3DSConverter.cpp 3DSConverter.cpp
3DSHelper.h 3DSHelper.h

View File

@ -200,6 +200,9 @@ corresponding preprocessor flag to selectively disable formats.
#ifndef ASSIMP_BUILD_NO_STEP_IMPORTER #ifndef ASSIMP_BUILD_NO_STEP_IMPORTER
# include "Importer/StepFile/StepFileImporter.h" # include "Importer/StepFile/StepFileImporter.h"
#endif #endif
#ifndef ASSIMP_BUILD_NO_JT_IMPORTER
# include "JTImporter.h"
#endif
namespace Assimp { namespace Assimp {
@ -358,13 +361,17 @@ void GetImporterInstanceList(std::vector< BaseImporter* >& out)
#ifndef ASSIMP_BUILD_NO_STEP_IMPORTER #ifndef ASSIMP_BUILD_NO_STEP_IMPORTER
out.push_back(new StepFile::StepFileImporter()); out.push_back(new StepFile::StepFileImporter());
#endif #endif
#ifndef ASSIMP_BUILD_NO_JT_IMPORTER
out.push_back(new JTImporter());
#endif
} }
/** will delete all registered importers. */ /** will delete all registered importers. */
void DeleteImporterInstanceList(std::vector< BaseImporter* >& deleteList){ void DeleteImporterInstanceList(std::vector< BaseImporter* >& deleteList){
for(size_t i= 0; i<deleteList.size();++i){ for(size_t i= 0; i<deleteList.size();++i){
delete deleteList[i]; delete deleteList[i];
deleteList[i]=NULL; deleteList[i]=nullptr;
}//for }//for
} }

View File

@ -126,6 +126,7 @@ SET( IMPORTERS
unit/ImportExport/utOFFImportExport.cpp unit/ImportExport/utOFFImportExport.cpp
unit/ImportExport/utNFFImportExport.cpp unit/ImportExport/utNFFImportExport.cpp
unit/ImportExport/utXGLImportExport.cpp unit/ImportExport/utXGLImportExport.cpp
unit/ImportExport/utJTImporter.cpp
) )
SET( MATERIAL SET( MATERIAL

Binary file not shown.

View File

@ -1,6 +1,6 @@
ply ply
format ascii 1.0 format ascii 1.0
comment Created by Open Asset Import Library - http://assimp.sf.net (v4.1.3297435427) comment Created by Open Asset Import Library - http://assimp.sf.net (v4.1.732158294)
element vertex 8 element vertex 8
property float x property float x
property float y property float y