Module pasture_core::containers [−][src]
Provides the core data structures and traits for storing point cloud data in memory.
Pasture exposes a hierarchy of traits that define the capabilities of the in-memory buffers that the point data is stored in. The most basic trait is PointBuffer, which is implemented by every specific point cloud buffer in Pasture. It provides basic access to the point data without making any assumptions about the memory layout of the point data. More specific types include InterleavedPointBuffer and PerAttributePointBuffer, which store data in an Interleaved or PerAttribute memory layout. For an explanation of these memory layouts, see the PointLayout type.
On top of these traits, Pasture provides some specific implementations for storing contiguous point data in Interleaved or PerAttribute layouts, as well as non-owning and sliced versions of these buffers.
Lastly, this module exposes some helper functions for iterating over the point data inside any of these buffers.
Modules
attr1 | Contains iterators over a single point attribute |
attr2 | |
attr3 | |
attr4 | |
iterators | Contains |
Structs
InterleavedPointBufferSlice | Non-owning, read-only slice of the data of an |
InterleavedPointView | A non-owning view for a contiguous slice of interleaved point data. This is like |
InterleavedVecPointStorage |
|
PerAttributePointBufferSlice | Non-owning, read-only slice of the data of a |
PerAttributePointBufferSliceMut | Non-owning, mutable slice of the data of a |
PerAttributePointView | A non-owning view for per-attribute point data. This is like |
PerAttributeVecPointStorage |
|
PerAttributeVecPointStoragePusher | Helper structure for pushing separate attributes into a |
Traits
InterleavedPointBuffer | Trait for |
InterleavedPointBufferExt | Extension trait that provides generic methods for accessing point data in an |
InterleavedPointBufferMut | Trait for |
InterleavedPointBufferMutExt | Extension trait that provides generic methods for accessing point data in an |
PerAttributePointBuffer | Trait for |
PerAttributePointBufferExt | Extension trait that provides generic methods for accessing attribute data in an |
PerAttributePointBufferMut | Trait for |
PerAttributePointBufferMutExt | Extension trait that provides generic methods for accessing attribute data in an |
PointBuffer | Base trait for all containers that store point data. A PointBuffer stores any number of point entries with a layout defined by the PointBuffers associated PointLayout structure. |
PointBufferExt | Extension trait that provides generic methods for accessing point data in a |
PointBufferWriteable | Trait for all mutable |