Rerun C++ SDK
|
Archetype: A double-precision scalar, e.g. More...
#include <rerun/archetypes/scalar.hpp>
Public Types | |
using | IndicatorComponent = rerun::components::IndicatorComponent< IndicatorComponentName > |
Indicator component, used to identify the archetype when converting to a list of components. | |
Public Member Functions | |
Scalar (Scalar &&other)=default | |
Scalar (rerun::components::Scalar _scalar) | |
Public Attributes | |
rerun::components::Scalar | scalar |
The scalar value to log. | |
Static Public Attributes | |
static constexpr const char | IndicatorComponentName [] = "rerun.components.ScalarIndicator" |
Archetype: A double-precision scalar, e.g.
for use for time-series plots.
The current timeline value will be used for the time/X-axis, hence scalars cannot be static.
When used to produce a plot, this archetype is used to provide the data that is referenced by archetypes::SeriesLine
or archetypes::SeriesPoint
. You can do this by logging both archetypes to the same path, or alternatively configuring the plot-specific archetypes through the blueprint.