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

Datatype: 3D scaling factor, part of a transform representation. More...

#include <rerun/datatypes/scale3d.hpp>

Public Member Functions

 Scale3D (const Scale3D &other)
 Copy constructor.
 
Scale3Doperator= (const Scale3D &other) noexcept
 
 Scale3D (Scale3D &&other) noexcept
 
Scale3Doperator= (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::Vec3Dget_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.
 

Detailed Description

Datatype: 3D scaling factor, part of a transform representation.


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