|
trikRuntime
|
Camera implementation with QtMultimedia. More...
#include <qtCameraImplementation.h>


Public Member Functions | |
| QtCameraImplementation (const QString &port) | |
| Qt camera constructor. More... | |
| QVector< uint8_t > | getPhoto () override |
| Get photo as a vector of uint8t in RGB 888 format. More... | |
| ~QtCameraImplementation () override=default | |
Public Member Functions inherited from trikControl::CameraImplementationInterface | |
| virtual | ~CameraImplementationInterface ()=default |
| CameraImplementationInterface ()=default | |
| QString | getTempDir () const |
| Get directory, where photos are saved. More... | |
| void | setTempDir (const QString &newDir) |
| Set directory, where photos are saved. More... | |
Camera implementation with QtMultimedia.
|
explicit |
Qt camera constructor.
| port | - use this as name of device, i.e. "/dev/video0" |
|
overridedefault |
|
overridevirtual |
Get photo as a vector of uint8t in RGB 888 format.
Implements trikControl::CameraImplementationInterface.