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

Component: A 3D scale factor. More...

#include <rerun/components/scale3d.hpp>

Public Member Functions

 Scale3D (float x, float y, float z)
 Construct Scale3D from x/y/z values.
 
 Scale3D (const float *xyz)
 Construct Scale3D from x/y/z float pointer.
 
 Scale3D (float uniform_scale)
 Construct a Scale3D from a uniform scale factor.
 
 Scale3D (rerun::datatypes::Vec3D scale_)
 
Scale3Doperator= (rerun::datatypes::Vec3D scale_)
 
 Scale3D (std::array< float, 3 > xyz_)
 
Scale3Doperator= (std::array< float, 3 > xyz_)
 
 operator rerun::datatypes::Vec3D () const
 Cast to the underlying Vec3D datatype.
 

Static Public Member Functions

static Scale3D uniform (float uniform_scale)
 Explicitly construct a Scale3D from a uniform scale factor.
 
static Scale3D three_d (datatypes::Vec3D scale)
 Explicitly construct a Scale3D from a 3D scale factor.
 

Public Attributes

rerun::datatypes::Vec3D scale
 

Detailed Description

Component: A 3D scale factor.

A scale of 1.0 means no scaling. A scale of 2.0 means doubling the size. Each component scales along the corresponding axis.


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