Blender
V4.5
source
blender
io
ply
importer
ply_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
9
#pragma once
10
11
#include "
IO_ply.hh
"
12
#include "
ply_data.hh
"
13
14
struct
bContext
;
15
struct
Mesh
;
16
struct
Main
;
17
struct
Scene
;
18
struct
ViewLayer
;
19
20
namespace
blender::io::ply
{
21
22
class
PlyReadBuffer;
23
24
Mesh
*
import_mesh
(
const
PLYImportParams
&import_params);
25
26
/* Main import function used from within Blender. */
27
void
importer_main
(
bContext
*C,
const
PLYImportParams
&import_params);
28
29
/* Used from tests, where full bContext does not exist. */
30
void
importer_main
(
Main
*bmain,
31
Scene
*
scene
,
32
ViewLayer
*view_layer,
33
const
PLYImportParams
&import_params);
34
35
const
char
*
read_header
(PlyReadBuffer &
file
, PlyHeader &r_header);
36
37
}
// namespace blender::io::ply
IO_ply.hh
file
FILE * file
Definition
deg_debug_stats_gnuplot.cc:30
scene
Scene scene
Definition
deg_eval_copy_on_write.cc:98
blender::io::ply
Definition
ply_export.cc:29
blender::io::ply::importer_main
void importer_main(bContext *C, const PLYImportParams &import_params)
Definition
ply_import.cc:211
blender::io::ply::read_header
const char * read_header(PlyReadBuffer &file, PlyHeader &r_header)
Definition
ply_import.cc:100
blender::io::ply::import_mesh
Mesh * import_mesh(const PLYImportParams &import_params)
Definition
ply_import.cc:200
ply_data.hh
Main
Definition
BKE_main.hh:141
Mesh
Definition
DNA_mesh_types.h:59
PLYImportParams
Definition
IO_ply.hh:57
Scene
Definition
DNA_scene_types.h:2106
ViewLayer
Definition
DNA_layer_types.h:149
bContext
Definition
blenkernel/intern/context.cc:58
Generated on Fri Apr 3 2026 06:33:18 for Blender by
doxygen
1.11.0