1#ifndef MODELINPUTPICTURES_H
2#define MODELINPUTPICTURES_H
5#include "readerfactory.h"
6#include "ISerializable.h"
7#include "stringcontainer.h"
8#include "concurrentreader.h"
9#include "metadatamanager.h"
10#include "readerparams.h"
14#include <opencv2/core.hpp>
15#include <opencv2/videoio.hpp>
16#include <opencv2/imgcodecs.hpp>
17#include <opencv2/core/utils/filesystem.hpp>
21#include <QJsonDocument>
73 Memento(std::vector<uint> state);
74 std::vector<uint> getState();
76 std::vector<uint> m_state;
110 void updateMIP(
const std::vector<unsigned int> &keyframes);
123 const cv::Mat*
getPic(
unsigned int index, Reader::PictureProcessingFlags flags = Reader::APPLY_NONE);
159 unsigned int getNextKeyframe(
unsigned int index,
unsigned int stepsize);
192 QVariant
toText()
override;
198 void fromText(QVariant data)
override;
225 void setAltitude(
double altitude);
226 double getAltitude();
239 Reader* m_reader =
nullptr;
240 std::vector<unsigned int> m_keyframes;
242 cv::Mat m_currentMat;
245 std::shared_ptr<ReaderParams> m_readerParams;
248 std::vector<unsigned int> splitString(QString
string);
The ConcurrentReader class is a wrapper for a Reader object. The ConcurrentReader can be moved to a s...
Definition concurrentreader.h:28
The ISerializable class ensures that inherit classes can be transformed to and from text.
Definition ISerializable.h:20
The Reader interface defines functions which are used for reading and parsing the import.
Definition reader.h:23