[go: up one dir, main page]

Module re_types::archetypes

source ·
Expand description

Acrchetype are the high-level things you can log, like Image, Points3D, etc.

All archetypes implement the Archetype trait.

Each archetype is a collection of homogeneous ComponentBatches. For instance, the Points3D archetype contains a batch of positions, a batch of colors, etc.

These component batches are must all have the same length, or one of the special lengths:

  • 0 - an empty batch
  • 1 - a “splat” batch, e.g. using the same color for all positions.

Each entity can consist of many archetypes, but usually each entity will only have one archetype.

A special archetype is Clear which resets all the components of an already logged entity.

Structs

  • Archetype: The AnnotationContext provides additional information on how to display entities.
  • Archetype: 3D arrows with optional colors, radii, labels, etc.
  • Archetype: A prepacked 3D asset (.gltf, .glb, .obj, etc.).
  • Archetype: A bar chart.
  • Archetype: 2D boxes with half-extents and optional center, rotations, rotations, colors etc.
  • Archetype: 3D boxes with half-extents and optional center, rotations, rotations, colors etc.
  • Archetype: Empties all the components of an entity.
  • Archetype: A depth image.
  • Archetype: Specifies that the entity path at which this is logged is disconnected from its parent.
  • Archetype: A monochrome or color image.
  • Archetype: 2D line strips with positions and optional colors, radii, labels, etc.
  • Archetype: 3D line strips with positions and optional colors, radii, labels, etc.
  • Archetype: A 3D triangle mesh as specified by its per-mesh and per-vertex properties.
  • Archetype: Camera perspective projection (a.k.a. intrinsics).
  • Archetype: A 2D point cloud with positions and optional colors, radii, labels, etc.
  • Archetype: A 3D point cloud with positions and optional colors, radii, labels, etc.
  • Archetype: An image made up of integer class-ids
  • Archetype: A generic n-dimensional Tensor.
  • Archetype: A text element intended to be displayed in its own text-box.
  • Archetype: A log entry in a text log, comprised of a text body and its log level.
  • Archetype: Log a double-precision scalar that will be visualized as a time-series plot.
  • Archetype: A 3D transform.
  • Archetype: How we interpret the coordinate system of an entity/space.