Rerun C++ SDK
|
Archetype: Empties all the components of an entity. More...
#include <rerun/archetypes/clear.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 | |
Clear (bool _is_recursive=false) | |
Clear (Clear &&other)=default | |
Clear (rerun::components::ClearIsRecursive _is_recursive) | |
Public Attributes | |
rerun::components::ClearIsRecursive | is_recursive |
Static Public Attributes | |
static constexpr const char | IndicatorComponentName [] = "rerun.components.ClearIndicator" |
static RERUN_SDK_EXPORT const Clear | FLAT |
static RERUN_SDK_EXPORT const Clear | RECURSIVE |
Archetype: Empties all the components of an entity.
The presence of a clear means that a latest-at query of components at a given path(s) will not return any components that were logged at those paths before the clear. Any logged components after the clear are unaffected by the clear.
This implies that a range query that includes time points that are before the clear, still returns all components at the given path(s). Meaning that in practice clears are ineffective when making use of visible time ranges. Scalar plots are an exception: they track clears and use them to represent holes in the data (i.e. discontinuous lines).