ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.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 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 SetNumberOfControlPointsForTheUpdateField( const ArrayType & );
68 
76  itkGetConstMacro( NumberOfControlPointsForTheUpdateField, ArrayType );
77 
84  void SetMeshSizeForTheUpdateField( const ArrayType & );
85 
93  virtual void SetNumberOfControlPointsForTheTotalField( const ArrayType & );
94 
102  itkGetConstMacro( NumberOfControlPointsForTheTotalField, ArrayType );
103 
110  void SetMeshSizeForTheTotalField( const ArrayType & );
111 
115  void AdaptTransformParameters() override;
116 
117 protected:
120 
121  void PrintSelf( std::ostream & os, Indent indent ) const override;
122 
123 private:
128 
129 
130 }; //class BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor
131 } // namespace itk
132 
133 #ifndef ITK_MANUAL_INSTANTIATION
134 #include "itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.hxx"
135 #endif
136 
137 #endif /* itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor_h */
Light weight base class for most itk classes.
unsigned long ModifiedTimeType
Definition: itkIntTypes.h:104
Control indentation during Print() invocation.
Definition: itkIndent.h:49
DisplacementFieldTransformParametersAdaptor is a helper class intended to definition.