MITK-IGT
IGT Extension of MITK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
mitkNavigationDataDisplacementFilter.h
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found in the LICENSE file.
10
11============================================================================*/
12
13
14#ifndef mitkNavigationDataDisplacementFilter_h
15#define mitkNavigationDataDisplacementFilter_h
16
18
19namespace mitk
20{
30 {
31 public:
35 mitkSetVectorMacro(Offset, mitk::Vector3D);
36 mitkGetVectorMacro(Offset, mitk::Vector3D);
37 itkSetMacro(Transform6DOF, bool);
38 itkGetMacro(Transform6DOF, bool);
39
40 void SetTransformation( mitk::AffineTransform3D::Pointer transform );
41
48 void SetParameters(const mitk::PropertyList* p) override;
49
59 mitk::PropertyList::ConstPointer GetParameters() const override;
60
61 protected:
64
70 void GenerateData() override;
71
72 mitk::Vector3D m_Offset;
73
75
76 mitk::NavigationData::Pointer m_Transformation;
77
78 };
79} // namespace mitk
80#endif
NavigationDataDisplacementFilter adds an offset to navigation data objects.
mitkSetVectorMacro(Offset, mitk::Vector3D)
Get Offset parameter.
mitk::Vector3D m_Offset
offset that is added to all inputs
mitkClassMacro(NavigationDataDisplacementFilter, NavigationDataToNavigationDataFilter)
mitkGetVectorMacro(Offset, mitk::Vector3D)
Set Offset parameter.
NavigationDataToNavigationDataFilter is the base class of all filters that receive NavigationDatas as...
IGT Exceptions.