Medical Imaging Interaction Toolkit
2023.12.00
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 35 of file mitkTrackingDeviceTypeCollection.h.
mitk::TrackingDeviceTypeCollection::TrackingDeviceTypeCollection | ( | ) |
mitk::TrackingDeviceTypeCollection::~TrackingDeviceTypeCollection | ( | ) |
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.
std::vector<TrackingDeviceData> mitk::TrackingDeviceTypeCollection::GetDeviceDataForLine | ( | TrackingDeviceType | type | ) |
/brief Returns all devices compatibel to the given Line of Devices
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.
TrackingDeviceTypeInformation* mitk::TrackingDeviceTypeCollection::GetTrackingDeviceTypeInformation | ( | TrackingDeviceType | type | ) |
std::vector<std::string> mitk::TrackingDeviceTypeCollection::GetTrackingDeviceTypeNames | ( | ) |
|
virtual |
Registers this object as a Microservice, making it available to every module and/or plugin. To unregister, call UnregisterMicroservice().
void mitk::TrackingDeviceTypeCollection::RegisterTrackingDeviceType | ( | TrackingDeviceTypeInformation * | typeInformation | ) |
|
virtual |
Registers this object as a Microservice, making it available to every module and/or plugin.