Class nebula::drivers::io::PcdReader
ClassList > nebula > drivers > io > PcdReader
PCD file reader supporting ASCII and binary formats.
#include <pcd.hpp>
Public Static Functions
| Type | Name |
|---|---|
| PointCloud< PointT > | read (const std::string & filename) Read a PCD file into a PointCloud . |
Public Static Functions Documentation
function read
Read a PCD file into a PointCloud .
template<typename PointT>
static inline PointCloud < PointT > nebula::drivers::io::PcdReader::read (
const std::string & filename
)
Template parameters:
PointTThe target point type (must have a static fields() method)
Parameters:
filenamePath to the PCD file
Returns:
The loaded point cloud
Exception:
std::runtime_errorif the file cannot be opened, the header/data are malformed, the data is truncated, or the PCD DATA format is unsupported.std::invalid_argumentif numeric tokens in header/data cannot be parsed.std::out_of_rangeif numeric tokens in header/data exceed target numeric range.
The documentation for this class was generated from the following file src/nebula_core/nebula_core_common/include/nebula_core_common/io/pcd.hpp