6#include "../component_descriptor.hpp"
7#include "../datatypes/mat3x3.hpp"
8#include "../result.hpp"
44 matrix = flat_columns_;
60 struct Loggable<components::PoseTransformMat3x3> {
61 static constexpr ComponentDescriptor Descriptor =
"rerun.components.PoseTransformMat3x3";
64 static const std::shared_ptr<arrow::DataType>& arrow_datatype() {
65 return Loggable<rerun::datatypes::Mat3x3>::arrow_datatype();
69 static Result<std::shared_ptr<arrow::Array>> to_arrow(
70 const components::PoseTransformMat3x3* instances,
size_t num_instances
72 if (num_instances == 0) {
73 return Loggable<rerun::datatypes::Mat3x3>::to_arrow(
nullptr, 0);
74 }
else if (instances ==
nullptr) {
76 ErrorCode::UnexpectedNullArgument,
77 "Passed array instances is null when num_elements> 0."
80 return Loggable<rerun::datatypes::Mat3x3>::to_arrow(
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:95
All built-in components. See Types in the Rerun manual.
Definition rerun.hpp:80
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:23
Datatype: A 3x3 Matrix.
Definition mat3x3.hpp:32