6#include "../component_descriptor.hpp"
7#include "../result.hpp"
8#include "keypoint_id.hpp"
48 struct Loggable<datatypes::KeypointPair> {
49 static constexpr ComponentDescriptor Descriptor =
"rerun.datatypes.KeypointPair";
52 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
55 static Result<std::shared_ptr<arrow::Array>> to_arrow(
56 const datatypes::KeypointPair* instances,
size_t num_instances
61 arrow::StructBuilder* builder,
const datatypes::KeypointPair* elements,
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:95
All built-in datatypes. See Types in the Rerun manual.
Definition rerun.hpp:83
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:23
Datatype: A 16-bit ID representing a type of semantic keypoint within a class.
Definition keypoint_id.hpp:25
Datatype: A connection between two datatypes::KeypointIds.
Definition keypoint_pair.hpp:21
rerun::datatypes::KeypointId keypoint0
The first point of the pair.
Definition keypoint_pair.hpp:23
rerun::datatypes::KeypointId keypoint1
The second point of the pair.
Definition keypoint_pair.hpp:26