6#include "../rerun_sdk_export.hpp"
7#include "../result.hpp"
30 std::optional<rerun::datatypes::Mat3x3>
mat3x3;
53 const std::optional<Vec3D>& translation_,
const std::optional<Mat3x3>& mat3x3_,
83 struct Loggable<datatypes::TranslationAndMat3x3> {
84 static constexpr const char Name[] =
"rerun.datatypes.TranslationAndMat3x3";
87 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
90 static Result<std::shared_ptr<arrow::Array>> to_arrow(
91 const datatypes::TranslationAndMat3x3* instances,
size_t num_instances
96 arrow::StructBuilder* builder,
const datatypes::TranslationAndMat3x3* elements,
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:89
All built-in datatypes. See Types in the Rerun manual.
Definition rerun.hpp:78
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:21
Datatype: A 3x3 Matrix.
Definition mat3x3.hpp:31
Datatype: Representation of an affine transform via a 3x3 affine matrix paired with a translation.
Definition translation_and_mat3x3.hpp:25
std::optional< rerun::datatypes::Vec3D > translation
3D translation, applied after the matrix.
Definition translation_and_mat3x3.hpp:27
std::optional< rerun::datatypes::Mat3x3 > mat3x3
3x3 matrix for scale, rotation & shear.
Definition translation_and_mat3x3.hpp:30
TranslationAndMat3x3(const Vec3D &translation_, bool from_parent_=false)
From translation only.
Definition translation_and_mat3x3.hpp:69
static RERUN_SDK_EXPORT const TranslationAndMat3x3 IDENTITY
Identity transformation.
Definition translation_and_mat3x3.hpp:45
TranslationAndMat3x3(const std::optional< Vec3D > &translation_, const std::optional< Mat3x3 > &mat3x3_, bool from_parent_)
Creates a new 3D transform from translation/matrix.
Definition translation_and_mat3x3.hpp:52
TranslationAndMat3x3(const Mat3x3 &mat3x3_, bool from_parent_=false)
From rotation only.
Definition translation_and_mat3x3.hpp:62
bool from_parent
If true, this transform is from the parent space to the space where the transform was logged.
Definition translation_and_mat3x3.hpp:36
Datatype: A vector in 3D space.
Definition vec3d.hpp:20