Skip to content

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:

  • PointT The point type (must have a static fields() method)

Parameters:

  • filename Path to the output PCD file
  • cloud The point cloud to write

Exception:

  • std::runtime_error if 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