14 #ifndef niftkMITKTrackerDataSourceService_h
15 #define niftkMITKTrackerDataSourceService_h
105 virtual
void SetProperties(const IGIDataSourceProperties& properties) override;
110 virtual IGIDataSourceProperties
GetProperties() const override;
114 MITKTrackerDataSourceService(QString
name,
116 const IGIDataSourceProperties& properties,
117 mitk::DataStorage::Pointer dataStorage,
120 virtual ~MITKTrackerDataSourceService();
124 MITKTrackerDataSourceService(const MITKTrackerDataSourceService&);
125 MITKTrackerDataSourceService& operator=(const MITKTrackerDataSourceService&);
127 QMap<QString,
std::set<
niftk::
IGIDataType::IGITimeType> > GetPlaybackIndex(QString directory);
const IGIDataSourceProperties virtual niftk::NDITracker::Pointer void StartPlayback(niftk::IGIDataType::IGITimeType firstTimeStamp, niftk::IGIDataType::IGITimeType lastTimeStamp) override
Definition: niftkMITKTrackerDataSourceService.cxx:174
virtual IGIDataSourceProperties GetProperties() const override
IGIDataSourceI::GetProperties()
Definition: niftkMITKTrackerDataSourceService.cxx:126
Abstract base class for local data sources.
Definition: niftkIGILocalDataSourceI.h:29
Base class for NifTK interfaces to NDI trackers.
Definition: niftkNDITracker.h:43
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
Provides a local MITK implementation of a tracker interface, as an IGIDataSourceServiceI. The other class niftk::NDITracker provides the main tracking mechanism, utilising MITK to speak to the serial port and grab data etc. This class therefore is to coordinate threads, buffers, etc. and to function as a MicroService.
Definition: niftkMITKTrackerDataSourceService.h:46
virtual void CleanBuffer() override
Definition: niftkMITKTrackerDataSourceService.cxx:139
virtual void SaveItem(niftk::IGIDataType::Pointer item) override
Definition: niftkMITKTrackerDataSourceService.cxx:343
Definition: niftkMeshSmoother.cxx:19
Definition: ReceptorMemberCommandTest.cxx:25
void PlaybackData(niftk::IGIDataType::IGITimeType requestedTimeStamp) override
Definition: niftkMITKTrackerDataSourceService.cxx:199
Abstract base class for IGI Data, such as objects containing tracking data, video frames or ultrasoun...
Definition: niftkIGIDataType.h:35
virtual void StopPlayback() override
Definition: niftkMITKTrackerDataSourceService.cxx:187
Manages a buffer of niftk::IGIDataType.
Definition: niftkIGIDataSourceBuffer.h:42
QMap< QString, QVariant > IGIDataSourceProperties
Definition: niftkIGIDataSourceI.h:33
mitkClassMacroItkParent(MITKTrackerDataSourceService, IGIDataSource) mitkNewMacro5Param(MITKTrackerDataSourceService
virtual std::vector< IGIDataItemInfo > Update(const niftk::IGIDataType::IGITimeType &time) override
Definition: niftkMITKTrackerDataSourceService.cxx:385
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 void GrabData() override
Definition: niftkMITKTrackerDataSourceService.cxx:276
GLuint const GLchar * name
Definition: glew.h:1798
QString
Definition: niftkMITKTrackerDataSourceService.h:57
virtual void SetProperties(const IGIDataSourceProperties &properties) override
IGIDataSourceI::SetProperties()
Definition: niftkMITKTrackerDataSourceService.cxx:107
Helper class to provide a class-level counter.
Definition: niftkIGIDataSourceLocker.h:29
bool ProbeRecordedData(niftk::IGIDataType::IGITimeType *firstTimeStampInStore, niftk::IGIDataType::IGITimeType *lastTimeStampInStore) override
Definition: niftkMITKTrackerDataSourceService.cxx:165
Definition: niftkIGIDataSourceGrabbingThread.h:29
Definition: niftkExceptionObject.h:21
Abstract base class for data sources that can clean their own buffer.
Definition: niftkIGIBufferedSaveableDataSourceI.h:28