Crate re_viewer_context
source ·Expand description
Rerun Viewer context
This crate contains data structures that are shared with most modules of the viewer.
Re-exports
pub use annotations::MISSING_ANNOTATIONS;pub use annotations::MISSING_ANNOTATIONS;
Modules
- Bridge to
re_renderer
Structs
- Global options for the viewer.
- Does memoization of different objects for the immediate mode UI.
- Handles interfacing with the OS clipboard.
- Receiver for the
CommandSender - Sender that queues up the execution of commands.
- How to display components in a Ui.
- Identifier for a blueprint group.
- Combination of selection & hover highlight which can occur independently.
- An ordered collection of
Item. - UI config for the current recording (found in
StoreDb). - A stack of
Selections, used to implement “undo/redo”-like semantics for selections. - Selection and hover state
- The unique name of a space view type.
- Registry of all known space view types.
- Highlights of a specific entity path in a specific space view.
- Highlights in a specific space view.
- A unique id for each space view.
- System registry for a space view class.
- The current Blueprint and Recording being displayed by the viewer
- Caches decoded tensors using a
RowId, i.e. a specific instance of aTensorDatacomponent. - Caches tensor stats using a
RowId, i.e. a specific instance of aTensorDatacomponent - Controls the global view and progress of the time.
- The time range we are currently zoomed in on.
- Unique name for a system within a given
crate::SpaceViewClass. - Common things needed by many parts of the viewer.
Enums
- Heuristic result used to determine if a Space View with a given class should be automatically spawned.
- Hover highlight, sorted from weakest to strongest.
- One “thing” in the UI.
- 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
- Controls how mich space we use to show the data in a component ui.
Traits
- A cache for memoizing things in order to speed up immediate mode UI & other immediate mode style things.
- Defines a class of space view without any concrete types making it suitable for storage and interfacing.
- Trait for naming/identifying
crate::ViewPartSystems &crate::ViewContextSystems. - Defines a class of space view.
- Unserialized frame to frame state of a space view.
- Interface for sending
SystemCommandmessages. - View context that can be used by view parts and ui methods to retrieve information about the scene as a whole.
- Element of a scene derived from a single archetype query.
Functions
- Creates a new command channel.
- The default implementation for
ViewPartSystem::heuristic_filter. - If the given path refers to the first element of an instance with a single element, resolve to a splatted entity path.
- If the given item refers to the first element of an instance with a single element, resolve to a splatted entity path.