6#include "../../blueprint/components/view_class.hpp"
7#include "../../blueprint/components/view_origin.hpp"
8#include "../../blueprint/components/visible.hpp"
9#include "../../collection.hpp"
10#include "../../compiler_utils.hpp"
11#include "../../component_batch.hpp"
12#include "../../components/name.hpp"
13#include "../../indicator_component.hpp"
14#include "../../result.hpp"
21namespace rerun::blueprint::archetypes {
37 std::optional<rerun::blueprint::components::ViewOrigin>
space_origin;
42 std::optional<rerun::blueprint::components::Visible>
visible;
45 static constexpr const char IndicatorComponentName[] =
46 "rerun.blueprint.components.ViewBlueprintIndicator";
62 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
75 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
84 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
97 struct AsComponents<blueprint::archetypes::ViewBlueprint> {
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 description of a single view.
Definition view_blueprint.hpp:23
std::optional< rerun::blueprint::components::ViewOrigin > space_origin
The "anchor point" of this view.
Definition view_blueprint.hpp:37
ViewBlueprint with_space_origin(rerun::blueprint::components::ViewOrigin _space_origin) &&
The "anchor point" of this view.
Definition view_blueprint.hpp:72
std::optional< rerun::blueprint::components::Visible > visible
Whether this view is visible.
Definition view_blueprint.hpp:42
ViewBlueprint with_visible(rerun::blueprint::components::Visible _visible) &&
Whether this view is visible.
Definition view_blueprint.hpp:81
std::optional< rerun::components::Name > display_name
The name of the view.
Definition view_blueprint.hpp:28
ViewBlueprint with_display_name(rerun::components::Name _display_name) &&
The name of the view.
Definition view_blueprint.hpp:59
rerun::blueprint::components::ViewClass class_identifier
The class of the view.
Definition view_blueprint.hpp:25
Component: The class identifier of view, e.g. "2D", "TextLog", ….
Definition view_class.hpp:17
Component: The origin of a view.
Definition view_origin.hpp:17
Component: Whether the container, view, entity or instance is currently visible.
Definition visible.hpp:15
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:32
Component: A display name, typically for an entity or a item like a plot series.
Definition name.hpp:17