ITK  6.0.0
Insight Toolkit
itkBSplineExponentialDiffeomorphicTransformParametersAdaptor.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  * https://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 itkBSplineExponentialDiffeomorphicTransformParametersAdaptor_h
19 #define itkBSplineExponentialDiffeomorphicTransformParametersAdaptor_h
20 
22 
23 namespace itk
24 {
32 template <typename TTransform>
35 {
36 public:
38 
44 
46  itkNewMacro(Self);
47 
49  itkOverrideGetNameOfClassMacro(BSplineExponentialDiffeomorphicTransformParametersAdaptor);
50 
51  using TransformType = TTransform;
52  using ScalarType = typename TransformType::ScalarType;
53  using SplineOrderType = typename TransformType::SplineOrderType;
54  using ArrayType = typename TransformType::ArrayType;
55 
57  static constexpr unsigned int SpaceDimension = TransformType::Dimension;
58 
66  virtual void
67  SetNumberOfControlPointsForTheConstantVelocityField(const ArrayType &);
68 
76  itkGetConstMacro(NumberOfControlPointsForTheConstantVelocityField, ArrayType);
77 
85  virtual void
86  SetNumberOfControlPointsForTheUpdateField(const ArrayType &);
87 
95  itkGetConstMacro(NumberOfControlPointsForTheUpdateField, ArrayType);
96 
103  void
104  SetMeshSizeForTheConstantVelocityField(const ArrayType &);
105 
112  void
113  SetMeshSizeForTheUpdateField(const ArrayType &);
114 
118  void
119  AdaptTransformParameters() override;
120 
121 protected:
124 
125  void
126  PrintSelf(std::ostream & os, Indent indent) const override;
127 
128 private:
129  ArrayType m_NumberOfControlPointsForTheConstantVelocityField{};
130  ModifiedTimeType m_NumberOfControlPointsForTheConstantVelocityFieldSetTime{};
131 
132  ArrayType m_NumberOfControlPointsForTheUpdateField{};
133  ModifiedTimeType m_NumberOfControlPointsForTheUpdateFieldSetTime{};
134 
135 }; // class BSplineExponentialDiffeomorphicTransformParametersAdaptor
136 } // namespace itk
137 
138 #ifndef ITK_MANUAL_INSTANTIATION
139 # include "itkBSplineExponentialDiffeomorphicTransformParametersAdaptor.hxx"
140 #endif
141 
142 #endif /* itkBSplineExponentialDiffeomorphicTransformParametersAdaptor_h */
itk::ModifiedTimeType
SizeValueType ModifiedTimeType
Definition: itkIntTypes.h:105
itk::BSplineExponentialDiffeomorphicTransformParametersAdaptor::SplineOrderType
typename TransformType::SplineOrderType SplineOrderType
Definition: itkBSplineExponentialDiffeomorphicTransformParametersAdaptor.h:53
itk::BSplineExponentialDiffeomorphicTransformParametersAdaptor
Helper class for multiresolution image registration.
Definition: itkBSplineExponentialDiffeomorphicTransformParametersAdaptor.h:33
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:55
itk::BSplineExponentialDiffeomorphicTransformParametersAdaptor::ArrayType
typename TransformType::ArrayType ArrayType
Definition: itkBSplineExponentialDiffeomorphicTransformParametersAdaptor.h:54
itk::BSplineExponentialDiffeomorphicTransformParametersAdaptor::TransformType
TTransform TransformType
Definition: itkBSplineExponentialDiffeomorphicTransformParametersAdaptor.h:51
itk::BSplineExponentialDiffeomorphicTransformParametersAdaptor::ScalarType
typename TransformType::ScalarType ScalarType
Definition: itkBSplineExponentialDiffeomorphicTransformParametersAdaptor.h:52
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29
itkConstantVelocityFieldTransformParametersAdaptor.h
itk::ConstantVelocityFieldTransformParametersAdaptor
ConstantVelocityFieldTransformParametersAdaptor is a helper class intended to definition.
Definition: itkConstantVelocityFieldTransformParametersAdaptor.h:64
itk::GTest::TypedefsAndConstructors::Dimension2::Dimension
constexpr unsigned int Dimension
Definition: itkGTestTypedefsAndConstructors.h:44