![]() |
SLProject
4.3.020
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
#include <SENSCamera.h>
Inherits std::vector< SENSCameraDeviceProps >.
Public Member Functions | |
| bool | containsDeviceId (const std::string &deviceId) const |
| bool | supportsCameraFacing (const SENSCameraFacing &facing) const |
| const SENSCameraDeviceProps * | camPropsForDeviceId (const std::string &deviceId) const |
| std::pair< const SENSCameraDeviceProps *const, const SENSCameraStreamConfig *const > | findBestMatchingConfig (SENSCameraFacing facing, const float horizFov, const int width, const int height) const |
| Helper function to find a camera device and stream configuration with certain characteristics. More... | |
Definition at line 136 of file SENSCamera.h.
| const SENSCameraDeviceProps * SENSCaptureProps::camPropsForDeviceId | ( | const std::string & | deviceId | ) | const |
Definition at line 73 of file SENSCamera.cpp.
| bool SENSCaptureProps::containsDeviceId | ( | const std::string & | deviceId | ) | const |
Definition at line 61 of file SENSCamera.cpp.
| std::pair< const SENSCameraDeviceProps *const, const SENSCameraStreamConfig *const > SENSCaptureProps::findBestMatchingConfig | ( | SENSCameraFacing | facing, |
| const float | horizFov, | ||
| const int | width, | ||
| const int | height | ||
| ) | const |
Helper function to find a camera device and stream configuration with certain characteristics.
Returns a pair on nullptrs if characteristics were not fulfilled. Possible reasons: the facing is not available or if the transferred width and height would require an extrapolation.
Definition at line 89 of file SENSCamera.cpp.
| bool SENSCaptureProps::supportsCameraFacing | ( | const SENSCameraFacing & | facing | ) | const |
Definition at line 67 of file SENSCamera.cpp.