Zivid C++ API 2.14.0+e4a0c4a9-1
|
Functions | |
template<typename T > | |
T | defaultValue (const CameraInfo &cameraInfo) |
template<typename T > | |
std::set< typename T::ValueType > | validValues (const CameraInfo &cameraInfo) |
template<typename T , typename Ret = Range<typename T::ValueType>> | |
Ret | validRange (const CameraInfo &cameraInfo) |
ZIVID_CORE_EXPORT Resolution | resolution (const CameraInfo &cameraInfo, const Settings &settings) |
Returns the resolution of captured frames according to the provided camera information and settings. | |
T Zivid::Experimental::SettingsInfo::defaultValue | ( | const CameraInfo & | cameraInfo | ) |
ZIVID_CORE_EXPORT Resolution Zivid::Experimental::SettingsInfo::resolution | ( | const CameraInfo & | cameraInfo, |
const Settings & | settings ) |
Returns the resolution of captured frames according to the provided camera information and settings.
Note that for a 2D+3D capture, the 2D color image and 3D point cloud may have different resolutions, depending on the pixel sampling and resampling settings used in the Settings and in the Settings::Color. This function returns the resolution of the 3D Point Cloud for the frame, in other words, it returns the resolution of the PointCloud returned from Frame::pointCloud(). See also Frame::frame2D().
If no acquisitions have been specified in the provided settings this function will throw an exception.
Ret Zivid::Experimental::SettingsInfo::validRange | ( | const CameraInfo & | cameraInfo | ) |
std::set< typename T::ValueType > Zivid::Experimental::SettingsInfo::validValues | ( | const CameraInfo & | cameraInfo | ) |