#include <peak_icv/io/peak_icv_point_cloud_writer.hpp>
Public Member Functions | |
| template<typename PointCloud > | |
| void | Write (const std::string &filePath, const PointCloud &cloud) const |
| Saves the specified point cloud to a PLY file. | |
| template<typename PointCloudType > | |
| void | Write (const std::string &filePath, const PointCloudType &cloud) const |
Provides functionality to write point clouds to file.
| void Write | ( | const std::string & | filePath, |
| const PointCloud & | cloud ) const |
Saves the specified point cloud to a PLY file.
The file format is determined by the specified file extension of the file name. Only binary PLY (.ply) is supported.
If no extension is provided, .ply is appended automatically.
| [in] | filePath | The path of the file to write to, as a UTF-8 encoded string. |
| [in] | cloud | The point cloud to save. |
| NotSupportedException | The specified file extension or point type is not supported or the point cloud is empty. |
| IOException | The specified file path is invalid or lacks write permissions. |
| void Write | ( | const std::string & | filePath, |
| const PointCloudType & | cloud ) const |