Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkTrackingDeviceTypeInformation.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 #ifndef TRACKINGDEVICETYPEINFORMATION_H_INCLUDED
18 #define TRACKINGDEVICETYPEINFORMATION_H_INCLUDED
19 
20 #include <MitkIGTExports.h>
21 
22 #include <string>
23 
24 #include "mitkTrackingDevice.h"
27 
28 namespace mitk
29 {
38  class MITKIGT_EXPORT TrackingDeviceTypeInformation
39  {
40  public:
41 
43 
44  virtual TrackingDeviceSource::Pointer CreateTrackingDeviceSource(
45  mitk::TrackingDevice::Pointer trackingDevice,
47  std::string* errorMessage,
48  std::vector<int>* toolCorrespondencesInToolStorage) = 0;
49 
50  std::string GetTrackingDeviceName(){ return m_DeviceName; }
51 
52  // In this vector, all TrackingDeviceData which belong to this type are stored.
53  std::vector<TrackingDeviceData> m_TrackingDeviceData;
54 
55  protected:
56  std::string m_DeviceName;
57  };
58 } // namespace mitk
59 
60 #endif //TRACKINGDEVICETYPEINFORMATION_H_INCLUDED
itk::SmartPointer< Self > Pointer
DataCollection - Class to facilitate loading/accessing structured data.
std::vector< TrackingDeviceData > m_TrackingDeviceData