Crate re_components
source ·Expand description
User-facing data types, component types, and archetypes.
The SDK is responsible for submitting component columns that conforms to these schemas. The schemas are additionally documented in doctests.
Feature flags
-
arrow_datagen
— Enables thedatagen
module, which exposes a number of tools for generating random data for tests and benchmarks. -
ecolor
— Enable conversions -
glam
— Add support for some math operations usingglam
. -
image
— Integration with theimage
crate, plus JPEG support.. -
serde
— Enable (de)serialization using serde.
Re-exports
pub use self::context::AnnotationContext;
pub use self::context::AnnotationInfo;
pub use self::context::ClassDescription;
pub use self::coordinates::ViewCoordinates;
Modules
- Generate random data for tests and benchmarks.
Structs
- A 3D Arrow
- A 3D bounding box represented by it’s half-lengths
- A 16-bit ID representing a type of semantic class.
- An RGBA color tuple with unmultiplied/separate alpha, in sRGB gamma space with linear alpha.
- A thin wrapper around a
Tensor
that is guaranteed to not be compressed (never a jpeg). - Specifies that the entity path at which this is logged is disconnected from its parent.
- Draw order used for the display order of 2D elements.
- Compressed/encoded mesh format
arrow2_convert
helper for fields of type[T; SIZE]
- A unique numeric identifier for each individual instance within a batch.
- A 16-bit ID representing a type of semantic keypoint within a class.
- A String label component
- A Line Strip of 2D points
- A Line Strip of 3D points
- A 3x3 column-major Matrix made up of 3 Vecs
- A unique id per
Mesh3D
. - Camera perspective projection (a.k.a. intrinsics).
- A point in 2D space.
- A point in 3D space.
- A Quaternion represented by 4 real numbers.
- A Radius component
- A raw “triangle soup” mesh.
- 3D rotation represented by a rotation around a given axis.
- A double-precision scalar.
- Additional properties of a scalar when rendered as a plot.
- A Multi-dimensional Tensor.
- Flattened
Tensor
data payload - A unique id per
Tensor
. - A text element intended to be displayed in a text-box
- A text entry component, comprised of a text body and its log level.
- An affine transform between two 3D spaces, represented in a given direction.
- Representation of a affine transform via a 3x3 affine matrix paired with a translation.
- Representation of an affine transform via separate translation, rotation & scale.
- A vector in 2D space.
- A vector in 3D space.
- A vector in 4D space.
Enums
- Angle in either radians or degrees.
- Errors from
data_cell_from_file_path
anddata_cell_from_mesh_file_path
. - A Generic 3D Mesh.
- The format of a binary mesh file, e.g. GLTF, GLB, OBJ
- A rectangle in 2D space.
- A 3D rotation.
- 3D scaling factor, part of a transform representation.
- Flattened
Tensor
data payload - How to interpret the contents of a tensor.
- The data types supported by a
crate::Tensor
. - The data that can be stored in a
crate::Tensor
. - Representation of a 3D affine transform.
Traits
- A type that can used as a Component of an Entity.
Functions
- Read the file at the given path.
- Read the mesh file at the given path.
- Iterate over the registered field types