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 
18 #include "MitkIGTExports.h"
19 
20 
21 namespace mitk {
22 
30  {
31  public:
33 
34  itkNewMacro(Self);
35 
39  itkSetMacro(NumerOfValues,int);
40 
41  protected:
44 
45  void GenerateData() override;
46 
47  std::map< int, std::map< int , mitk::Point3D> > m_LastValuesList;
48 
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