Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
mitkNavigationDataSmoothingFilter.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 mitkNavigationDataSmoothingFilter_h
15
#define mitkNavigationDataSmoothingFilter_h
16
17
#include <
mitkNavigationDataToNavigationDataFilter.h
>
18
#include "MitkIGTExports.h"
19
20
21
namespace
mitk
{
22
29
class
MITKIGT_EXPORT
NavigationDataSmoothingFilter
:
public
NavigationDataToNavigationDataFilter
30
{
31
public
:
32
mitkClassMacro
(
NavigationDataSmoothingFilter
,
NavigationDataToNavigationDataFilter
);
33
34
itkNewMacro(Self);
35
39
itkSetMacro(NumerOfValues,
int
);
40
41
protected
:
42
NavigationDataSmoothingFilter
();
43
~
NavigationDataSmoothingFilter
()
override
;
44
45
void
GenerateData()
override
;
46
47
std::map< int, std::map< int , mitk::Point3D> >
m_LastValuesList
;
48
49
int
m_NumerOfValues
;
50
51
void
InitializeLastValuesList();
52
53
void
AddValue(
int
outputID,
mitk::Point3D
value);
54
55
mitk::Point3D
GetMean(
int
outputID);
56
57
};
58
}
// namespace mitk
59
60
#endif
mitk::NavigationDataToNavigationDataFilter
NavigationDataToNavigationDataFilter is the base class of all filters that receive NavigationDatas as...
Definition:
mitkNavigationDataToNavigationDataFilter.h:32
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::NavigationDataSmoothingFilter
This filter smoothes the navigation data by calculating the mean value of the last few input values a...
Definition:
mitkNavigationDataSmoothingFilter.h:29
mitk::Point< ScalarType, 3 >
mitkNavigationDataToNavigationDataFilter.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitk::NavigationDataSmoothingFilter::m_LastValuesList
std::map< int, std::map< int, mitk::Point3D > > m_LastValuesList
Definition:
mitkNavigationDataSmoothingFilter.h:47
mitk::NavigationDataSmoothingFilter::m_NumerOfValues
int m_NumerOfValues
Definition:
mitkNavigationDataSmoothingFilter.h:49
src
MITK
Modules
IGT
Algorithms
mitkNavigationDataSmoothingFilter.h
Generated on Thu Nov 30 2023 15:58:54 for Medical Imaging Interaction Toolkit by
1.8.17