ITK  5.2.0
Insight Toolkit
itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.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 itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor_h
19 #define itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor_h
20 
22 
23 namespace itk
24 {
32 template <typename TTransform>
35 {
36 public:
38 
44 
46  itkNewMacro(Self);
47 
51 
52  using TransformType = TTransform;
53  using ScalarType = typename TransformType::ScalarType;
54  using SplineOrderType = typename TransformType::SplineOrderType;
55  using ArrayType = typename TransformType::ArrayType;
56 
58  static constexpr unsigned int SpaceDimension = TransformType::Dimension;
59 
67  virtual void
68  SetNumberOfControlPointsForTheUpdateField(const ArrayType &);
69 
77  itkGetConstMacro(NumberOfControlPointsForTheUpdateField, ArrayType);
78 
85  void
86  SetMeshSizeForTheUpdateField(const ArrayType &);
87 
95  virtual void
96  SetNumberOfControlPointsForTheTotalField(const ArrayType &);
97 
105  itkGetConstMacro(NumberOfControlPointsForTheTotalField, ArrayType);
106 
113  void
114  SetMeshSizeForTheTotalField(const ArrayType &);
115 
119  void
120  AdaptTransformParameters() override;
121 
122 protected:
125 
126  void
127  PrintSelf(std::ostream & os, Indent indent) const override;
128 
129 private:
134 
135 
136 }; // class BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor
137 } // namespace itk
138 
139 #ifndef ITK_MANUAL_INSTANTIATION
140 # include "itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.hxx"
141 #endif
142 
143 #endif /* itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor_h */
itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor::m_NumberOfControlPointsForTheUpdateFieldSetTime
ModifiedTimeType m_NumberOfControlPointsForTheUpdateFieldSetTime
Definition: itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.h:132
itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor::m_NumberOfControlPointsForTheUpdateField
ArrayType m_NumberOfControlPointsForTheUpdateField
Definition: itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.h:130
itk::ModifiedTimeType
SizeValueType ModifiedTimeType
Definition: itkIntTypes.h:102
itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor::SplineOrderType
typename TransformType::SplineOrderType SplineOrderType
Definition: itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.h:54
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::DisplacementFieldTransformParametersAdaptor
DisplacementFieldTransformParametersAdaptor is a helper class intended to definition.
Definition: itkDisplacementFieldTransformParametersAdaptor.h:64
itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor::m_NumberOfControlPointsForTheTotalField
ArrayType m_NumberOfControlPointsForTheTotalField
Definition: itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.h:131
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:59
itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor
Helper class for multiresolution image registration.
Definition: itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.h:33
itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor::ScalarType
typename TransformType::ScalarType ScalarType
Definition: itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.h:53
itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor::TransformType
TTransform TransformType
Definition: itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.h:52
itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor::m_NumberOfControlPointsForTheTotalFieldSetTime
ModifiedTimeType m_NumberOfControlPointsForTheTotalFieldSetTime
Definition: itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.h:133
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itkDisplacementFieldTransformParametersAdaptor.h
itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor::ArrayType
typename TransformType::ArrayType ArrayType
Definition: itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.h:55
itk::GTest::TypedefsAndConstructors::Dimension2::Dimension
constexpr unsigned int Dimension
Definition: itkGTestTypedefsAndConstructors.h:44