Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkTrackingDeviceSourceConfigurator.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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 
18 #ifndef MITKTRACKINGDEVICESOURCECONFIGURATOR_H_HEADER_INCLUDED_
19 #define MITKTRACKINGDEVICESOURCECONFIGURATOR_H_HEADER_INCLUDED_
20 
21 #include <MitkIGTExports.h>
22 
23 //itk includes
24 #include <itkObject.h>
25 
26 //mitk IGT includes
30 
31 namespace mitk {
40  class MITKIGT_EXPORT TrackingDeviceSourceConfigurator : public itk::Object
41  {
42  public:
45 
50  bool IsCreateTrackingDeviceSourcePossible();
51 
55  mitk::TrackingDeviceSource::Pointer CreateTrackingDeviceSource();
56 
63 
65  int GetToolNumberInToolStorage(unsigned int outputID);
66 
68  std::string GetToolIdentifierInToolStorage(unsigned int outputID);
69 
73  std::vector<int> GetToolNumbersInToolStorage();
74 
78  std::vector<std::string> GetToolIdentifiersInToolStorage();
79 
83  mitk::NavigationToolStorage::Pointer GetUpdatedNavigationToolStorage();
84 
87  std::string GetErrorMessage();
88 
89  protected:
92 
95  std::string m_ErrorMessage;
97 
98  mitk::NavigationDataObjectVisualizationFilter::Pointer CreateNavigationDataObjectVisualizationFilter(mitk::TrackingDeviceSource::Pointer trackingDeviceSource, mitk::NavigationToolStorage::Pointer navigationTools);
99 
100  };
101 } // namespace mitk
102 #endif /* MITKTrackingDeviceSource_H_HEADER_INCLUDED_ */
itk::SmartPointer< Self > Pointer
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkNewMacro2Param(classname, typea, typeb)
Definition: mitkCommon.h:89
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:53
Interface for all Tracking Devices.
This class offers a factory method for objects of the class TrackingDeviceSource. It initializes this...
mitk::NavigationToolStorage::Pointer m_NavigationTools