6#include "../datatypes/rotation3d.hpp"
7#include "../rerun_sdk_export.hpp"
8#include "../result.hpp"
22 RERUN_SDK_EXPORT
static const Rotation3D IDENTITY;
52 struct Loggable<components::Rotation3D> {
53 static constexpr const char Name[] =
"rerun.components.Rotation3D";
56 static const std::shared_ptr<arrow::DataType>& arrow_datatype() {
57 return Loggable<rerun::datatypes::Rotation3D>::arrow_datatype();
61 static Result<std::shared_ptr<arrow::Array>> to_arrow(
62 const components::Rotation3D* instances,
size_t num_instances
64 return Loggable<rerun::datatypes::Rotation3D>::to_arrow(
All built-in components. See Types in the Rerun manual.
Definition rerun.hpp:75
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:21
Component: A 3D rotation, represented either by a quaternion or a rotation around axis.
Definition rotation3d.hpp:15
Rotation3D(datatypes::Quaternion quaternion)
Construct Rotation3d from Quaternion.
Definition rotation3d.hpp:25
rerun::datatypes::Rotation3D repr
Representation of the rotation.
Definition rotation3d.hpp:17
Rotation3D(datatypes::RotationAxisAngle axis_angle)
Construct Rotation3d from axis-angle.
Definition rotation3d.hpp:28
Datatype: A Quaternion represented by 4 real numbers.
Definition quaternion.hpp:24
Datatype: A 3D rotation.
Definition rotation3d.hpp:60
Datatype: 3D rotation represented by a rotation around a given axis.
Definition rotation_axis_angle.hpp:21