6#include "../../blueprint/components/enabled.hpp"
7#include "../../blueprint/components/force_strength.hpp"
8#include "../../collection.hpp"
9#include "../../compiler_utils.hpp"
10#include "../../component_batch.hpp"
11#include "../../indicator_component.hpp"
12#include "../../result.hpp"
19namespace rerun::blueprint::archetypes {
25 std::optional<rerun::blueprint::components::Enabled>
enabled;
28 std::optional<rerun::blueprint::components::ForceStrength>
strength;
31 static constexpr const char IndicatorComponentName[] =
32 "rerun.blueprint.components.ForceCenterIndicator";
47 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
54 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
67 struct AsComponents<blueprint::archetypes::ForceCenter> {
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: Tries to move the center of mass of the graph to the origin.
Definition force_center.hpp:21
ForceCenter with_strength(rerun::blueprint::components::ForceStrength _strength) &&
The strength of the force.
Definition force_center.hpp:51
std::optional< rerun::blueprint::components::ForceStrength > strength
The strength of the force.
Definition force_center.hpp:28
std::optional< rerun::blueprint::components::Enabled > enabled
Whether the center force is enabled.
Definition force_center.hpp:25
ForceCenter with_enabled(rerun::blueprint::components::Enabled _enabled) &&
Whether the center force is enabled.
Definition force_center.hpp:44
Component: Whether a procedure is enabled.
Definition enabled.hpp:15
Component: The strength of a given force.
Definition force_strength.hpp:17
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:32