Expand description
Defines attributes and data layout of point cloud data
Modules§
- attributes
- Module containing default attribute definitions
- conversion
Structs§
- Point
Attribute Definition - 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.
- Point
Attribute Member - A point attribute within a
PointType
structure. This is similar to aPointAttributeDefinition
, but includes the offset of the member within the structure - Point
Layout - Describes the data layout of a single point in a point cloud
Enums§
- Field
Alignment - How is a field within the associated in-memory type of a
PointLayout
aligned? - Point
Attribute Data Type - Possible data types for individual point attributes
Traits§
- Point
Type - 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 implementPointType
manually! Prefer to use the#[derive(PointType)]
procedural macro! - Primitive
Type - Marker trait for all types that can be used as primitive types within a
PointAttributeDefinition
. It provides a mapping between Rust types and thePointAttributeDataType
enum.
Functions§
- get_
point_ layout - Returns the corresponding PointLayout for the given PointType T