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