Medical Imaging Interaction Toolkit  2023.04.00
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
mitkSurfaceSource.h
mitk::TrackingDeviceData
Definition: mitkTrackingTypes.h:34
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::TrackingVolumeGenerator
An instance of this class represents a generator wich generates the tracking volume of a given tracki...
Definition: mitkTrackingVolumeGenerator.h:43
mitk::BaseDataSource
Superclass of all classes generating some kind of mitk::BaseData.
Definition: mitkBaseDataSource.h:71
mitk::SurfaceSource
Superclass of all classes generating surfaces (instances of class Surface) as output.
Definition: mitkSurfaceSource.h:33
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitkTrackingDevice.h
mitk::TrackingDeviceType
std::string TrackingDeviceType
Definition: mitkTrackingTypes.h:22
mitkTrackingTypes.h
mitk::TrackingVolumeGenerator::m_Data
mitk::TrackingDeviceData m_Data
Holds the current tracking device data object, which is used to generate the volume.
Definition: mitkTrackingVolumeGenerator.h:97