Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
This class is a collection for information of all Tracking Device Types (derived from abstract TrackingDeviceTypeInformation) The Collection is avaiable via Microservice. If you want to add your own tracking device (e.g. to the Tracking Toolbox), you should register information about your tracking device in this collection using the RegisterTrackingDeviceType function. More...
#include <mitkTrackingDeviceTypeCollection.h>
Public Member Functions | |
TrackingDeviceTypeCollection () | |
~TrackingDeviceTypeCollection () | |
virtual void | RegisterAsMicroservice () |
Registers this object as a Microservice, making it available to every module and/or plugin. To unregister, call UnregisterMicroservice(). More... | |
virtual void | UnRegisterMicroservice () |
Registers this object as a Microservice, making it available to every module and/or plugin. More... | |
void | RegisterTrackingDeviceType (TrackingDeviceTypeInformation *typeInformation) |
TrackingDeviceTypeInformation * | GetTrackingDeviceTypeInformation (TrackingDeviceType type) |
std::vector< std::string > | GetTrackingDeviceTypeNames () |
std::vector< TrackingDeviceData > | GetDeviceDataForLine (TrackingDeviceType type) |
TrackingDeviceData | GetFirstCompatibleDeviceDataForLine (TrackingDeviceType type) |
TrackingDeviceData | GetDeviceDataByName (const std::string &modelName) |
This class is a collection for information of all Tracking Device Types (derived from abstract TrackingDeviceTypeInformation) The Collection is avaiable via Microservice. If you want to add your own tracking device (e.g. to the Tracking Toolbox), you should register information about your tracking device in this collection using the RegisterTrackingDeviceType function.
Documentation: The Microservice provides all compatible TrackingDeviceDatas for a requested tracking device type or a list of all available Tracking Devices.
Definition at line 39 of file mitkTrackingDeviceTypeCollection.h.
mitk::TrackingDeviceTypeCollection::TrackingDeviceTypeCollection | ( | ) |
Definition at line 26 of file mitkTrackingDeviceTypeCollection.cpp.
mitk::TrackingDeviceTypeCollection::~TrackingDeviceTypeCollection | ( | ) |
Definition at line 32 of file mitkTrackingDeviceTypeCollection.cpp.
mitk::TrackingDeviceData mitk::TrackingDeviceTypeCollection::GetDeviceDataByName | ( | const std::string & | modelName | ) |
/brief Returns the device Data set matching the model name or the invalid device, if none was found.
Definition at line 101 of file mitkTrackingDeviceTypeCollection.cpp.
References mitk::UnspecifiedTrackingTypeInformation::GetDeviceDataInvalid().
std::vector< mitk::TrackingDeviceData > mitk::TrackingDeviceTypeCollection::GetDeviceDataForLine | ( | TrackingDeviceType | type | ) |
/brief Returns all devices compatibel to the given Line of Devices
Definition at line 78 of file mitkTrackingDeviceTypeCollection.cpp.
mitk::TrackingDeviceData mitk::TrackingDeviceTypeCollection::GetFirstCompatibleDeviceDataForLine | ( | TrackingDeviceType | type | ) |
/brief Returns the first TrackingDeviceData matching a given line. Useful for backward compatibility with the old way to manage devices.
Definition at line 91 of file mitkTrackingDeviceTypeCollection.cpp.
References mitk::UnspecifiedTrackingTypeInformation::GetDeviceDataInvalid().
Referenced by mitk::TrackingVolumeGenerator::SetTrackingDevice(), mitk::TrackingVolumeGenerator::SetTrackingDeviceType(), and mitk::TrackingDevice::SetType().
mitk::TrackingDeviceTypeInformation * mitk::TrackingDeviceTypeCollection::GetTrackingDeviceTypeInformation | ( | mitk::TrackingDeviceType | type | ) |
Definition at line 65 of file mitkTrackingDeviceTypeCollection.cpp.
Referenced by mitk::TrackingDeviceSourceConfigurator::CreateTrackingDeviceSource().
std::vector< std::string > mitk::TrackingDeviceTypeCollection::GetTrackingDeviceTypeNames | ( | ) |
Definition at line 117 of file mitkTrackingDeviceTypeCollection.cpp.
Referenced by QmitkTrackingDeviceConfigurationWidget::RefreshTrackingDeviceCollection(), and QmitkNavigationToolCreationWidget::RefreshTrackingDeviceCollection().
|
virtual |
Registers this object as a Microservice, making it available to every module and/or plugin. To unregister, call UnregisterMicroservice().
Definition at line 44 of file mitkTrackingDeviceTypeCollection.cpp.
References us::GetModuleContext().
Referenced by mitk::IGTActivator::Load().
void mitk::TrackingDeviceTypeCollection::RegisterTrackingDeviceType | ( | TrackingDeviceTypeInformation * | typeInformation | ) |
Definition at line 57 of file mitkTrackingDeviceTypeCollection.cpp.
Referenced by mitk::IGTActivator::Load().
|
virtual |
Registers this object as a Microservice, making it available to every module and/or plugin.
Definition at line 51 of file mitkTrackingDeviceTypeCollection.cpp.
Referenced by mitk::IGTActivator::Unload().