Blame view
EditSimShotDialog.h
929 Bytes
3f2992b2c
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
#ifndef EDITSIMSHOTDIALOG_H #define EDITSIMSHOTDIALOG_H #include <QDialog> #include <QKeyEvent> #include <QPixmap> #include <QLabel> #include "VignetteWidget.h" #include "Segment.h" class EditSimShotDialog: public QDialog { Q_OBJECT public: EditSimShotDialog(const QString &fName, int currIdx, const QList<qint64> &shotPositions, int nVignettes, int frameWidth, QWidget *parent = 0); protected: void keyPressEvent(QKeyEvent *event); signals: void labelSimShot(qint64 position, int nCamera, Segment::Source source); private: QPixmap refShot(); cv::VideoCapture m_cap; int m_vignetteWidth; int m_vignetteHeight; int m_frameDur; QLabel *m_currentVignette; int m_nVignettes; VignetteWidget *m_vignetteWidget; int m_refIdx; int m_currIdx; QList<qint64> m_shotPositions; QList<qint64> m_vignettePositions; QVector<int> m_shotCamera; QVector<bool> m_delOp; int m_nCamera; }; #endif |