Rerun C++ SDK
Loading...
Searching...
No Matches
rerun::components::PoseTransformMat3x3 Struct Reference

Component: A 3x3 transformation matrix Matrix that doesn't propagate in the transform hierarchy. More...

#include <rerun/components/pose_transform_mat3x3.hpp>

Public Member Functions

 PoseTransformMat3x3 (rerun::datatypes::Mat3x3 matrix_)
 
PoseTransformMat3x3operator= (rerun::datatypes::Mat3x3 matrix_)
 
 PoseTransformMat3x3 (std::array< float, 9 > flat_columns_)
 
PoseTransformMat3x3operator= (std::array< float, 9 > flat_columns_)
 
 operator rerun::datatypes::Mat3x3 () const
 Cast to the underlying Mat3x3 datatype.
 

Public Attributes

rerun::datatypes::Mat3x3 matrix
 

Detailed Description

Component: A 3x3 transformation matrix Matrix that doesn't propagate in the transform hierarchy.

3x3 matrixes are able to represent any affine transformation in 3D space, i.e. rotation, scaling, shearing, reflection etc.

Matrices in Rerun are stored as flat list of coefficients in column-major order:

column 0 column 1 column 2
-------------------------------------------------
row 0 | flat_columns[0] flat_columns[3] flat_columns[6]
row 1 | flat_columns[1] flat_columns[4] flat_columns[7]
row 2 | flat_columns[2] flat_columns[5] flat_columns[8]

The documentation for this struct was generated from the following file: