Skip to main content

Crate re_view

Crate re_view 

Source
Expand description

Rerun View utilities

Types & utilities for defining View classes and communicating with the Viewport.

Modules§

controls
For zooming and panning we use the modifiers in the default egui::InputOptions.
external

Structs§

AnnotationMapCache
Caches annotation maps by query for one recording store and one frame.
BlueprintResolvedLatestAtResults
Wrapper that contains the results of a latest-at query with possible overrides.
BlueprintResolvedRangeResults
Wrapper that contains the results of a range query with possible overrides.
ChunkWithComponent
Like ChunksWithComponent but for a single chunk.
ChunksWithComponent
A helper struct that bundles a list of chunks with a component identifier.
HybridResultsChunkIter
The iterator type backing BlueprintResolvedResultsExt::iter_required and BlueprintResolvedResultsExt::iter_optional.
MaybeChunksWithComponent
Represents the result of trying to resolve a component to chunks while respecting blueprints.
SourceMappingContext
Context for rendering the source component mapping combo box items.
SourceSelectorContext
Helper struct to render component source selector UI from VisualizerSystem::selection_ui.
VisualizerInstructionQueryResults
Utility for processing queries while executing a visualizer instruction and reporting errors/warnings as they arise.

Enums§

BlueprintResolvedResults
An enum wrapping either latest-at or range blueprint resolved results.
ComponentDropResult
Outcome of dropping (or hovering) components onto a view.
ComponentMappingError
Error that can occur when mapping components.

Constants§

SIZE_BOOST_IN_POINTS_FOR_LINE_OUTLINES
Gap between lines and their outline.
SIZE_BOOST_IN_POINTS_FOR_POINT_OUTLINES
Gap between points and their outline.

Traits§

BlueprintResolvedResultsExt
Extension traits to abstract query result handling for all spatial views.
DataResultQuery

Functions§

clamped_or
Iterate over all the values in the slice, then repeat the last value forever.
clamped_or_else
Iterate over all the values in the slice, then repeat the last value forever.
clamped_or_nothing
Clamp the last value in values in order to reach a length of clamped_len.
clamped_vec_or
Clamp the last value in values in order to reach a length of clamped_len.
clamped_vec_or_else
Clamp the last value in values in order to reach a length of clamped_len.
clamped_vec_or_empty
Clamp the last value in values in order to reach a length of clamped_len.
collect_recursive_clears
Collect the (time, row_id) of every Clear archetype that applies to entity_path over query’s time range.
cursor_centered_default_range
The default pan/zoom window for data spanning data_span, for views that shouldn’t show all of it at once.
execute_systems_for_view
handle_component_drop
Drive ViewClass::handle_component_drop for a view that maps a dropped component onto a single visualizer slot: compute the drop outcome and, once released, perform the mutation.
highlights_for_view
Computes which things in a view should received highlighting.
instance_path_hash_from_picking_layer_id
latest_at_with_blueprint_resolved_data
Queries for the given components using latest-at semantics with blueprint support.
latest_at_with_blueprint_resolved_data_polymorphic
Like latest_at_with_blueprint_resolved_data but with per-target polymorphic cast rules.
new_view_query
Creates a new ViewQuery for the given view.
outline_config
Produce an re_renderer::OutlineConfig based on the egui::Style of the provided egui::Context.
paint_view_loading_indicator
Paint the standard loading indicator for views whose required data is still being fetched.
picking_layer_id_from_instance_path_hash
process_color_slice
Applies instance clamping and fallback semantics to queried Color components.
process_keypoint_slices
Collects keypoint positions for drawing connections.
range_with_blueprint_resolved_data
Queries for the given components using range semantics with blueprint support.
range_with_blueprint_resolved_data_polymorphic
Like range_with_blueprint_resolved_data but with per-target polymorphic cast rules.
raw_default_or_fallback
raw_default_without_fallback
raw_value_for_mapping
recover_relative_boundaries_after_zoom_or_pan
Preserve each cursor-relative boundary after zooming or panning.
resolve_time_axis_range
Resolve a TimeAxis:view_range into the absolute pan/zoom window it denotes.
resolve_visible_time_range
Resolve a visible time range — the range of a QueryRange::TimeRange — into absolute times.
save_component_mapping
set_time_cursor
Move the time cursor to time and pause, keeping a cursor-relative pan/zoom window in place.
source_selector_ui
time_axis_range_after_cursor_move
Adjust a TimeAxis:view_range so it keeps showing the same stretch of time when the time cursor moves from from to to.
time_axis_time_from_plot
Convert a pan/zoom boundary from plot space to an absolute timeline time.
view_property_component_ui
Draw view property ui for a single component of a view property archetype.
view_property_component_ui_custom
Draw view property ui for a single component of a view property archetype with custom ui for singleline & multiline.
view_property_ui
Display the UI for editing all components of a blueprint archetype.
view_property_ui_with_hidden_components
Display the UI for all components except those listed in hidden_components.
view_property_ui_with_redirect
See view_property_ui.
visualizers_for_entity
Extracts the list of visualizers (with their reasons) for a specific entity from the viewer context, without cloning.

Type Aliases§

ComponentCastRule
A rule that decides the cast destination for a polymorphic target slot based on the source’s element datatype.