Template Class PointCloudIO
Defined in File PointCloudIO.hpp
Class Documentation
-
template<typename BaseIO>
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:
IO: PointCloudIO
CLASS: PointBuffer
Dependencies:
VariantChannelIO
Public Functions
-
void save(const std::string &group, const std::string &name, PointBufferPtr pcl) const
-
void save(const std::string &groupandname, PointBufferPtr pcl) const
-
PointBufferPtr load(const std::string &group, const std::string &container) const
-
PointBufferPtr load(const std::string &group) const
-
PointBufferPtr load(const std::string &group, const std::string &container, ReductionAlgorithmPtr reduction) const
-
void savePointCloud(const std::string &group, const std::string &name, PointBufferPtr pcl) const
Save a point buffer at the position defined by group and container.
- Parameters:
group – Group with the point cloud data
container – Container of the point cloud data
buffer – Point cloud data
-
void savePointCloud(const std::string &groupandname, PointBufferPtr pcl) const
-
PointBufferPtr loadPointCloud(const std::string &group, const std::string &container) const
Loads a point cloud.
- Parameters:
group – Group with the point cloud data
container – Container of the point cloud data
- Returns:
PointBufferPtr A point buffer containing the point cloud data stored at the position defined by group and container
-
PointBufferPtr loadPointCloud(const std::string &group) const
-
PointBufferPtr loadPointCloud(const std::string &group, const std::string &container, ReductionAlgorithmPtr reduction) const
Loads a reduced version of a point cloud.
- Parameters:
group – Group with the point cloud data
container – Container of the point cloud data
reduction – A reduction object that is used to generate the reduced data
- Returns:
PointBufferPtr A point buffer containing a reduced version of the point cloud data stored at the position defined by group and container
Protected Attributes