6#include "../../blueprint/components/auto_layout.hpp"
7#include "../../blueprint/components/auto_space_views.hpp"
8#include "../../blueprint/components/root_container.hpp"
9#include "../../blueprint/components/space_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::SpaceViewMaximized>
maximized;
35 std::optional<rerun::blueprint::components::AutoLayout>
auto_layout;
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);)
102 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
113 _past_viewer_recommendations
117 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
125 template <
typename T>
130 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:22
Archetype: The top-level description of the viewport.
Definition viewport_blueprint.hpp:24
ViewportBlueprint with_past_viewer_recommendations(Collection< rerun::blueprint::components::ViewerRecommendationHash > _past_viewer_recommendations) &&
Hashes of all recommended space views the viewer has already added and that should not be added again...
Definition viewport_blueprint.hpp:111
std::optional< rerun::blueprint::components::RootContainer > root_container
The layout of the space-views.
Definition viewport_blueprint.hpp:26
std::optional< Collection< rerun::blueprint::components::ViewerRecommendationHash > > past_viewer_recommendations
Hashes of all recommended space views the viewer has already added and that should not be added again...
Definition viewport_blueprint.hpp:51
std::optional< rerun::blueprint::components::AutoLayout > auto_layout
Whether the viewport layout is determined automatically.
Definition viewport_blueprint.hpp:35
ViewportBlueprint with_auto_layout(rerun::blueprint::components::AutoLayout _auto_layout) &&
Whether the viewport layout is determined automatically.
Definition viewport_blueprint.hpp:85
ViewportBlueprint with_maximized(rerun::blueprint::components::SpaceViewMaximized _maximized) &&
Show one tab as maximized?
Definition viewport_blueprint.hpp:74
ViewportBlueprint with_auto_space_views(rerun::blueprint::components::AutoSpaceViews _auto_space_views) &&
Whether or not space views should be created automatically.
Definition viewport_blueprint.hpp:97
std::optional< rerun::blueprint::components::AutoSpaceViews > auto_space_views
Whether or not space views should be created automatically.
Definition viewport_blueprint.hpp:42
ViewportBlueprint with_root_container(rerun::blueprint::components::RootContainer _root_container) &&
The layout of the space-views.
Definition viewport_blueprint.hpp:65
std::optional< rerun::blueprint::components::SpaceViewMaximized > maximized
Show one tab as maximized?
Definition viewport_blueprint.hpp:29
Component: Whether the viewport layout is determined automatically.
Definition auto_layout.hpp:14
Component: Whether or not space views should be created automatically.
Definition auto_space_views.hpp:14
Component: The container that sits at the root of a viewport.
Definition root_container.hpp:15
Component: Whether a space view is maximized.
Definition space_view_maximized.hpp:15
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:30