NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | List of all members
niftk::MITKTrackerDataSourceFactory Class Referenceabstract

Abstract factory class to create MITKTrackerDataSources. More...

Inheritance diagram for niftk::MITKTrackerDataSourceFactory:
Inheritance graph
[legend]
Collaboration diagram for niftk::MITKTrackerDataSourceFactory:
Collaboration graph
[legend]

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 IGIConfigurationDialogCreateConfigurationDialog (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 IGIInitialisationDialogCreateInitialisationDialog (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 ()
 

Detailed Description

Abstract factory class to create MITKTrackerDataSources.

Constructor & Destructor Documentation

niftk::MITKTrackerDataSourceFactory::MITKTrackerDataSourceFactory ( QString  factoryName)
niftk::MITKTrackerDataSourceFactory::~MITKTrackerDataSourceFactory ( )
virtual

Member Function Documentation

IGIConfigurationDialog * niftk::MITKTrackerDataSourceFactory::CreateConfigurationDialog ( QWidget *  parent,
niftk::IGIDataSourceI::Pointer  service 
) const
overridevirtual
See also
IGIDataSourceFactoryServiceI::CreateConfigurationDialog()

All MITK trackers allow the lag to be set.

Implements niftk::IGIDataSourceFactoryServiceI.

virtual IGIDataSourceI::Pointer niftk::MITKTrackerDataSourceFactory::CreateService ( mitk::DataStorage::Pointer  dataStorage,
const IGIDataSourceProperties properties 
) const
overridepure virtual
void niftk::MITKTrackerDataSourceFactory::ExtractProperties ( const IGIDataSourceProperties properties,
std::string outputPortName,
std::string outputFileName,
int baudRate 
) const

Extracts some parameters, needed to construct niftk::NDITrackers.

QList< QString > niftk::MITKTrackerDataSourceFactory::GetLegacyClassNames ( ) const
overridevirtual

Returns the empty list, as there are no legacy names.

Implements niftk::IGIDataSourceFactoryServiceI.


The documentation for this class was generated from the following files: