6#include "../../blueprint/components/view_fit.hpp"
7#include "../../collection.hpp"
8#include "../../compiler_utils.hpp"
9#include "../../component_batch.hpp"
10#include "../../indicator_component.hpp"
11#include "../../result.hpp"
18namespace rerun::blueprint::archetypes {
22 std::optional<rerun::blueprint::components::ViewFit>
scaling;
25 static constexpr const char IndicatorComponentName[] =
26 "rerun.blueprint.components.TensorViewFitIndicator";
39 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
52 struct AsComponents<blueprint::archetypes::TensorViewFit> {
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: Configures how a selected tensor slice is shown on screen.
Definition tensor_view_fit.hpp:20
std::optional< rerun::blueprint::components::ViewFit > scaling
How the image is scaled to fit the view.
Definition tensor_view_fit.hpp:22
TensorViewFit with_scaling(rerun::blueprint::components::ViewFit _scaling) &&
How the image is scaled to fit the view.
Definition tensor_view_fit.hpp:36
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:30