Crate rerun::external::re_viewer_context
source · Expand description
Rerun Viewer context
This crate contains data structures that are shared with most modules of the viewer.
Modules§
- Bridge to
re_renderer
Macros§
- Implements the
ComponentFallbackProvider
trait for a given type, using a number ofTypedComponentFallbackProvider
.
Structs§
- Global options for the viewer.
- List of entities that are applicable to a given visualizer.
- Selection and hover state.
- A unique id for a type of Blueprint contents.
- Does memoization of different objects for the immediate mode UI.
- Handles interfacing with the OS clipboard.
- A collapsed identifier.
- Colormap together with the range of image values that is mapped to the colormap’s range.
- Receiver for the
CommandSender
- Sender that queues up the execution of commands.
- How to display components in a Ui.
- Specifies which UI callbacks are available for a component.
- The result of executing a single data query
- This is the primary mechanism through which data is passed to a
SpaceView
. - Identifier for a
DataResultNode
- A single node in the
DataResultTree
- A hierarchical tree of
DataResult
s - Caches the results of decoding
re_types::archetypes::EncodedImage
. - Represents the contents of an
Image
,SegmentationImage
orDepthImage
. - Stats about an image.
- List of entities that match the indicator components of a visualizer.
- Combination of selection & hover highlight which can occur independently.
- An ordered collection of
Item
and optional associated space context objects. - Path to a specific entity in a specific store used for overrides.
- Context for a latest-at query in a specific view.
- Properties of a space view that as recommended to be spawned by default via space view spawn heuristics.
- UI config for the current recording (found in
EntityDb
). - A stack of
Selection
s, used to implement “undo/redo”-like semantics for selections. - Registry of all known space view types.
- Highlights of a specific entity path in a specific space view.
- Highlights in a specific space view.
- Heuristics for spawning space views of a given class.
- Utility for registering space view systems, passed on to
crate::SpaceViewClass::on_register
. - The current Blueprint and Recording being displayed by the viewer
- Interface for accessing all blueprints and recordings
- Output of space view system execution.
- Stats about a tensor or image.
- Caches tensor stats using a
RowId
, i.e. a specific instance of aTensorData
component - Controls the global view and progress of the time.
- Drag value widget for editing time values for both sequence and temporal timelines.
- The time range we are currently zoomed in on.
- Caches meshes based on media type & row id.
- The context associated with a view.
- State for the
SpaceView
s that persists across frames but otherwise is not saved. - Unique name for a system within a given
crate::SpaceViewClass
. - Common things needed by many parts of the viewer.
- List of entities that can be visualized at some point in time on any timeline by a concrete visualizer in the context of a specific instantiated space view.
Enums§
- The various kinds of items that may be represented and for which we want to track the collapsed state.
- The various scopes for which we want to track collapsed state.
- Error type for a fallback request.
- Result for a fallback request to a provider.
- The name of a
Contents
. - Hover highlight, sorted from weakest to strongest.
- One “thing” in the UI.
- Context information that a space view might attach to an item from
ItemCollection
and useful for how a selection might be displayed and interacted with. - A reference to a value that is maybe mutable.
- Range & type of chunk store query.
- Many
ResolvedAnnotationInfo
, with optimization for a common case where they are all the same. - Selection highlight, sorted from weakest to strongest.
- Commands used by internal system components
- Specifies the context in which the UI is used and the constraints it should follow.
Traits§
- A cache for memoizing things in order to speed up immediate mode UI & other immediate mode style things.
- Provides fallback values for components, implemented typically by
crate::SpaceViewClass
andcrate::VisualizerSystem
. - Trait for naming/identifying
crate::VisualizerSystem
s &crate::ViewContextSystem
s. - Defines a class of space view without any concrete types making it suitable for storage and interfacing.
- Unserialized frame to frame state of a space view.
- Interface for sending
SystemCommand
messages. - Provides a fallback value for a given component with known type.
- View context that can be used by view parts and ui methods to retrieve information about the scene as a whole.
- Context object returned by
crate::SpaceViewClass::visualizable_filter_context
. - Additional filter for applicability on top of the default check for required components.
- Element of a scene derived from a single archetype query.
Functions§
- The timepoint to use when writing an update to the blueprint.
- Creates a new command channel.
- The style to use for displaying this space view name in the UI.
- Determines the icon to use for a given container kind.