Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkUnspecifiedTrackingTypeInformation.cpp
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 
18 
19 #include "mitkIGTHardwareException.h"
20 
21 namespace mitk
22 {
24  {
25  return "Tracking System Not Specified";
26  }
27 
29  {
30  TrackingDeviceData data = { UnspecifiedTrackingTypeInformation::GetTrackingDeviceName(), "Unspecified System", "cube", "X" };
31  return data;
32  }
33  // Careful when changing the "invalid" device: The mitkTrackingTypeTest is using it's data.
35  {
36  TrackingDeviceData data = { UnspecifiedTrackingTypeInformation::GetTrackingDeviceName(), "Invalid Tracking System", "", "X" };
37  return data;
38  }
39 
41  {
45  }
46 
48  {
49  }
50 
52  mitk::TrackingDevice::Pointer trackingDevice,
54  std::string* errorMessage,
55  std::vector<int>* toolCorrespondencesInToolStorage)
56  {
57  return nullptr;
58  }
59 }
itk::SmartPointer< Self > Pointer
DataCollection - Class to facilitate loading/accessing structured data.
virtual TrackingDeviceSource::Pointer CreateTrackingDeviceSource(mitk::TrackingDevice::Pointer, mitk::NavigationToolStorage::Pointer, std::string *, std::vector< int > *)
std::vector< TrackingDeviceData > m_TrackingDeviceData