supereight
Loading...
Searching...
No Matches
include
se
map
io
octree_io.hpp
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2016-2019 Emanuele Vespa
3
* SPDX-FileCopyrightText: 2018-2021 Smart Robotics Lab, Imperial College London, Technical University of Munich
4
* SPDX-FileCopyrightText: 2019-2021 Nils Funk
5
* SPDX-FileCopyrightText: 2020-2021 Sotiris Papatheodorou
6
* SPDX-License-Identifier: BSD-3-Clause
7
*/
8
9
#ifndef SE_OCTREE_IO_HPP
10
#define SE_OCTREE_IO_HPP
11
12
#include <fstream>
13
#include <iostream>
14
#include <sstream>
15
16
namespace
se
{
17
namespace
io {
18
31
template
<
typename
GetValueF>
32
bool
save_3d_slice_vtk
(
const
std::string&
filename
,
33
const
Eigen::Vector3i&
lower_coord
,
34
const
Eigen::Vector3i&
upper_coord
,
35
GetValueF
&
get_value
);
36
37
}
// namespace io
38
}
// namespace se
39
40
41
42
#include "impl/octree_io_impl.hpp"
43
44
45
46
#endif
// SE_OCTREE_IO_HPP
se::Image
Definition
image.hpp:19
se::io::save_3d_slice_vtk
bool save_3d_slice_vtk(const std::string &filename, const Eigen::Vector3i &lower_coord, const Eigen::Vector3i &upper_coord, GetValueF &get_value)
Generate a 3D slice of the octree.
se
Helper wrapper to allocate and de-allocate octants in the octree.
Definition
bounded_vector.hpp:14
Generated by
1.9.8