6#include "../../blueprint/components/enabled.hpp"
7#include "../../blueprint/components/force_iterations.hpp"
8#include "../../blueprint/components/force_strength.hpp"
9#include "../../collection.hpp"
10#include "../../compiler_utils.hpp"
11#include "../../component_batch.hpp"
12#include "../../indicator_component.hpp"
13#include "../../result.hpp"
20namespace rerun::blueprint::archetypes {
26 std::optional<rerun::blueprint::components::Enabled>
enabled;
29 std::optional<rerun::blueprint::components::ForceStrength>
strength;
34 std::optional<rerun::blueprint::components::ForceIterations>
iterations;
37 static constexpr const char IndicatorComponentName[] =
38 "rerun.blueprint.components.ForceCollisionRadiusIndicator";
53 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
61 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
72 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
85 struct AsComponents<blueprint::archetypes::ForceCollisionRadius> {
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: Resolves collisions between the bounding circles, according to the radius of the nodes.
Definition force_collision_radius.hpp:22
ForceCollisionRadius with_strength(rerun::blueprint::components::ForceStrength _strength) &&
The strength of the force.
Definition force_collision_radius.hpp:57
std::optional< rerun::blueprint::components::Enabled > enabled
Whether the collision force is enabled.
Definition force_collision_radius.hpp:26
std::optional< rerun::blueprint::components::ForceStrength > strength
The strength of the force.
Definition force_collision_radius.hpp:29
ForceCollisionRadius with_enabled(rerun::blueprint::components::Enabled _enabled) &&
Whether the collision force is enabled.
Definition force_collision_radius.hpp:50
ForceCollisionRadius with_iterations(rerun::blueprint::components::ForceIterations _iterations) &&
Specifies how often this force should be applied per iteration.
Definition force_collision_radius.hpp:67
std::optional< rerun::blueprint::components::ForceIterations > iterations
Specifies how often this force should be applied per iteration.
Definition force_collision_radius.hpp:34
Component: Whether a procedure is enabled.
Definition enabled.hpp:15
Component: Specifies how often this force should be applied per iteration.
Definition force_iterations.hpp:17
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