NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Abstract factory class to create MITKTrackerDataSources. More...
Public Member Functions | |
MITKTrackerDataSourceFactory (QString factoryName) | |
virtual | ~MITKTrackerDataSourceFactory () |
virtual IGIDataSourceI::Pointer | CreateService (mitk::DataStorage::Pointer dataStorage, const IGIDataSourceProperties &properties) const override=0 |
Unimplemented pure virtual method, see derived classes. More... | |
virtual IGIConfigurationDialog * | CreateConfigurationDialog (QWidget *parent, niftk::IGIDataSourceI::Pointer service) const override |
virtual QList< QString > | GetLegacyClassNames () const override |
Returns the empty list, as there are no legacy names. More... | |
void | ExtractProperties (const IGIDataSourceProperties &properties, std::string &outputPortName, std::string &outputFileName, int &baudRate) const |
Extracts some parameters, needed to construct niftk::NDITrackers. More... | |
Public Member Functions inherited from niftk::IGIDataSourceFactoryServiceI | |
virtual IGIInitialisationDialog * | CreateInitialisationDialog (QWidget *parent) const =0 |
Creates the dialog box used to initialise the service. More... | |
virtual QString | GetName () const |
Returns the name of the data source factory, as perceived by the user in the GUI. More... | |
bool | HasInitialiseGui () const |
bool | HasConfigurationGui () const |
Additional Inherited Members | |
Protected Member Functions inherited from niftk::IGIDataSourceFactoryServiceI | |
IGIDataSourceFactoryServiceI (QString name, bool hasInitialiseGui, bool hasConfigurationGui) | |
virtual | ~IGIDataSourceFactoryServiceI () |
Abstract factory class to create MITKTrackerDataSources.
niftk::MITKTrackerDataSourceFactory::MITKTrackerDataSourceFactory | ( | QString | factoryName | ) |
|
virtual |
|
overridevirtual |
All MITK trackers allow the lag to be set.
Implements niftk::IGIDataSourceFactoryServiceI.
|
overridepure virtual |
Unimplemented pure virtual method, see derived classes.
Implements niftk::IGIDataSourceFactoryServiceI.
Implemented in niftk::MITKAuroraCubeDataSourceFactory, niftk::MITKAuroraDomeDataSourceFactory, niftk::MITKAuroraTableTopDataSourceFactory, niftk::MITKPolarisSpectraDataSourceFactory, and niftk::MITKPolarisVicraDataSourceFactory.
void niftk::MITKTrackerDataSourceFactory::ExtractProperties | ( | const IGIDataSourceProperties & | properties, |
std::string & | outputPortName, | ||
std::string & | outputFileName, | ||
int & | baudRate | ||
) | const |
Extracts some parameters, needed to construct niftk::NDITrackers.
|
overridevirtual |
Returns the empty list, as there are no legacy names.
Implements niftk::IGIDataSourceFactoryServiceI.