Blender V5.0
blender::io::obj::OBJParser Class Reference

#include <obj_import_file_reader.hh>

Public Member Functions

 OBJParser (const OBJImportParams &import_params, size_t read_buffer_size)
 ~OBJParser ()
void parse (Vector< std::unique_ptr< Geometry > > &r_all_geometries, GlobalVertices &r_global_vertices)
Span< std::string > mtl_libraries () const

Detailed Description

Definition at line 24 of file obj_import_file_reader.hh.

Constructor & Destructor Documentation

◆ OBJParser()

blender::io::obj::OBJParser::OBJParser ( const OBJImportParams & import_params,
size_t read_buffer_size )

Open OBJ file at the path given in import parameters.

Definition at line 428 of file obj_import_file_reader.cc.

References BKE_reportf(), BLI_fopen(), CLOG_ERROR, LOG, and RPT_ERROR.

◆ ~OBJParser()

blender::io::obj::OBJParser::~OBJParser ( )

Definition at line 442 of file obj_import_file_reader.cc.

Member Function Documentation

◆ mtl_libraries()

Span< string > blender::io::obj::OBJParser::mtl_libraries ( ) const

Return a list of all material library filepaths referenced by the OBJ file.

Definition at line 838 of file obj_import_file_reader.cc.

Referenced by blender::io::obj::importer_main().

◆ parse()

void blender::io::obj::OBJParser::parse ( Vector< std::unique_ptr< Geometry > > & r_all_geometries,
GlobalVertices & r_global_vertices )

The documentation for this class was generated from the following files: