Blender
V5.3
source
blender
io
spz
intern
spz_read.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2026 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9
#pragma once
10
11
#include <cstdio>
12
13
#include "
BLI_string_ref.hh
"
14
15
namespace
blender
{
16
17
struct
PointCloud
;
18
struct
ReportList
;
19
20
namespace
io::spz
{
21
22
/* Read the SPZ file pointed by the filepath.
23
* Supports multiple SPZ file formats. */
24
PointCloud
*
read_spz_file
(StringRefNull filepath, ReportList *reports);
25
26
/* Read SZP file that uses a single GZip stream to compress the whole file.
27
* This applies to SPZ format versions 2 and 3. */
28
PointCloud
*
read_spz_gzip_compressed_file
(FILE *file, ReportList *reports);
29
30
/* Read SZP file that uses NGSP format (introduced in version 4, uncompressed header, multiple
31
* zstd compressed streams). */
32
PointCloud
*
read_spz_ngsp_file
(FILE *file, ReportList *reports);
33
34
}
// namespace io::spz
35
}
// namespace blender
BLI_string_ref.hh
blender::io::spz
Definition
spz_import.cc:33
blender::io::spz::read_spz_file
PointCloud * read_spz_file(const StringRefNull filepath, ReportList *reports)
Definition
spz_read.cc:33
blender::io::spz::read_spz_gzip_compressed_file
PointCloud * read_spz_gzip_compressed_file(FILE *file, ReportList *reports)
Definition
spz_read_gzip.cc:126
blender::io::spz::read_spz_ngsp_file
PointCloud * read_spz_ngsp_file(FILE *file, ReportList *reports)
Definition
spz_read_ngsp.cc:294
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::AttributeOwnerType::PointCloud
@ PointCloud
Definition
BKE_attribute.h:53
blender::PointCloud
Definition
DNA_pointcloud_types.h:53
blender::ReportList
Definition
BKE_report.hh:78
Generated on
for Blender by
doxygen
1.18.0