Rerun C++ SDK
|
Datatype: A 3D rotation. More...
#include <rerun/datatypes/rotation3d.hpp>
Public Member Functions | |
Rotation3D (const Rotation3D &other) | |
Copy constructor. | |
Rotation3D & | operator= (const Rotation3D &other) noexcept |
Rotation3D (Rotation3D &&other) noexcept | |
Rotation3D & | operator= (Rotation3D &&other) noexcept |
void | swap (Rotation3D &other) noexcept |
Rotation3D (rerun::datatypes::Quaternion quaternion) | |
Rotation defined by a quaternion. | |
Rotation3D (rerun::datatypes::RotationAxisAngle axis_angle) | |
Rotation defined with an axis and an angle. | |
const rerun::datatypes::Quaternion * | get_quaternion () const |
Return a pointer to quaternion if the union is in that state, otherwise nullptr . | |
const rerun::datatypes::RotationAxisAngle * | get_axis_angle () const |
Return a pointer to axis_angle if the union is in that state, otherwise nullptr . | |
Static Public Member Functions | |
static Rotation3D | quaternion (rerun::datatypes::Quaternion quaternion) |
Rotation defined by a quaternion. | |
static Rotation3D | axis_angle (rerun::datatypes::RotationAxisAngle axis_angle) |
Rotation defined with an axis and an angle. | |
Static Public Attributes | |
static const Rotation3D | IDENTITY |
Datatype: A 3D rotation.