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

Component: Pixel resolution width & height, e.g. More...

#include <rerun/components/resolution.hpp>

Public Member Functions

 Resolution (float width, float height)
 Construct resolution from width and height floats.
 
 Resolution (int width, int height)
 Construct resolution from width and height integers.
 
 Resolution (rerun::datatypes::Vec2D resolution_)
 
Resolutionoperator= (rerun::datatypes::Vec2D resolution_)
 
 Resolution (std::array< float, 2 > xy_)
 
Resolutionoperator= (std::array< float, 2 > xy_)
 
 operator rerun::datatypes::Vec2D () const
 Cast to the underlying Vec2D datatype.
 

Public Attributes

rerun::datatypes::Vec2D resolution
 

Static Public Attributes

static const Resolution IDENTITY
 

Detailed Description

Component: Pixel resolution width & height, e.g.

of a camera sensor.

Typically in integer units, but for some use cases floating point may be used.


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