Rerun C++ SDK
Loading...
Searching...
No Matches
rerun::datatypes::Rotation3D Struct Reference

Datatype: A 3D rotation. More...

#include <rerun/datatypes/rotation3d.hpp>

Public Member Functions

 Rotation3D (const Rotation3D &other)
 Copy constructor.
 
Rotation3Doperator= (const Rotation3D &other) noexcept
 
 Rotation3D (Rotation3D &&other) noexcept
 
Rotation3Doperator= (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::Quaternionget_quaternion () const
 Return a pointer to quaternion if the union is in that state, otherwise nullptr.
 
const rerun::datatypes::RotationAxisAngleget_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
 

Detailed Description

Datatype: A 3D rotation.


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