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 "algorithmmanager.h"
11#include "readerparams.h"
15#include <opencv2/core.hpp>
16#include <opencv2/videoio.hpp>
17#include <opencv2/imgcodecs.hpp>
18#include <opencv2/core/utils/filesystem.hpp>
68 Memento(std::vector<uint> state);
69 std::vector<uint> getState();
71 std::vector<uint> m_state;
105 void updateMIP(
const std::vector<unsigned int> &keyframes);
118 const cv::Mat*
getPic(
unsigned int index, Reader::PictureProcessingFlags flags = Reader::APPLY_NONE);
154 unsigned int getNextKeyframe(
unsigned int index,
unsigned int stepsize);
187 QVariant
toText()
override;
193 void fromText(QVariant data)
override;
220 void setAltitude(
double altitude);
221 double getAltitude();
234 Reader* m_reader =
nullptr;
235 std::vector<unsigned int> m_keyframes;
237 cv::Mat m_currentMat;
240 std::shared_ptr<ReaderParams> m_readerParams;
243 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