re_viewer::external::re_view

Function suggest_view_for_each_entity

Source
pub fn suggest_view_for_each_entity<TVisualizer>(
    ctx: &ViewerContext<'_>,
    view: &dyn ViewClass,
    suggested_filter: &ResolvedEntityPathFilter,
) -> ViewSpawnHeuristics
Expand description

Spawns a view for each single entity which is visualizable & indicator-matching for a given visualizer.

This is used as utility by some view types that want to spawn a view for every single entity that is visualizable with a given visualizer.