Template Class ScanProjectIO

Class Documentation

template<typename BaseIO>
class ScanProjectIO

Hdf5IO Feature for handling ScanProject related IO.

This Feature of the Hdf5IO handles the IO of a ScanProject object.

Example:

MyHdf5IO io;
PointBufferPtr pointcloud, pointcloud_in;

// writing
io.open("test.h5");
io.save("apointcloud", pointcloud);

// reading
pointcloud_in = io.loadPointCloud("apointcloud");

Generates attributes at hdf5 group:

Dependencies:

This Feature of the Hdf5IO handles the IO of a ScanProject object.

Example:

MyHdf5IO io;
PointBufferPtr pointcloud, pointcloud_in;

// writing
io.open("test.h5");
io.save("apointcloud", pointcloud);

// reading
pointcloud_in = io.loadPointCloud("apointcloud");

Generates attributes at hdf5 group:

Dependencies:

Public Functions

void save(ScanProjectPtr scanProject) const
void saveScanProject(ScanProjectPtr scanProject) const
ScanProjectPtr load() const
ScanProjectPtr loadScanProject() const
ScanProjectPtr loadScanProject(ReductionAlgorithmPtr reduction) const
boost::optional<YAML::Node> loadMeta() const

Protected Attributes

BaseIO *m_baseIO = static_cast<BaseIO*>(this)
MetaIO<BaseIO> *m_metaIO = static_cast<MetaIO<BaseIO>*>(m_baseIO)
ScanPositionIO<BaseIO> *m_scanPositionIO = static_cast<ScanPositionIO<BaseIO>*>(m_baseIO)

Protected Static Attributes

static constexpr const char *ID = "ScanProjectIO"
static constexpr const char *OBJID = "ScanProject"