Rerun C++ SDK
Loading...
Searching...
No Matches
rerun::blueprint::archetypes::ScalarAxis Struct Reference

Archetype: Configuration for the scalar axis of a plot. More...

#include <rerun/blueprint/archetypes/scalar_axis.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

 ScalarAxis (ScalarAxis &&other)=default
 
ScalarAxis with_range (rerun::components::Range1D _range) &&
 The range of the axis.
 
ScalarAxis with_zoom_lock (rerun::blueprint::components::LockRangeDuringZoom _zoom_lock) &&
 If enabled, the Y axis range will remain locked to the specified range when zooming.
 

Public Attributes

std::optional< rerun::components::Range1Drange
 The range of the axis.
 
std::optional< rerun::blueprint::components::LockRangeDuringZoomzoom_lock
 If enabled, the Y axis range will remain locked to the specified range when zooming.
 

Static Public Attributes

static constexpr const char IndicatorComponentName []
 

Detailed Description

Archetype: Configuration for the scalar axis of a plot.

Member Function Documentation

◆ with_range()

ScalarAxis rerun::blueprint::archetypes::ScalarAxis::with_range ( rerun::components::Range1D  _range) &&
inline

The range of the axis.

If unset, the range well be automatically determined based on the queried data.

Member Data Documentation

◆ range

std::optional<rerun::components::Range1D> rerun::blueprint::archetypes::ScalarAxis::range

The range of the axis.

If unset, the range well be automatically determined based on the queried data.

◆ IndicatorComponentName

constexpr const char rerun::blueprint::archetypes::ScalarAxis::IndicatorComponentName[]
staticconstexpr
Initial value:
=
"rerun.blueprint.components.ScalarAxisIndicator"

The documentation for this struct was generated from the following file: