![]() |
IDS peak ICV v1.0.0
|
#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 a point cloud to a file on the disk. | |
| template<typename PointCloudType > | |
| void | Write (const std::string &filePath, const PointCloudType &cloud) const |
Class for writing a point cloud to file, currently supporting only the ply format. If no file extension is provided, .ply is automatically added.
Definition at line 33 of file peak_icv_point_cloud_writer.hpp.
| void Write | ( | const std::string & | filePath, |
| const PointCloud & | cloud ) const |
Saves a point cloud to a file on the disk.
The chosen file type is determined by the given extension.
The following file formats are supported:
If no file extension is provided, .ply is automatically added.
| [in] | filePath | The non existing file is saved to the file_path, which should encompass both the directory path and the filename. |
| [in] | cloud | The point cloud to be saved. |
| NotSupportedException | The file ending or the point type is not supported to write to file. |
| IOException | If the specified file path is invalid or you lack the necessary permissions. |
| void Write | ( | const std::string & | filePath, |
| const PointCloudType & | cloud ) const |
Definition at line 60 of file peak_icv_point_cloud_writer.hpp.