Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkTrackingVolumeGenerator.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 MITKTRACKINGVOLUMEGENERATOR_H
19 #define MITKTRACKINGVOLUMEGENERATOR_H
20 
21 #include "MitkIGTExports.h"
22 
23 #include <mitkSurfaceSource.h>
24 #include "mitkTrackingTypes.h"
25 #include "mitkTrackingDevice.h"
26 
27 namespace mitk
28 {
47 class MITKIGT_EXPORT TrackingVolumeGenerator : public mitk::SurfaceSource
48  {
49  public:
50 
52  itkFactorylessNewMacro(Self)
53  itkCloneMacro(Self)
54 
55 
56 
66  void SetTrackingDeviceType(mitk::TrackingDeviceType deviceType);
67 
72  mitk::TrackingDeviceType GetTrackingDeviceType() const;
73 
74 
79  void SetTrackingDeviceData(mitk::TrackingDeviceData deviceData);
80 
84  mitk::TrackingDeviceData GetTrackingDeviceData() const;
85 
86 
93  void SetTrackingDevice(mitk::TrackingDevice::Pointer tracker);
94 
95 
96  protected:
98 
101 
102  void GenerateData() override;
103  };
104 }
105 #endif // MITKTRACKINGVOLUMEGENERATOR_H
106 
107 
Superclass of all classes generating surfaces (instances of class Surface) as output.
itk::SmartPointer< Self > Pointer
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
std::string TrackingDeviceType
mitk::TrackingDeviceData m_Data
Holds the current tracking device data object, which is used to generate the volume.
An instance of this class represents a generator wich generates the tracking volume of a given tracki...