|
Blender V4.3
|
#include <iostream>#include "BLI_path_utils.hh"#include "BLI_timeit.hh"#include "IO_wavefront_obj.hh"#include "obj_exporter.hh"#include "obj_importer.hh"Go to the source code of this file.
Functions | |
| static void | report_duration (const char *job, const TimePoint &start_time, const char *path) |
| void | OBJ_export (bContext *C, const OBJExportParams *export_params) |
| void | OBJ_import (bContext *C, const OBJImportParams *import_params) |
| void | OBJ_import_geometries (const OBJImportParams *import_params, blender::Vector< blender::bke::GeometrySet > &geometries) |
| void OBJ_export | ( | bContext * | C, |
| const OBJExportParams * | export_params ) |
Perform the full export process.
Definition at line 29 of file IO_wavefront_obj.cc.
References blender::io::obj::exporter_main(), OBJExportParams::filepath, and report_duration().
| void OBJ_import | ( | bContext * | C, |
| const OBJImportParams * | import_params ) |
Perform the full import process. Import also changes the selection & the active object; callers need to update the UI bits if needed.
Definition at line 36 of file IO_wavefront_obj.cc.
References OBJImportParams::filepath, blender::io::obj::importer_main(), and report_duration().
| void OBJ_import_geometries | ( | const OBJImportParams * | import_params, |
| blender::Vector< blender::bke::GeometrySet > & | geometries ) |
Reads and returns just the meshes in the obj file
Definition at line 43 of file IO_wavefront_obj.cc.
References blender::io::obj::importer_geometry().
Referenced by blender::nodes::node_geo_import_obj::node_geo_exec().
|
static |
Definition at line 21 of file IO_wavefront_obj.cc.
References BLI_path_basename(), and blender::timeit::print_duration().
Referenced by OBJ_export(), and OBJ_import().