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
33namespace 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"
A DigitalSet that stores voxels as an octree, or a DAG.
Helper class to write an octree to a file using SVO file format.
Definition SVOWriter.h:45
static bool exportSVO(const std::string &filename, const DigitalSetByOctree< Space > &octree, const bool compressed=true)
Exports an octree to a file.
DGtal is the top-level namespace which contains all DGtal functions and types.