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

Component: A 3D scale factor that doesn't propagate in the transform hierarchy. More...

#include <rerun/components/pose_scale3d.hpp>

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

rerun::datatypes::Vec3D scale
 

Detailed Description

Component: A 3D scale factor that doesn't propagate in the transform hierarchy.

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: