Class nebula::drivers::io::PcdWriter
ClassList > nebula > drivers > io > PcdWriter
PCD file writer supporting binary format only.
#include <pcd.hpp>
Public Static Functions
| Type | Name |
|---|---|
| void | write_binary (const std::string & filename, const PointCloud< PointT > & cloud) Write a PointCloud to a binary PCD file. |
Public Static Functions Documentation
function write_binary
Write a PointCloud to a binary PCD file.
template<typename PointT>
static inline void nebula::drivers::io::PcdWriter::write_binary (
const std::string & filename,
const PointCloud < PointT > & cloud
)
Template parameters:
PointTThe point type (must have a static fields() method)
Parameters:
filenamePath to the output PCD filecloudThe point cloud to write
Exception:
std::runtime_errorif the output file cannot be opened or written.
The documentation for this class was generated from the following file src/nebula_core/nebula_core_common/include/nebula_core_common/io/pcd.hpp