Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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_HEADER_INCLUDED_
15 #define MITKNavigationDataTransformFilter_H_HEADER_INCLUDED_
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 
45 
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 /* MITKNavigationDataTransformFilter_H_HEADER_INCLUDED_ */
NavigationDataTransformFilter applies an user-defined rigid transformation on navigation data objects...
NavigationDataToNavigationDataFilter is the base class of all filters that receive NavigationDatas as...
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKIGT_EXPORT
TransformType::Pointer m_Rigid3DTransform
transform which will be applied on navigation data(s)
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
itk::VersorRigid3DTransform< double > TransformType