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 self::store_hub::StoreHub;
Modules§
- annotations π
- app_options π
- blueprint_helpers π
- blueprint_id π
- cache πViewer caches
- clipboard π
- collapsed_id πHelper types for producing stable [
egui::Id
] for the purpose of handling collapsed state of various UI elements. - command_sender π
- component_fallbacks π
- contents π
- drag_and_drop πSupport for viewer-wide drag-and-drop of
crate::Item
s. - file_dialog π
- Bridge to
re_renderer
- image_info π
- item π
- maybe_mut_ref π
- query_context π
- query_range π
- selection_state π
- store_context π
- tensor π
- time_control π
- time_drag_value π
- Various strongly typed sets of entities to express intent and avoid mistakes.
- undo π
- utils π
- view πRerun View class definition
- viewer_context π
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.
- We store the entire edit history of a blueprint in its store.
- 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 for a specific view.
- This is the primary mechanism through which data is passed to a
View
. - Identifier for a
DataResultNode
- A single node in the
DataResultTree
- A hierarchical tree of
DataResult
s - Helper to handle drag-and-drop operations.
- 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.
- Information about a view that is published each frame by
ViewRectPublisher
. - Context for a latest-at query in a specific view.
- Properties of a view that as recommended to be spawned by default via view spawn heuristics.
- UI config for the current recording (found in
EntityDb
). - Info given to egui when taking a screenshot.
- The current Blueprint and Recording being displayed by the viewer
- Output of 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.
- Registry of all known view types.
- The context associated with a view.
- Highlights of a specific entity path in a specific view.
- Highlights in a specific view.
- Heuristics for spawning views of a given class.
- State for the
View
s that persists across frames but otherwise is not saved. - Unique name for a system within a given
crate::ViewClass
. - Utility for registering view systems, passed on to
crate::ViewClass::on_register
. - 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 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 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. - Where to put the screenshot.
- 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::ViewClass
andcrate::VisualizerSystem
. - Trait for naming/identifying
crate::VisualizerSystem
s &crate::ViewContextSystem
s. - Interface for sending
SystemCommand
messages. - Provides a fallback value for a given component with known type.
- Defines a class of view without any concrete types making it suitable for storage and interfacing.
- View context that can be used by view parts and ui methods to retrieve information about the scene as a whole.
- Unserialized frame to frame state of a view.
- Context object returned by
crate::ViewClass::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 view name in the UI.
- Determines the icon to use for a given container kind.
- Replace βdangerousβ characters by a safe one.
Type Aliases§
- Used to publish info aboutr each view.