13 #ifndef QmitkOpenCVVideoControls_h 14 #define QmitkOpenCVVideoControls_h 16 #include <ui_QmitkOpenCVVideoControls.h> 20 #include "opencv2/core.hpp" 27 class OpenCVVideoSource;
30 class QmitkOpenCVVideoControlsPrivate;
46 , QWidget* parent =
nullptr, Qt::WindowFlags f =
nullptr);
76 void AfterPropertyListReplaced(
const std::string&
id,
mitk::PropertyList* propertyList)
override;
82 void NewOpenCVFrameAvailable(
const IplImage*);
85 void on_UseGrabbingDeviceButton_clicked(
bool checked =
false);
86 void on_UseVideoFileButton_clicked(
bool checked =
false);
87 void on_VideoProgressSlider_sliderPressed();
88 void on_VideoProgressSlider_sliderReleased();
89 void on_VideoProgressSlider_valueChanged(
int value);
90 void on_RepeatVideoButton_clicked(
bool checked =
false);
91 void on_PlayButton_clicked(
bool checked =
false);
92 void on_StopButton_clicked(
bool checked =
false);
96 void IsPlaying(
bool paused);
97 void QObjectDestroyed(QObject * obj =
nullptr);
111 friend class QmitkOpenCVVideoControlsPrivate;
113 QScopedPointer<QmitkOpenCVVideoControlsPrivate> d;
#define MITKOPENCVVIDEOSUPPORTUI_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Key-value list holding instances of BaseProperty.
Ui::QmitkOpenCVVideoControls * m_Controls
QmitkRenderWindow * m_RenderWindow
Offers widgets to play/pause/stop a video on a certain render window with the use of an !initialized!...
bool m_SliderCurrentlyMoved
MITK implementation of the QVTKWidget.
mitk::OpenCVVideoSource * m_VideoSource
QmitkVideoBackground * m_VideoBackground