Blender V4.3
obj_importer.cc File Reference
#include <string>
#include "BLI_map.hh"
#include "BLI_set.hh"
#include "BLI_sort.hh"
#include "BLI_string.h"
#include "BLI_string_ref.hh"
#include "BKE_context.hh"
#include "BKE_curve_legacy_convert.hh"
#include "BKE_geometry_set.hh"
#include "BKE_instances.hh"
#include "BKE_layer.hh"
#include "DEG_depsgraph_build.hh"
#include "DNA_collection_types.h"
#include "obj_export_mtl.hh"
#include "obj_import_file_reader.hh"
#include "obj_import_mesh.hh"
#include "obj_import_nurbs.hh"
#include "obj_import_objects.hh"
#include "obj_importer.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::io
 
namespace  blender::io::obj
 

Functions

static Collectionblender::io::obj::find_or_create_collection (Main *bmain, Collection *target, const std::string &geom_name, const OBJImportParams &import_params)
 
static void blender::io::obj::geometry_to_blender_geometry_set (const OBJImportParams &import_params, const Span< std::unique_ptr< Geometry > > all_geometries, const GlobalVertices &global_vertices, Vector< bke::GeometrySet > &geometries)
 
static void blender::io::obj::geometry_to_blender_objects (Main *bmain, Scene *scene, ViewLayer *view_layer, const OBJImportParams &import_params, MutableSpan< std::unique_ptr< Geometry > > all_geometries, const GlobalVertices &global_vertices, Map< std::string, std::unique_ptr< MTLMaterial > > &materials, Map< std::string, Material * > &created_materials)
 
void blender::io::obj::importer_geometry (const OBJImportParams &import_params, Vector< bke::GeometrySet > &geometries, size_t read_buffer_size)
 
void blender::io::obj::importer_main (bContext *C, const OBJImportParams &import_params)
 
void blender::io::obj::importer_main (Main *bmain, Scene *scene, ViewLayer *view_layer, const OBJImportParams &import_params, size_t read_buffer_size)