trikRuntime
|
Class for camera imitation. More...
#include <imitationCameraImplementation.h>
Public Member Functions | |
ImitationCameraImplementation (const QStringList &filter, const QString &path) | |
Camera imitation constructor. More... | |
QVector< uint8_t > | getPhoto () override |
Get photo as a vector of uint8t in RGB 888 format. More... | |
~ImitationCameraImplementation () 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... | |
Class for camera imitation.
ImitationCameraImplementation::ImitationCameraImplementation | ( | const QStringList & | filter, |
const QString & | path | ||
) |
Camera imitation constructor.
filter | - list of filters to select photo from tempDir |
path | - directory with prepared images |
|
overridedefault |
|
overridevirtual |
Get photo as a vector of uint8t in RGB 888 format.
Implements trikControl::CameraImplementationInterface.