Template Class PointCloudIO

Class Documentation

template<typename Derived>
class PointCloudIO

Hdf5IO Feature for handling PointBuffer related IO.

This Feature of the Hdf5IO handles the IO of a PointBuffer 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(std::string name, const PointBufferPtr &buffer)
void save(HighFive::Group &group, const PointBufferPtr &buffer)
PointBufferPtr load(std::string name)
PointBufferPtr load(HighFive::Group &group)
PointBufferPtr loadPointCloud(std::string name)

Protected Functions

bool isPointCloud(HighFive::Group &group)

Protected Attributes

Derived *m_file_access = static_cast<Derived*>(this)
VariantChannelIO<Derived> *m_vchannel_io = static_cast<VariantChannelIO<Derived>*>(m_file_access)

Protected Static Attributes

static constexpr const char *ID = "PointCloudIO"
static constexpr const char *OBJID = "PointBuffer"