ITK  5.2.0
Insight Toolkit
itkCenteredVersorTransformInitializer.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright NumFOCUS
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef itkCenteredVersorTransformInitializer_h
19 #define itkCenteredVersorTransformInitializer_h
20 
23 
24 namespace itk
25 {
39 template <typename TFixedImage, typename TMovingImage>
40 class ITK_TEMPLATE_EXPORT CenteredVersorTransformInitializer
41  : public CenteredTransformInitializer<VersorRigid3DTransform<double>, TFixedImage, TMovingImage>
42 {
43 public:
44  ITK_DISALLOW_COPY_AND_MOVE(CenteredVersorTransformInitializer);
45 
49 
52 
54  itkNewMacro(Self);
55 
58 
60  using TransformType = typename Superclass::TransformType;
61  using TransformPointer = typename Superclass::TransformPointer;
62 
64  static constexpr unsigned int InputSpaceDimension = Superclass::InputSpaceDimension;
65  static constexpr unsigned int OutputSpaceDimension = Superclass::OutputSpaceDimension;
66 
68  using FixedImageType = typename Superclass::FixedImageType;
69  using MovingImageType = typename Superclass::MovingImageType;
70 
71  using FixedImagePointer = typename Superclass::FixedImagePointer;
72  using MovingImagePointer = typename Superclass::MovingImagePointer;
73 
75  using OffsetType = typename Superclass::OffsetType;
76 
78  using InputPointType = typename Superclass::InputPointType;
79 
81  using OutputVectorType = typename Superclass::OutputVectorType;
82 
84  void
85  InitializeTransform() override;
86 
89  itkSetMacro(ComputeRotation, bool);
90  itkGetMacro(ComputeRotation, bool);
91  itkBooleanMacro(ComputeRotation);
93 
94 protected:
96  ~CenteredVersorTransformInitializer() override = default;
97 
98  void
99  PrintSelf(std::ostream & os, Indent indent) const override;
100 
101 private:
103 }; // class CenteredVersorTransformInitializer
104 } // namespace itk
105 
106 #ifndef ITK_MANUAL_INSTANTIATION
107 # include "itkCenteredVersorTransformInitializer.hxx"
108 #endif
109 
110 #endif /* itkCenteredVersorTransformInitializer_h */
itkCenteredTransformInitializer.h
itk::CenteredVersorTransformInitializer::OutputVectorType
typename Superclass::OutputVectorType OutputVectorType
Definition: itkCenteredVersorTransformInitializer.h:81
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::CenteredVersorTransformInitializer::FixedImageType
typename Superclass::FixedImageType FixedImageType
Definition: itkCenteredVersorTransformInitializer.h:68
itk::CenteredVersorTransformInitializer::FixedImagePointer
typename Superclass::FixedImagePointer FixedImagePointer
Definition: itkCenteredVersorTransformInitializer.h:71
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:59
itk::CenteredVersorTransformInitializer::m_ComputeRotation
bool m_ComputeRotation
Definition: itkCenteredVersorTransformInitializer.h:102
itk::CenteredVersorTransformInitializer::OffsetType
typename Superclass::OffsetType OffsetType
Definition: itkCenteredVersorTransformInitializer.h:75
itk::CenteredVersorTransformInitializer
CenteredVersorTransformInitializer is a helper class intended to initialize the center of rotation,...
Definition: itkCenteredVersorTransformInitializer.h:40
itkVersorRigid3DTransform.h
itk::CenteredVersorTransformInitializer::TransformPointer
typename Superclass::TransformPointer TransformPointer
Definition: itkCenteredVersorTransformInitializer.h:61
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::CenteredVersorTransformInitializer::InputPointType
typename Superclass::InputPointType InputPointType
Definition: itkCenteredVersorTransformInitializer.h:78
itk::Object
Base class for most ITK classes.
Definition: itkObject.h:62
itk::CenteredVersorTransformInitializer::TransformType
typename Superclass::TransformType TransformType
Definition: itkCenteredVersorTransformInitializer.h:60
itk::CenteredVersorTransformInitializer::MovingImageType
typename Superclass::MovingImageType MovingImageType
Definition: itkCenteredVersorTransformInitializer.h:69
itk::CenteredTransformInitializer
CenteredTransformInitializer is a helper class intended to initialize the center of rotation and the ...
Definition: itkCenteredTransformInitializer.h:61
itk::CenteredVersorTransformInitializer::MovingImagePointer
typename Superclass::MovingImagePointer MovingImagePointer
Definition: itkCenteredVersorTransformInitializer.h:72