Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkIGTLTrackingDataDeviceSource.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 #ifndef mitkIGTLTrackingDataDeviceSource_h
14 #define mitkIGTLTrackingDataDeviceSource_h
15 
16 #include "mitkIGTLDeviceSource.h"
17 
18 namespace mitk {
33  class MITKOPENIGTLINK_EXPORT IGTLTrackingDataDeviceSource : public IGTLDeviceSource
34  {
35  public:
38  {
39  TDATA, TRANSFORM, QTDATA, UNKNOWN
40  };
41 
43  itkFactorylessNewMacro(Self);
44  itkCloneMacro(Self);
46  itkSetMacro(trackingDataType, TrackingMessageType);
47  itkGetConstMacro(trackingDataType, TrackingMessageType);
48 
49  protected:
51  ~IGTLTrackingDataDeviceSource() override;
52 
54 
63  void GenerateData() override;
64  };
65 } // namespace mitk
66 #endif
mitk::IGTLTrackingDataDeviceSource
Connects a mitk::IGTLDevice to a MITK-OpenIGTLink-Message-Filter-Pipeline.
Definition: mitkIGTLTrackingDataDeviceSource.h:33
mitk::IGTLTrackingDataDeviceSource::TrackingMessageType
TrackingMessageType
Definition: mitkIGTLTrackingDataDeviceSource.h:37
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::IGTLDeviceSource
Connects a mitk::IGTLDevice to a MITK-OpenIGTLink-Message-Filter-Pipeline.
Definition: mitkIGTLDeviceSource.h:30
mitkIGTLDeviceSource.h
mitk::IGTLTrackingDataDeviceSource::m_trackingDataType
TrackingMessageType m_trackingDataType
Definition: mitkIGTLTrackingDataDeviceSource.h:53