ITK  5.4.0
Insight Toolkit
itkGaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.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 itkGaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor_h
19 #define itkGaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor_h
20 
22 
23 namespace itk
24 {
32 template <typename TTransform>
35 {
36 public:
38 
44 
46  itkNewMacro(Self);
47 
50 
51  using TransformType = TTransform;
52  using ScalarType = typename TransformType::ScalarType;
53 
57  virtual void SetGaussianSmoothingVarianceForTheUpdateField(ScalarType);
58  itkGetConstReferenceMacro(GaussianSmoothingVarianceForTheUpdateField, ScalarType);
64  virtual void
65  SetGaussianSmoothingVarianceForTheTotalField(const ScalarType);
66  itkGetConstReferenceMacro(GaussianSmoothingVarianceForTheTotalField, ScalarType);
69  void
70  AdaptTransformParameters() override;
71 
72 protected:
75 
76  void
77  PrintSelf(std::ostream & os, Indent indent) const override;
78 
79 private:
80  ScalarType m_GaussianSmoothingVarianceForTheUpdateField{};
81  ScalarType m_GaussianSmoothingVarianceForTheTotalField{};
82 
83  ModifiedTimeType m_GaussianSmoothingVarianceForTheUpdateFieldSetTime{ 0 };
84  ModifiedTimeType m_GaussianSmoothingVarianceForTheTotalFieldSetTime{ 0 };
85 
86 }; // class GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor
87 } // namespace itk
88 
89 #ifndef ITK_MANUAL_INSTANTIATION
90 # include "itkGaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.hxx"
91 #endif
92 
93 #endif /* itkGaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor_h */
itk::GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor::ScalarType
typename TransformType::ScalarType ScalarType
Definition: itkGaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.h:52
itk::ModifiedTimeType
SizeValueType ModifiedTimeType
Definition: itkIntTypes.h:105
itk::GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor
Helper class for multiresolution image registration.
Definition: itkGaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.h:33
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::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:55
itk::DisplacementFieldTransformParametersAdaptor::TransformType
TTransform TransformType
Definition: itkDisplacementFieldTransformParametersAdaptor.h:82
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itkDisplacementFieldTransformParametersAdaptor.h