Types

Rerun comes with built-in support for a number of different types that can be logged via the Python and Rust Logging APIs and then visualized in the Viewer.

The top-level types are called archetypes to differentiate them from the lower-level data types that make up the individual components. For more information on the relationship between archetypes and components, check out the concept page on Entities and Components.

Spatial Archetypes

The spatial archetypes represent 2d and 3d spatial data. These types have some notion of a coordinate system and generally support spatial transformations. All of these types can be visualized by the Spatial space view.

Image & Tensor Archetypes

Image and tensor archetypes all build on top of a common tensor component. The tensor component is a multi-dimensional generic container for arrays of data. Images are restricted to tensors of rank 2 or rank 3; these can be viewed in the Spatial space view. Generic tensors of greater rank can only be viewed in the specialized Tensor space view.

Other Archetypes

  • AnnotationContext: not viewed directly, but provides classes, labels, and connectivity information for other entities.
  • BarChart: data displayed in a BarChart space view.
  • Clear: clear all components of an entity.
  • DisconnectedSpace: disconnect an entity path from its parent.
  • TextDocument: text displayed in a TextDocument space view.
  • TextLog: a log entry in a TextLog space view.
  • TimeSeriesScalar: a single scalar / metric value. Can be viewed in the TimeSeries space view.
  • ViewCoordinates: determines how we interpret the coordinate system of an entity/space.