[][src]Crate pcd_rs

Read and write PCD file format.

pcd-rs allows you to read or write PCD point cloud data from either a path or a binary buffer.

Re-exports

pub extern crate byteorder;
pub extern crate failure;

Modules

error

The module defines most error types used by this crate.

record

The module defines PCDRecordRead and PCDRecordWrite traits. Both are analogous to points in PCD data.

seq_reader

SeqReader lets you load points sequentially with Iterator interface. The points are stored in types implementing PCDRecordRead trait. See record moduel doc to implement your own point type.

seq_writer

SeqWriter lets you write points sequentially to PCD file or writer given by user. The written point type must implement PCDRecordWrite trait. See record moduel doc to implement your own point type.

Structs

FieldDef

Define the properties of a PCD field.

PCDMeta

The struct keep meta data of PCD file.

ViewPoint

Represents VIEWPOINT field in meta data.

Enums

DataKind

The enum indicates whether the point cloud data is encoded in ASCII or binary.

ValueKind

The enum specifies the exact type for each PCD field.

Derive Macros

PCDRecordRead

Derives PCDRecordRead trait on normal struct or tuple struct.

PCDRecordWrite

Derives PCDRecordWrite trait on normal struct or tuple struct.