DGtal
2.1.0
Loading...
Searching...
No Matches
SVOWriter.h
1
16
17
#pragma once
18
28
29
#include <fstream>
30
#include <boost/endian/conversion.hpp>
31
#include "DGtal/kernel/sets/DigitalSetByOctree.h"
32
33
namespace
DGtal
34
{
43
template
<
class
Space>
// Left here for coherence with SVOReader which can not infere Space.
44
class
SVOWriter
45
{
46
public
:
57
static
bool
exportSVO
(
const
std::string& filename,
const
DigitalSetByOctree<Space>
& octree,
const
bool
compressed =
true
);
58
};
59
}
60
61
#include "SVOWriter.ih"
DGtal::DigitalSetByOctree
A DigitalSet that stores voxels as an octree, or a DAG.
Definition
DigitalSetByOctree.h:70
DGtal::SVOWriter
Helper class to write an octree to a file using SVO file format.
Definition
SVOWriter.h:45
DGtal::SVOWriter::exportSVO
static bool exportSVO(const std::string &filename, const DigitalSetByOctree< Space > &octree, const bool compressed=true)
Exports an octree to a file.
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition
ClosedIntegerHalfPlane.h:49
src
DGtal
io
writers
SVOWriter.h
Generated on
for DGtal by
1.15.0