Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
mitkTrackingDeviceWidgetCollection.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkTrackingDeviceWidgetCollection_h
14 #define mitkTrackingDeviceWidgetCollection_h
15 
16 #include <MitkIGTUIExports.h>
17 
20 
21 // Microservices
22 #include <mitkServiceInterface.h>
23 #include <usServiceRegistration.h>
24 
25 
26 namespace mitk {
34  class MITKIGTUI_EXPORT TrackingDeviceWidgetCollection
35  {
36  public:
37 
40 
45  virtual void RegisterAsMicroservice();
46 
50  virtual void UnRegisterMicroservice();
51 
52  void RegisterTrackingDeviceWidget(TrackingDeviceType type, QmitkAbstractTrackingDeviceWidget* widget);
53 
54  QmitkAbstractTrackingDeviceWidget* GetTrackingDeviceWidgetClone(TrackingDeviceType type);
55 
56  private:
57 
59 
60  std::vector<std::pair<TrackingDeviceType, QmitkAbstractTrackingDeviceWidget*> > m_TrackingDeviceWidgets;
61  };
62 } // namespace mitk
63 MITK_DECLARE_SERVICE_INTERFACE(mitk::TrackingDeviceWidgetCollection, "org.mitk.services.TrackingDeviceWidgetCollection")
64 #endif
mitkServiceInterface.h
QmitkAbstractTrackingDeviceWidget.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitkTrackingDeviceTypeInformation.h
mitk::TrackingDeviceWidgetCollection
This class is a collection for all TrackingDeviceWidgets (derived from AbstractTrackingDeviceWidget) ...
Definition: mitkTrackingDeviceWidgetCollection.h:34
usServiceRegistration.h
us::ServiceRegistration
Definition: usServiceRegistration.h:48
MITK_DECLARE_SERVICE_INTERFACE
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
Definition: mitkServiceInterface.h:26
mitk::TrackingDeviceType
std::string TrackingDeviceType
Definition: mitkTrackingTypes.h:22
QmitkAbstractTrackingDeviceWidget
Abstract class to configure a tracking device. Inherited widgets should be registered in the Microser...
Definition: QmitkAbstractTrackingDeviceWidget.h:52