Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 (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 
14 #ifndef MITKTRACKINGVOLUMEGENERATOR_H
15 #define MITKTRACKINGVOLUMEGENERATOR_H
16 
17 #include "MitkIGTExports.h"
18 
19 #include <mitkSurfaceSource.h>
20 #include "mitkTrackingTypes.h"
21 #include "mitkTrackingDevice.h"
22 
23 namespace mitk
24 {
43 class MITKIGT_EXPORT TrackingVolumeGenerator : public mitk::SurfaceSource
44  {
45  public:
46 
48 
49  itkFactorylessNewMacro(Self);
50 
51  itkCloneMacro(Self);
52 
63  void SetTrackingDeviceType(mitk::TrackingDeviceType deviceType);
64 
69  mitk::TrackingDeviceType GetTrackingDeviceType() const;
70 
71 
76  void SetTrackingDeviceData(mitk::TrackingDeviceData deviceData);
77 
81  mitk::TrackingDeviceData GetTrackingDeviceData() const;
82 
83 
90  void SetTrackingDevice(mitk::TrackingDevice::Pointer tracker);
91 
92 
93  protected:
95 
98 
99  void GenerateData() override;
100  };
101 }
102 #endif // MITKTRACKINGVOLUMEGENERATOR_H
103 
104 
Superclass of all classes generating surfaces (instances of class Surface) as output.
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:40
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...