Components
rerun.components
class AnnotationContext
Bases: AnnotationContextExt
Component: The AnnotationContext
provides additional information on how to display entities.
Entities can use ClassId
s and KeypointId
s to provide annotations, and
the labels and colors will be looked up in the appropriate
AnnotationContext
. We use the first annotation context we find in the
path-hierarchy when searching up through the ancestors of a given entity
path.
def __init__ (class_map)
Create a new instance of the AnnotationContext component.
PARAMETER | DESCRIPTION |
---|---|
class_map |
List of class descriptions, mapping class indices to class names, colors etc.
TYPE:
|
class Blob
Bases: BlobExt
Component: A binary blob of data.
def __init__ (data)
Create a new instance of the Blob component.