module NMatrix::IO::PointCloud

Reader for Point Cloud Data (PCD) file format.

The documentation of this format can be found in:

pointclouds.org/documentation/tutorials/pcd_file_format.php

Note that this implementation does not take the width or height parameters into account.

Public Class Methods

load(filename) → NMatrix click to toggle source
  • Arguments :

    • filename -> String giving the name of the file to be loaded.

Load a Point Cloud Library PCD file as a matrix.

# File lib/nmatrix/io/point_cloud.rb, line 52
def load(filename)
  MetaReader.new(filename).matrix
end