Blender V5.0
obj_exporter.cc File Reference
#include <cstdio>
#include <memory>
#include <system_error>
#include "DNA_curve_enums.h"
#include "DNA_curve_types.h"
#include "BKE_context.hh"
#include "BKE_lib_id.hh"
#include "BKE_report.hh"
#include "BKE_scene.hh"
#include "BLI_path_utils.hh"
#include "BLI_string.h"
#include "BLI_task.hh"
#include "BLI_vector.hh"
#include "DEG_depsgraph_query.hh"
#include "DNA_collection_types.h"
#include "DNA_scene_types.h"
#include "ED_object.hh"
#include "obj_export_mesh.hh"
#include "obj_export_nurbs.hh"
#include "obj_exporter.hh"
#include "obj_export_file_writer.hh"
#include "CLG_log.h"

Go to the source code of this file.

Namespaces

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

Functions

static void blender::io::obj::print_exception_error (const std::system_error &ex)
static bool blender::io::obj::is_curve_nurbs_compatible (const Nurb *nurb)
std::pair< Vector< std::unique_ptr< OBJMesh > >, Vector< std::unique_ptr< IOBJCurve > > > blender::io::obj::filter_supported_objects (Depsgraph *depsgraph, const OBJExportParams &export_params)
static void blender::io::obj::write_mesh_objects (const Span< std::unique_ptr< OBJMesh > > exportable_as_mesh, OBJWriter &obj_writer, MTLWriter *mtl_writer, const OBJExportParams &export_params)
static void blender::io::obj::write_nurbs_curve_objects (const Span< std::unique_ptr< IOBJCurve > > exportable_as_nurbs, const OBJWriter &obj_writer)
static bool blender::io::obj::open_stream_writers (const OBJExportParams &export_params, const char *filepath, std::unique_ptr< OBJWriter > &r_frame_writer, std::unique_ptr< MTLWriter > &r_mtl_writer)
static void blender::io::obj::write_materials (MTLWriter *mtl_writer, const OBJExportParams &export_params)
void blender::io::obj::export_objects (const OBJExportParams &export_params, const Span< std::unique_ptr< OBJMesh > > meshes, const Span< std::unique_ptr< IOBJCurve > > curves, const char *filepath)
void blender::io::obj::export_frame (Depsgraph *depsgraph, const OBJExportParams &export_params, const char *filepath)
bool blender::io::obj::append_frame_to_filename (const char *filepath, const int frame, char r_filepath_with_frames[1024])
void blender::io::obj::exporter_main (bContext *C, const OBJExportParams &export_params)

Variables

static CLG_LogRef LOG = {"io.obj"}

Variable Documentation

◆ LOG

CLG_LogRef LOG = {"io.obj"}
static

Definition at line 40 of file obj_exporter.cc.