Blender
V5.3
source
blender
io
stl
importer
stl_import.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
8
9
#pragma once
10
11
#include <cstdio>
12
13
#include "
IO_stl.hh
"
14
15
namespace
blender
{
16
17
struct
bContext
;
18
struct
Main
;
19
struct
Mesh
;
20
struct
Scene
;
21
struct
ViewLayer
;
22
23
namespace
io::stl
{
24
25
void
stl_import_report_error
(FILE *file);
26
27
/* Used from Geo nodes import for Mesh* access */
28
Mesh
*
read_stl_file
(
const
STLImportParams &import_params);
29
30
/* Main import function used from within Blender. */
31
void
importer_main
(
const
bContext *
C
,
const
STLImportParams &import_params);
32
33
/* Used from tests, where full bContext does not exist. */
34
void
importer_main
(Main *bmain,
35
Scene *scene,
36
ViewLayer *view_layer,
37
const
STLImportParams &import_params);
38
}
// namespace io::stl
39
}
// namespace blender
IO_stl.hh
C
#define C
Definition
RandGen.cpp:29
blender::io::stl
Definition
stl_export.cc:47
blender::io::stl::importer_main
void importer_main(const bContext *C, const STLImportParams &import_params)
Definition
stl_import.cc:111
blender::io::stl::stl_import_report_error
void stl_import_report_error(FILE *file)
Definition
stl_import.cc:46
blender::io::stl::read_stl_file
Mesh * read_stl_file(const STLImportParams &import_params)
Definition
stl_import.cc:57
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::AttributeOwnerType::Mesh
@ Mesh
Definition
BKE_attribute.h:52
blender::Main
Definition
BKE_main.hh:243
blender::Mesh
Definition
DNA_mesh_types.h:148
blender::Scene
Definition
DNA_scene_types.h:2876
blender::ViewLayer
Definition
DNA_layer_types.h:262
blender::bContext
Definition
blenkernel/intern/context.cc:65
Generated on
for Blender by
doxygen
1.18.0