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

Component: Camera projection, from image coordinates to view coordinates. More...

#include <rerun/components/pinhole_projection.hpp>

Public Member Functions

 PinholeProjection (rerun::datatypes::Mat3x3 image_from_camera_)
 
PinholeProjectionoperator= (rerun::datatypes::Mat3x3 image_from_camera_)
 
 PinholeProjection (std::array< float, 9 > flat_columns_)
 
PinholeProjectionoperator= (std::array< float, 9 > flat_columns_)
 
 operator rerun::datatypes::Mat3x3 () const
 Cast to the underlying Mat3x3 datatype.
 

Static Public Member Functions

static PinholeProjection from_mat3x3 (const float *elements)
 Construct a new 3x3 pinhole matrix from a pointer to 9 floats (in row major order).
 

Public Attributes

rerun::datatypes::Mat3x3 image_from_camera
 

Detailed Description

Component: Camera projection, from image coordinates to view coordinates.

Child from parent. Image coordinates from camera view coordinates.

Example:

1496.1 0.0 980.5
0.0 1496.1 744.5
0.0 0.0 1.0

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