![]() |
SLProject
4.3.020
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
Implementation of common functionality and members. More...
#include <SENSCamera.h>
Public Member Functions | |
| SENSFrameBasePtr | latestFrame () override |
| Get the latest captured frame. If no frame was captured the frame will be empty (null). More... | |
| const SENSCameraConfig & | config () const override |
| defines how the camera was configured during start More... | |
| void | registerListener (SENSCameraListener *listener) override |
| void | unregisterListener (SENSCameraListener *listener) override |
| bool | started () const override |
| bool | permissionGranted () const override |
| void | setPermissionGranted () override |
Public Member Functions inherited from SENSCamera | |
| virtual | ~SENSCamera () |
| virtual const SENSCameraConfig & | start (std::string deviceId, const SENSCameraStreamConfig &streamConfig, bool provideIntrinsics=true)=0 |
| virtual void | stop ()=0 |
| Stop a started camera device. More... | |
| virtual const SENSCaptureProps & | captureProperties ()=0 |
| Get SENSCaptureProps which contains necessary information about all available camera devices and their capabilities. More... | |
Protected Member Functions | |
| void | updateFrame (cv::Mat bgrImg, cv::Mat intrinsics, int width, int height, bool intrinsicsChanged) |
| void | processStart () |
| call from start function to do startup preprocessing More... | |
Protected Attributes | |
| SENSCaptureProps | _captureProperties |
| std::atomic< bool > | _started {false} |
| flags if camera was started More... | |
| SENSCameraConfig | _config |
| indicates what is currently running More... | |
| std::atomic< bool > | _permissionGranted {false} |
| std::vector< SENSCameraListener * > | _listeners |
| std::mutex | _listenerMutex |
| SENSFrameBasePtr | _frame |
| current frame More... | |
| std::mutex | _frameMutex |
Implementation of common functionality and members.
Definition at line 196 of file SENSCamera.h.
|
inlineoverridevirtual |
defines how the camera was configured during start
Implements SENSCamera.
Definition at line 200 of file SENSCamera.h.
|
overridevirtual |
Get the latest captured frame. If no frame was captured the frame will be empty (null).
Implements SENSCamera.
Definition at line 276 of file SENSCamera.cpp.
|
inlineoverridevirtual |
Implements SENSCamera.
Definition at line 204 of file SENSCamera.h.
|
protected |
call from start function to do startup preprocessing
Definition at line 294 of file SENSCamera.cpp.
|
overridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
|
protected |
Definition at line 220 of file SENSCamera.cpp.
|
protected |
Definition at line 216 of file SENSCamera.h.
|
protected |
indicates what is currently running
Definition at line 218 of file SENSCamera.h.
|
protected |
current frame
Definition at line 222 of file SENSCamera.h.
|
protected |
Definition at line 223 of file SENSCamera.h.
|
protected |
Definition at line 221 of file SENSCamera.h.
|
protected |
Definition at line 220 of file SENSCamera.h.
|
protected |
Definition at line 219 of file SENSCamera.h.
|
protected |
flags if camera was started
Definition at line 217 of file SENSCamera.h.