Expand description
Core data model, metadata, and algorithm traits for SpatialRust.
This crate intentionally stays lightweight: no IO, GPU, ROS2, or AI runtimes.
Structs§
- AoSoA
Attribute Chunk - Owned interleaved positions and optional capability attributes for one chunk.
- AoSoA
Attribute Layout - Explicit interleaved field layout for an
AoSoAAttributeChunk. - AoSoA
XyzChunk - Interleaved XYZ layout for one
SpatialTensorChunk(3 * point_countfloats). - CpuDevice
- Default CPU device.
- CpuRuntime
- Host runtime for single-threaded and parallel CPU algorithms.
- Execution
Output - Output value paired with the receipt for its execution.
- Execution
Receipt - Account of one algorithm execution.
- FrameId
- Coordinate frame identifier.
- Point
Buffer Set - Collection of column buffers keyed by field name.
- Point
Cloud - Schema-aware columnar point cloud stored on a device.
- Point
Cloud Builder - Builds point clouds field-by-field.
- Point
Field - One column in a point cloud schema.
- Point
Schema - Schema describing the columns of a point cloud.
- Spatial
Metadata - Spatial metadata attached to point clouds and maps.
- Spatial
Tensor - Borrowed chunked view over a
PointCloud. - Spatial
Tensor Chunk - One contiguous index range within a
SpatialTensorchunk iteration. - Spatial
Tensor Field Chunk - Borrowed slice of one column buffer within a chunk range.
- Standard
Schemas - Standard schemas used by typed views and IO adapters.
- Timestamp
- Timestamp in nanoseconds since an arbitrary epoch.
- Transfer
Stats - Byte accounting for explicit execution transfers.
Enums§
- DType
- Supported scalar dtypes for point fields.
- Device
Kind - Device kind supported by SpatialRust execution.
- Execution
Policy - Execution policy for spatial algorithms.
- Field
Semantic - Semantic meaning of a point field.
- Point
Buffer - Typed column buffer for one point field.
- Spatial
Error - Core error type for SpatialRust.
- Transfer
Direction - Direction of an explicit data transfer between host and device memory.
Constants§
- DEFAULT_
SPATIAL_ TENSOR_ CHUNK_ SIZE - Default chunk size for
PointCloud::spatial_tensor_chunks.
Traits§
- Device
- Minimal device abstraction defined in core and extended by
spatialrust-gpu. - HasIntensity
- Capability trait for point clouds with intensity values.
- HasNormals3
- Capability trait for point clouds with surface normals.
- HasPositions3
- Capability trait for point clouds with 3D positions.
- Spatial
Algorithm - Common trait implemented by spatial algorithms.
- Spatial
Runtime - Runtime boundary for executing spatial algorithms on one backend.
Type Aliases§
- Spatial
Result - Result type used across SpatialRust crates.