Rerun C++ SDK
|
Archetype: Configures how tensor scalars are mapped to color. More...
#include <rerun/blueprint/archetypes/tensor_scalar_mapping.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 | |
TensorScalarMapping (TensorScalarMapping &&other)=default | |
TensorScalarMapping | with_mag_filter (rerun::components::MagnificationFilter _mag_filter) && |
Filter used when zooming in on the tensor. | |
TensorScalarMapping | with_colormap (rerun::components::Colormap _colormap) && |
How scalar values map to colors. | |
TensorScalarMapping | with_gamma (rerun::components::GammaCorrection _gamma) && |
Gamma exponent applied to normalized values before mapping to color. | |
Public Attributes | |
std::optional< rerun::components::MagnificationFilter > | mag_filter |
Filter used when zooming in on the tensor. | |
std::optional< rerun::components::Colormap > | colormap |
How scalar values map to colors. | |
std::optional< rerun::components::GammaCorrection > | gamma |
Gamma exponent applied to normalized values before mapping to color. | |
Static Public Attributes | |
static constexpr const char | IndicatorComponentName [] |
Archetype: Configures how tensor scalars are mapped to color.
|
inline |
Filter used when zooming in on the tensor.
Note that the filter is applied to the scalar values before they are mapped to color.
|
inline |
Gamma exponent applied to normalized values before mapping to color.
Raises the normalized values to the power of this value before mapping to color. Acts like an inverse brightness. Defaults to 1.0.
std::optional<rerun::components::MagnificationFilter> rerun::blueprint::archetypes::TensorScalarMapping::mag_filter |
Filter used when zooming in on the tensor.
Note that the filter is applied to the scalar values before they are mapped to color.
std::optional<rerun::components::GammaCorrection> rerun::blueprint::archetypes::TensorScalarMapping::gamma |
Gamma exponent applied to normalized values before mapping to color.
Raises the normalized values to the power of this value before mapping to color. Acts like an inverse brightness. Defaults to 1.0.
|
staticconstexpr |