ITK  4.9.0
Insight Segmentation and Registration Toolkit
itkCenteredVersorTransformInitializer.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
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,
40  typename TMovingImage >
43  VersorRigid3DTransform< double >,
44  TFixedImage, TMovingImage >
45 {
46 public:
51  TFixedImage, TMovingImage > Superclass;
52 
55 
57  itkNewMacro(Self);
58 
61 
65 
67  itkStaticConstMacro(InputSpaceDimension, unsigned int,
69  itkStaticConstMacro(OutputSpaceDimension, unsigned int,
72 
76 
79 
82 
85 
88 
90  void InitializeTransform() ITK_OVERRIDE;
91 
94  itkSetMacro(ComputeRotation, bool);
95  itkGetMacro(ComputeRotation, bool);
96  itkBooleanMacro(ComputeRotation);
98 
99 protected:
101  ~CenteredVersorTransformInitializer(){}
102 
103  void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
104 
105 private:
106  CenteredVersorTransformInitializer(const Self &) ITK_DELETE_FUNCTION;
107  void operator=(const Self &) ITK_DELETE_FUNCTION;
108 
110 }; //class CenteredVersorTransformInitializer
111 } // namespace itk
112 
113 #ifndef ITK_MANUAL_INSTANTIATION
114 #include "itkCenteredVersorTransformInitializer.hxx"
115 #endif
116 
117 #endif /* itkCenteredVersorTransformInitializer_h */
CenteredTransformInitializer< VersorRigid3DTransform< double >, TFixedImage, TMovingImage > Superclass
Light weight base class for most itk classes.
VersorRigid3DTransform of a vector space (e.g. space coordinates)
void PrintSelf(std::ostream &os, Indent indent) const override
Control indentation during Print() invocation.
Definition: itkIndent.h:49
CenteredVersorTransformInitializer is a helper class intended to initialize the center of rotation...
Base class for most ITK classes.
Definition: itkObject.h:57
CenteredTransformInitializer is a helper class intended to initialize the center of rotation and the ...