Blender V4.3
IO_wavefront_obj.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11#include "BLI_path_utils.hh"
12
13#include "BKE_geometry_set.hh"
14
15#include "DEG_depsgraph.hh"
16
17#include "IO_orientation.hh"
18#include "IO_path_util_types.hh"
19
20struct bContext;
21struct ReportList;
22
28 char collection[MAX_IDPROP_NAME] = "";
29
31 const char *blen_filepath;
32
39
40 /* Geometry Transform options. */
44
45 /* File Write Options. */
57
58 /* Grouping options. */
62 /* Calculate smooth groups from sharp edges. */
64 /* Create bitflags instead of the default "0"/"1" group IDs. */
66
67 ReportList *reports = nullptr;
68};
69
88
92void OBJ_import_geometries(const OBJImportParams *import_params,
94
100void OBJ_import(bContext *C, const OBJImportParams *import_params);
101
105void OBJ_export(bContext *C, const OBJExportParams *export_params);
#define FILE_MAX
eEvaluationMode
#define MAX_IDPROP_NAME
Definition DNA_ID.h:185
eIOAxis
@ IO_AXIS_Y
@ IO_AXIS_NEGATIVE_Z
ePathReferenceMode
void OBJ_import(bContext *C, const OBJImportParams *import_params)
void OBJ_export(bContext *C, const OBJExportParams *export_params)
void OBJ_import_geometries(const OBJImportParams *import_params, blender::Vector< blender::bke::GeometrySet > &geometries)
eEvaluationMode export_eval_mode
const char * blen_filepath
char file_base_for_tests[FILE_MAX]
ReportList * reports
ePathReferenceMode path_mode
char filepath[FILE_MAX]
ReportList * reports
char filepath[FILE_MAX]