Offers widgets to play/pause/stop a video on a certain render window with the use of an !initialized! QmitkVideoBackground. The QmitkVideoBackground should contain an OpenCVVideoSource is then owned by this widget (and deleted)
More...
#include <QmitkOpenCVVideoControls.h>
Offers widgets to play/pause/stop a video on a certain render window with the use of an !initialized! QmitkVideoBackground. The QmitkVideoBackground should contain an OpenCVVideoSource is then owned by this widget (and deleted)
Definition at line 38 of file QmitkOpenCVVideoControls.h.
◆ QmitkOpenCVVideoControls()
QmitkOpenCVVideoControls::QmitkOpenCVVideoControls |
( |
QmitkVideoBackground * |
_VideoBackground, |
|
|
QmitkRenderWindow * |
_RenderWindow, |
|
|
QWidget * |
parent = nullptr , |
|
|
Qt::WindowFlags |
f = nullptr |
|
) |
| |
Construct the widget with the given render window and the given preset values
◆ ~QmitkOpenCVVideoControls()
QmitkOpenCVVideoControls::~QmitkOpenCVVideoControls |
( |
| ) |
|
|
override |
call reset if video playback is enabled here
◆ AfterPropertyListReplaced()
void QmitkOpenCVVideoControls::AfterPropertyListReplaced |
( |
const std::string & |
id, |
|
|
mitk::PropertyList * |
propertyList |
|
) |
| |
|
overridevirtual |
◆ EndOfVideoSourceReached
void QmitkOpenCVVideoControls::EndOfVideoSourceReached |
( |
mitk::VideoSource * |
videoSource | ) |
|
|
protectedslot |
◆ GetRenderWindow()
returns the current render window
◆ GetVideoBackground()
◆ IsPlaying
void QmitkOpenCVVideoControls::IsPlaying |
( |
bool |
paused | ) |
|
|
protectedslot |
◆ NewFrameAvailable
◆ NewOpenCVFrameAvailable
void QmitkOpenCVVideoControls::NewOpenCVFrameAvailable |
( |
const IplImage * |
| ) |
|
|
signal |
When playback is started this informs when a new frame was grabbed
◆ on_PlayButton_clicked
void QmitkOpenCVVideoControls::on_PlayButton_clicked |
( |
bool |
checked = false | ) |
|
|
protectedslot |
◆ on_RepeatVideoButton_clicked
void QmitkOpenCVVideoControls::on_RepeatVideoButton_clicked |
( |
bool |
checked = false | ) |
|
|
protectedslot |
◆ on_StopButton_clicked
void QmitkOpenCVVideoControls::on_StopButton_clicked |
( |
bool |
checked = false | ) |
|
|
protectedslot |
◆ on_UseGrabbingDeviceButton_clicked
void QmitkOpenCVVideoControls::on_UseGrabbingDeviceButton_clicked |
( |
bool |
checked = false | ) |
|
|
protectedslot |
◆ on_UseVideoFileButton_clicked
void QmitkOpenCVVideoControls::on_UseVideoFileButton_clicked |
( |
bool |
checked = false | ) |
|
|
protectedslot |
◆ on_VideoProgressSlider_sliderPressed
void QmitkOpenCVVideoControls::on_VideoProgressSlider_sliderPressed |
( |
| ) |
|
|
protectedslot |
◆ on_VideoProgressSlider_sliderReleased
void QmitkOpenCVVideoControls::on_VideoProgressSlider_sliderReleased |
( |
| ) |
|
|
protectedslot |
◆ on_VideoProgressSlider_valueChanged
void QmitkOpenCVVideoControls::on_VideoProgressSlider_valueChanged |
( |
int |
value | ) |
|
|
protectedslot |
◆ Play
void QmitkOpenCVVideoControls::Play |
( |
| ) |
|
|
protectedslot |
◆ QObjectDestroyed
void QmitkOpenCVVideoControls::QObjectDestroyed |
( |
QObject * |
obj = nullptr | ) |
|
|
protectedslot |
◆ Reset
void QmitkOpenCVVideoControls::Reset |
( |
| ) |
|
|
protectedslot |
◆ SetRenderWindow()
sets the render window for this video player
◆ SetVideoBackground()
sets the qmitkvideobackground for this
◆ Stop
void QmitkOpenCVVideoControls::Stop |
( |
| ) |
|
|
protectedslot |
◆ m_Controls
Ui::QmitkOpenCVVideoControls* QmitkOpenCVVideoControls::m_Controls |
|
protected |
◆ m_RenderWindow
◆ m_SliderCurrentlyMoved
bool QmitkOpenCVVideoControls::m_SliderCurrentlyMoved |
|
protected |
◆ m_VideoBackground
◆ m_VideoSource
The documentation for this class was generated from the following file: