Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
mitkTrackingDeviceSource.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 mitkTrackingDeviceSource_h
14
#define mitkTrackingDeviceSource_h
15
16
#include <
mitkNavigationDataSource.h
>
17
#include "
mitkTrackingDevice.h
"
18
19
namespace
mitk
{
38
class
MITKIGT_EXPORT
TrackingDeviceSource
:
public
NavigationDataSource
39
{
40
public
:
41
mitkClassMacro
(
TrackingDeviceSource
,
NavigationDataSource
);
42
itkFactorylessNewMacro(Self);
43
itkCloneMacro(Self);
44
48
virtual
void
SetTrackingDevice(
mitk::TrackingDevice
* td);
49
53
itkGetConstObjectMacro(
TrackingDevice
,
mitk::TrackingDevice
);
54
62
void
Connect();
63
70
void
Disconnect();
71
80
void
StartTracking();
81
88
void
StopTracking();
89
94
virtual
bool
IsConnected();
95
100
virtual
bool
IsTracking();
101
105
void
UpdateOutputInformation()
override
;
106
107
protected
:
108
TrackingDeviceSource
();
109
~
TrackingDeviceSource
()
override
;
110
119
void
GenerateData()
override
;
120
126
void
CreateOutputs();
127
128
mitk::TrackingDevice::Pointer
m_TrackingDevice
;
129
};
130
}
// namespace mitk
131
#endif
mitkNavigationDataSource.h
mitk::TrackingDeviceSource::m_TrackingDevice
mitk::TrackingDevice::Pointer m_TrackingDevice
the tracking device that is used as a source for this filter object
Definition:
mitkTrackingDeviceSource.h:128
mitk::TrackingDeviceSource
Connects a mitk::TrackingDevice to a MITK-IGT NavigationData-Filterpipeline.
Definition:
mitkTrackingDeviceSource.h:38
mitk::NavigationDataSource
Navigation Data source.
Definition:
mitkNavigationDataSource.h:40
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
RenderingTests.dox:1
mitk::TrackingDevice
Interface for all Tracking Devices.
Definition:
mitkTrackingDevice.h:34
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitkTrackingDevice.h
src
MITK
Modules
IGT
DataManagement
mitkTrackingDeviceSource.h
Generated on Wed May 17 2023 16:26:12 for Medical Imaging Interaction Toolkit by
1.8.17