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
:
37
enum
TrackingMessageType
38
{
39
TDATA, TRANSFORM, QTDATA, UNKNOWN
40
};
41
42
mitkClassMacro
(
IGTLTrackingDataDeviceSource
,
IGTLDeviceSource
);
43
itkFactorylessNewMacro(Self);
44
itkCloneMacro(Self);
46
itkSetMacro(trackingDataType, TrackingMessageType);
47
itkGetConstMacro(trackingDataType, TrackingMessageType);
48
49
protected
:
50
IGTLTrackingDataDeviceSource
();
51
~
IGTLTrackingDataDeviceSource
()
override
;
52
53
TrackingMessageType
m_trackingDataType
;
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
src
MITK
Modules
OpenIGTLink
DeviceSources
mitkIGTLTrackingDataDeviceSource.h
Generated on Wed May 17 2023 16:26:07 for Medical Imaging Interaction Toolkit by
1.8.17