Open3D (C++ API)
0.19.0
Toggle main menu visibility
Loading...
Searching...
No Matches
cpp
open3d
io
VoxelGridIO.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - Open3D: www.open3d.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2024 www.open3d.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
8
#pragma once
9
10
#include <string>
11
12
#include "
open3d/geometry/VoxelGrid.h
"
13
14
namespace
open3d
{
15
namespace
io
{
16
19
std::shared_ptr<geometry::VoxelGrid>
CreateVoxelGridFromFile
(
20
const
std::string &filename,
21
const
std::string &format =
"auto"
,
22
bool
print_progress =
false
);
23
27
bool
ReadVoxelGrid
(
const
std::string &filename,
28
geometry::VoxelGrid &voxelgrid,
29
const
std::string &format =
"auto"
,
30
bool
print_progress =
false
);
31
37
bool
WriteVoxelGrid
(
const
std::string &filename,
38
const
geometry::VoxelGrid &voxelgrid,
39
bool
write_ascii =
false
,
40
bool
compressed =
false
,
41
bool
print_progress =
false
);
42
43
bool
ReadVoxelGridFromPLY
(
const
std::string &filename,
44
geometry::VoxelGrid &voxelgrid,
45
bool
print_progress =
false
);
46
47
bool
WriteVoxelGridToPLY
(
const
std::string &filename,
48
const
geometry::VoxelGrid &voxelgrid,
49
bool
write_ascii =
false
,
50
bool
compressed =
false
,
51
bool
print_progress =
false
);
52
53
}
// namespace io
54
}
// namespace open3d
VoxelGrid.h
open3d::io
Definition
FeatureIO.cpp:14
open3d::io::ReadVoxelGridFromPLY
bool ReadVoxelGridFromPLY(const std::string &filename, geometry::VoxelGrid &voxelgrid, bool print_progress)
Definition
FilePLY.cpp:842
open3d::io::ReadVoxelGrid
bool ReadVoxelGrid(const std::string &filename, geometry::VoxelGrid &voxelgrid, const std::string &format, bool print_progress)
Definition
VoxelGridIO.cpp:49
open3d::io::CreateVoxelGridFromFile
std::shared_ptr< geometry::VoxelGrid > CreateVoxelGridFromFile(const std::string &filename, const std::string &format, bool print_progress)
Definition
VoxelGridIO.cpp:40
open3d::io::WriteVoxelGridToPLY
bool WriteVoxelGridToPLY(const std::string &filename, const geometry::VoxelGrid &voxelgrid, bool write_ascii, bool compressed, bool print_progress)
Definition
FilePLY.cpp:914
open3d::io::WriteVoxelGrid
bool WriteVoxelGrid(const std::string &filename, const geometry::VoxelGrid &voxelgrid, bool write_ascii, bool compressed, bool print_progress)
Definition
VoxelGridIO.cpp:77
open3d
Definition
PinholeCameraIntrinsic.cpp:16
Generated by
1.17.0