Rerun C++ SDK
|
Archetype: Log a double-precision scalar. 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) | |
size_t | num_instances () const |
Returns the number of primary instances of this archetype. | |
Public Attributes | |
rerun::components::Scalar | scalar |
The scalar value to log. | |
Static Public Attributes | |
static constexpr const char | IndicatorComponentName [] = "rerun.components.ScalarIndicator" |
Archetype: Log a double-precision scalar.
The current timeline value will be used for the time/X-axis, hence scalars cannot be timeless.
When used to produce a plot, this archetype is used to provide the data that is referenced by the SeriesLine
or SeriesPoint
archetypes. You can do this by logging both archetypes to the same path, or alternatively configuring the plot-specific archetypes through the blueprint.
See also rerun::archetypes::SeriesPoint
, rerun::archetypes::SeriesLine
.