DGtal 2.1.0
Loading...
Searching...
No Matches
DGtal::SVOWriter< Space > Class Template Reference

Helper class to write an octree to a file using SVO file format. More...

#include <DGtal/io/writers/SVOWriter.h>

Static Public Member Functions

static bool exportSVO (const std::string &filename, const DigitalSetByOctree< Space > &octree, const bool compressed=true)
 Exports an octree to a file.

Detailed Description

template<class Space>
class DGtal::SVOWriter< Space >

Helper class to write an octree to a file using SVO file format.

Image and digital object import/export

Template Parameters
SpaceThe space on which the Octree is defined
See also
SVOReader

Definition at line 44 of file SVOWriter.h.

Member Function Documentation

◆ exportSVO()

template<class Space>
bool DGtal::SVOWriter< Space >::exportSVO ( const std::string & filename,
const DigitalSetByOctree< Space > & octree,
const bool compressed = true )
static

Exports an octree to a file.

Parameters
filenameName of the output file
octreeThe octree to export
compressedWhether the octree is compressed
Returns
Returns always true. Errors are handled by exception and written to trace.

Referenced by TEST_CASE_METHOD().


The documentation for this class was generated from the following file: