Crate bye_pcd_rs

Source
Expand description

Read and write PCD file format.

This crate provides data serializer and deserializer for PCD (Point Cloud Data) file format. The DynReader and DynWriter can read and write PCD files with any valid schemas. It also supports deserializing to static types if the derive feature is enabled.

§Supported Format Versions

  • 0.7
  • Older versions are not supported yet.

Re-exports§

pub use error::Error;
pub use error::Result;
pub use metas::DataKind;
pub use metas::FieldDef;
pub use metas::PcdMeta;
pub use metas::Schema;
pub use metas::TypeKind;
pub use metas::ValueKind;
pub use metas::ViewPoint;
pub use reader::DynReader;
pub use reader::Reader;
pub use record::DynRecord;
pub use record::Field;
pub use record::PcdDeserialize;
pub use record::PcdSerialize;
pub use traits::Value;
pub use writer::DynWriter;
pub use writer::Writer;
pub use writer::WriterInit;
pub use byteorder;

Modules§

error
The module defines most error type used by this crate.
metas
Types for PCD metadata.
prelude
The Prelude for pcd-rs, including commonly used traits.
reader
Types for reading PCD data.
record
Defines serializing and deserializing traits and common record types.
traits
Traits definitions.
writer
Types for writing PCD data.

Derive Macros§

PcdDeserialize
Derives PcdDeserialize trait on normal struct or tuple struct.
PcdSerialize
Derives PcdSerialize trait on normal struct or tuple struct.