Module pasture_core::layout

source ·
Expand description

Defines attributes and data layout of point cloud data

Modules

Structs

  • A definition for a single point attribute of a point cloud. Point attributes are things like the position, GPS time, intensity etc. In Pasture, attributes are identified by a unique name together with the data type that a single record of the attribute is stored in. Attributes can be grouped into two categories: Built-in attributes (e.g. POSITION_3D, INTENSITY, GPS_TIME etc.) and custom attributes.
  • A point attribute within a PointType structure. This is similar to a PointAttributeDefinition, but includes the offset of the member within the structure
  • Describes the data layout of a single point in a point cloud

Enums

Traits

  • Trait that marks a Rust type for usage as a type in which point data can be stored. This trait allows the mapping between Rust types at compile time and the dynamic PointLayout type. You will almost never want to implement PointType manually! Prefer to use the #[derive(PointType)] procedural macro!
  • Marker trait for all types that can be used as primitive types within a PointAttributeDefinition. It provides a mapping between Rust types and the PointAttributeDataType enum.

Functions