Rerun C++ SDK
|
Datatype: 3D scaling factor, part of a transform representation. More...
#include <rerun/datatypes/scale3d.hpp>
Public Member Functions | |
Scale3D (const Scale3D &other) | |
Copy constructor. | |
Scale3D & | operator= (const Scale3D &other) noexcept |
Scale3D (Scale3D &&other) noexcept | |
Scale3D & | operator= (Scale3D &&other) noexcept |
void | swap (Scale3D &other) noexcept |
Scale3D (rerun::datatypes::Vec3D three_d) | |
Individual scaling factors for each axis, distorting the original object. | |
Scale3D (float uniform) | |
Uniform scaling factor along all axis. | |
const rerun::datatypes::Vec3D * | get_three_d () const |
Return a pointer to three_d if the union is in that state, otherwise nullptr . | |
const float * | get_uniform () const |
Return a pointer to uniform if the union is in that state, otherwise nullptr . | |
Static Public Member Functions | |
static Scale3D | three_d (rerun::datatypes::Vec3D three_d) |
Individual scaling factors for each axis, distorting the original object. | |
static Scale3D | uniform (float uniform) |
Uniform scaling factor along all axis. | |
Datatype: 3D scaling factor, part of a transform representation.