Blender V4.3
IO_ply.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 "DNA_ID.h"
14
15#include "IO_orientation.hh"
16
17struct Mesh;
18struct bContext;
19struct ReportList;
20
26
32
34 const char *blen_filepath;
35
38
39 /* Geometry Transform options. */
43
44 /* File Write Options. */
52 char collection[MAX_IDPROP_NAME] = "";
53
54 ReportList *reports = nullptr;
55};
56
70
74void PLY_export(bContext *C, const PLYExportParams *export_params);
75
76void PLY_import(bContext *C, const PLYImportParams *import_params);
77
78Mesh *PLY_import_mesh(const PLYImportParams *import_params);
#define FILE_MAX
ID and Library types, which are fundamental for SDNA.
#define MAX_IDPROP_NAME
Definition DNA_ID.h:185
eIOAxis
ePLYVertexColorMode
Definition IO_ply.hh:21
@ PLY_VERTEX_COLOR_LINEAR
Definition IO_ply.hh:24
@ PLY_VERTEX_COLOR_NONE
Definition IO_ply.hh:22
@ PLY_VERTEX_COLOR_SRGB
Definition IO_ply.hh:23
void PLY_import(bContext *C, const PLYImportParams *import_params)
Definition IO_ply.cc:35
Mesh * PLY_import_mesh(const PLYImportParams *import_params)
Definition IO_ply.cc:42
void PLY_export(bContext *C, const PLYExportParams *export_params)
Definition IO_ply.cc:28
eIOAxis forward_axis
Definition IO_ply.hh:40
const char * blen_filepath
Definition IO_ply.hh:34
bool ascii_format
Definition IO_ply.hh:37
bool apply_modifiers
Definition IO_ply.hh:46
bool export_attributes
Definition IO_ply.hh:50
eIOAxis up_axis
Definition IO_ply.hh:41
ReportList * reports
Definition IO_ply.hh:54
ePLYVertexColorMode vertex_colors
Definition IO_ply.hh:49
char file_base_for_tests[FILE_MAX]
Definition IO_ply.hh:31
char filepath[FILE_MAX]
Definition IO_ply.hh:29
float global_scale
Definition IO_ply.hh:42
bool export_triangulated_mesh
Definition IO_ply.hh:51
bool export_selected_objects
Definition IO_ply.hh:45
bool export_normals
Definition IO_ply.hh:48
eIOAxis up_axis
Definition IO_ply.hh:61
bool use_scene_unit
Definition IO_ply.hh:62
ePLYVertexColorMode vertex_colors
Definition IO_ply.hh:64
ReportList * reports
Definition IO_ply.hh:68
char filepath[FILE_MAX]
Definition IO_ply.hh:59
bool import_attributes
Definition IO_ply.hh:65
float global_scale
Definition IO_ply.hh:63
eIOAxis forward_axis
Definition IO_ply.hh:60
bool merge_verts
Definition IO_ply.hh:66