Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkNavigationDataTransformFilter.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 mitkNavigationDataTransformFilter_h
15 #define mitkNavigationDataTransformFilter_h
16 
18 
19 #include <itkVersorRigid3DTransform.h>
20 
21 
22 namespace mitk {
23 
31  {
32 
33  public:
34 
35  // The epsilon ITK uses to check the orthogonality of rotation matrices
36  // is too small for float precision so we must use double precision to
37  // compose the transforms and convert back to float (mitk::ScalarType) at
38  // the end
39  typedef itk::VersorRigid3DTransform< double > TransformType;
40 
42  itkFactorylessNewMacro(Self);
43  itkCloneMacro(Self);
44 
48  itkSetObjectMacro(Rigid3DTransform, TransformType);
49  itkGetConstObjectMacro(Rigid3DTransform, TransformType);
50 
64  itkSetMacro(Precompose, bool);
65  itkGetMacro(Precompose, bool);
66  itkBooleanMacro(Precompose);
67 
68  protected:
69 
72 
78  void GenerateData() override;
79 
80  TransformType::Pointer m_Rigid3DTransform;
82  };
83 } // namespace mitk
84 
85 #endif
mitk::NavigationDataTransformFilter::m_Precompose
bool m_Precompose
Definition: mitkNavigationDataTransformFilter.h:81
mitk::NavigationDataTransformFilter::TransformType
itk::VersorRigid3DTransform< double > TransformType
Definition: mitkNavigationDataTransformFilter.h:39
mitk::NavigationDataToNavigationDataFilter
NavigationDataToNavigationDataFilter is the base class of all filters that receive NavigationDatas as...
Definition: mitkNavigationDataToNavigationDataFilter.h:32
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::NavigationDataTransformFilter::m_Rigid3DTransform
TransformType::Pointer m_Rigid3DTransform
transform which will be applied on navigation data(s)
Definition: mitkNavigationDataTransformFilter.h:80
mitk::NavigationDataTransformFilter
NavigationDataTransformFilter applies an user-defined rigid transformation on navigation data objects...
Definition: mitkNavigationDataTransformFilter.h:30
mitkNavigationDataToNavigationDataFilter.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36