Monado OpenXR Runtime
Public Member Functions | Data Fields
CameraCalibrationWrapper Struct Reference

Essential calibration data wrapped for C++. More...

#include <tracking/t_calibration_opencv.hpp>

Collaboration diagram for CameraCalibrationWrapper:
Collaboration graph
[legend]

Public Member Functions

 CameraCalibrationWrapper (t_camera_calibration &calib)
 
bool isDataStorageValid () const noexcept
 Try to verify nothing was reallocated. More...
 

Data Fields

t_camera_calibrationbase
 
xrt_sizeimage_size_pixels
 
const cv::Size image_size_pixels_cv
 
cv::Mat_< double > intrinsics_mat
 
cv::Mat_< double > distortion_mat
 
cv::Mat_< double > distortion_fisheye_mat
 
bool & use_fisheye
 

Detailed Description

Essential calibration data wrapped for C++.

Just like the cv::Mat that it holds, this object does not own all the memory it points to!

Constructor & Destructor Documentation

◆ CameraCalibrationWrapper()

CameraCalibrationWrapper::CameraCalibrationWrapper ( t_camera_calibration calib)
inline

References isDataStorageValid().

Member Function Documentation

◆ isDataStorageValid()

bool CameraCalibrationWrapper::isDataStorageValid ( ) const
inlinenoexcept

Field Documentation

◆ base

t_camera_calibration& CameraCalibrationWrapper::base

◆ distortion_fisheye_mat

cv::Mat_<double> CameraCalibrationWrapper::distortion_fisheye_mat

◆ distortion_mat

cv::Mat_<double> CameraCalibrationWrapper::distortion_mat

◆ image_size_pixels

xrt_size& CameraCalibrationWrapper::image_size_pixels

◆ image_size_pixels_cv

const cv::Size CameraCalibrationWrapper::image_size_pixels_cv

◆ intrinsics_mat

cv::Mat_<double> CameraCalibrationWrapper::intrinsics_mat

◆ use_fisheye

bool& CameraCalibrationWrapper::use_fisheye

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