14 #ifndef niftkOpenCVVideoDataSourceService_h
15 #define niftkOpenCVVideoDataSourceService_h
26 #include <mitkOpenCVVideoSource.h>
95 virtual
void SetProperties(const IGIDataSourceProperties& properties) override;
100 virtual IGIDataSourceProperties
GetProperties() const override;
104 OpenCVVideoDataSourceService(QString factoryName,
105 const IGIDataSourceProperties& properties,
106 mitk::DataStorage::Pointer dataStorage
108 virtual ~OpenCVVideoDataSourceService();
112 OpenCVVideoDataSourceService(const OpenCVVideoDataSourceService&);
113 OpenCVVideoDataSourceService& operator=(const OpenCVVideoDataSourceService&);
119 mitk::OpenCVVideoSource::Pointer m_VideoSource;
QString
Definition: niftkOpenCVVideoDataSourceService.h:53
Abstract base class for local data sources.
Definition: niftkIGILocalDataSourceI.h:29
const IGIDataSourceProperties virtual mitk::DataStorage::Pointer void StartPlayback(niftk::IGIDataType::IGITimeType firstTimeStamp, niftk::IGIDataType::IGITimeType lastTimeStamp) override
Definition: niftkOpenCVVideoDataSourceService.cxx:158
Thread class, based on IGITimerBasedThread to simply call "CleanBuffer".
Definition: niftkIGIDataSourceBackgroundDeleteThread.h:29
Abstract base class for data sources that can clean their own buffer.
Definition: niftkIGICleanableDataSourceI.h:27
Definition: niftkMeshSmoother.cxx:19
Definition: ReceptorMemberCommandTest.cxx:25
bool ProbeRecordedData(niftk::IGIDataType::IGITimeType *firstTimeStampInStore, niftk::IGIDataType::IGITimeType *lastTimeStampInStore) override
Definition: niftkOpenCVVideoDataSourceService.cxx:234
void PlaybackData(niftk::IGIDataType::IGITimeType requestedTimeStamp) override
Definition: niftkOpenCVVideoDataSourceService.cxx:194
virtual void StopPlayback() override
Definition: niftkOpenCVVideoDataSourceService.cxx:182
Abstract base class for IGI Data, such as objects containing tracking data, video frames or ultrasoun...
Definition: niftkIGIDataType.h:35
virtual void CleanBuffer() override
Definition: niftkOpenCVVideoDataSourceService.cxx:150
Manages a buffer of niftk::IGIDataType.
Definition: niftkIGIDataSourceBuffer.h:42
QMap< QString, QVariant > IGIDataSourceProperties
Definition: niftkIGIDataSourceI.h:33
Provides an OpenCV video feed, as an IGIDataSourceServiceI.
Definition: niftkOpenCVVideoDataSourceService.h:42
Info class to describe current state, so that GUI can display status.
Definition: niftkIGIDataSourceI.h:47
Abstract base class for IGI DataSources, such as objects that produce tracking data, video frames or ultrasound frames.
Definition: niftkIGIDataSource.h:47
virtual std::vector< IGIDataItemInfo > Update(const niftk::IGIDataType::IGITimeType &time) override
Definition: niftkOpenCVVideoDataSourceService.cxx:355
virtual void SetProperties(const IGIDataSourceProperties &properties) override
IGIDataSourceI::SetProperties()
Definition: niftkOpenCVVideoDataSourceService.cxx:123
Helper class to provide a class-level counter.
Definition: niftkIGIDataSourceLocker.h:29
virtual IGIDataSourceProperties GetProperties() const override
IGIDataSourceI::GetProperties()
Definition: niftkOpenCVVideoDataSourceService.cxx:137
Definition: niftkIGIDataSourceGrabbingThread.h:29
virtual void GrabData() override
Definition: niftkOpenCVVideoDataSourceService.cxx:267
Definition: niftkExceptionObject.h:21
Abstract base class for data sources that can clean their own buffer.
Definition: niftkIGIBufferedSaveableDataSourceI.h:28
mitkClassMacroItkParent(OpenCVVideoDataSourceService, IGIDataSource) mitkNewMacro3Param(OpenCVVideoDataSourceService