6#include "../../blueprint/components/auto_layout.hpp"
7#include "../../blueprint/components/auto_views.hpp"
8#include "../../blueprint/components/root_container.hpp"
9#include "../../blueprint/components/view_maximized.hpp"
10#include "../../blueprint/components/viewer_recommendation_hash.hpp"
11#include "../../collection.hpp"
12#include "../../compiler_utils.hpp"
13#include "../../component_batch.hpp"
14#include "../../indicator_component.hpp"
15#include "../../result.hpp"
22namespace rerun::blueprint::archetypes {
29 std::optional<rerun::blueprint::components::ViewMaximized>
maximized;
35 std::optional<rerun::blueprint::components::AutoLayout>
auto_layout;
42 std::optional<rerun::blueprint::components::AutoViews>
auto_views;
50 std::optional<Collection<rerun::blueprint::components::ViewerRecommendationHash>>
54 static constexpr const char IndicatorComponentName[] =
55 "rerun.blueprint.components.ViewportBlueprintIndicator";
70 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
78 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
89 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
100 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
111 _past_viewer_recommendations
115 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
123 template <
typename T>
128 struct AsComponents<blueprint::archetypes::ViewportBlueprint> {
Generic collection of elements that are roughly contiguous in memory.
Definition collection.hpp:49
A class for representing either a usable value, or an error.
Definition result.hpp:14
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:23
Archetype: The top-level description of the viewport.
Definition viewport_blueprint.hpp:24
std::optional< rerun::blueprint::components::ViewMaximized > maximized
Show one tab as maximized?
Definition viewport_blueprint.hpp:29
ViewportBlueprint with_past_viewer_recommendations(Collection< rerun::blueprint::components::ViewerRecommendationHash > _past_viewer_recommendations) &&
Hashes of all recommended views the viewer has already added and that should not be added again.
Definition viewport_blueprint.hpp:109
std::optional< rerun::blueprint::components::RootContainer > root_container
The layout of the views.
Definition viewport_blueprint.hpp:26
std::optional< Collection< rerun::blueprint::components::ViewerRecommendationHash > > past_viewer_recommendations
Hashes of all recommended views the viewer has already added and that should not be added again.
Definition viewport_blueprint.hpp:51
ViewportBlueprint with_auto_views(rerun::blueprint::components::AutoViews _auto_views) &&
Whether or not views should be created automatically.
Definition viewport_blueprint.hpp:97
std::optional< rerun::blueprint::components::AutoViews > auto_views
Whether or not views should be created automatically.
Definition viewport_blueprint.hpp:42
std::optional< rerun::blueprint::components::AutoLayout > auto_layout
Whether the viewport layout is determined automatically.
Definition viewport_blueprint.hpp:35
ViewportBlueprint with_maximized(rerun::blueprint::components::ViewMaximized _maximized) &&
Show one tab as maximized?
Definition viewport_blueprint.hpp:74
ViewportBlueprint with_auto_layout(rerun::blueprint::components::AutoLayout _auto_layout) &&
Whether the viewport layout is determined automatically.
Definition viewport_blueprint.hpp:85
ViewportBlueprint with_root_container(rerun::blueprint::components::RootContainer _root_container) &&
The layout of the views.
Definition viewport_blueprint.hpp:65
Component: Whether the viewport layout is determined automatically.
Definition auto_layout.hpp:15
Component: Whether or not views should be created automatically.
Definition auto_views.hpp:15
Component: The container that sits at the root of a viewport.
Definition root_container.hpp:16
Component: Whether a view is maximized.
Definition view_maximized.hpp:16
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:32