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 {
28 std::optional<rerun::blueprint::components::Enabled>
enabled;
33 std::optional<rerun::blueprint::components::ForceStrength>
strength;
36 static constexpr const char IndicatorComponentName[] =
37 "rerun.blueprint.components.ForceManyBodyIndicator";
53 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
62 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
75 struct AsComponents<blueprint::archetypes::ForceManyBody> {
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: A force between each pair of nodes that ressembles an electrical charge.
Definition force_many_body.hpp:23
ForceManyBody with_enabled(rerun::blueprint::components::Enabled _enabled) &&
Whether the many body force is enabled.
Definition force_many_body.hpp:50
std::optional< rerun::blueprint::components::ForceStrength > strength
The strength of the force.
Definition force_many_body.hpp:33
std::optional< rerun::blueprint::components::Enabled > enabled
Whether the many body force is enabled.
Definition force_many_body.hpp:28
ForceManyBody with_strength(rerun::blueprint::components::ForceStrength _strength) &&
The strength of the force.
Definition force_many_body.hpp:59
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