ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkGaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.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 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 
51 
52  using TransformType = TTransform;
53  using ScalarType = typename TransformType::ScalarType;
54 
58  virtual void SetGaussianSmoothingVarianceForTheUpdateField( ScalarType );
59  itkGetConstReferenceMacro( GaussianSmoothingVarianceForTheUpdateField, ScalarType );
61 
65  virtual void SetGaussianSmoothingVarianceForTheTotalField( const ScalarType );
66  itkGetConstReferenceMacro( GaussianSmoothingVarianceForTheTotalField, ScalarType );
68 
69  void AdaptTransformParameters() override;
70 
71 protected:
74 
75  void PrintSelf( std::ostream & os, Indent indent ) const override;
76 
77 private:
80 
81  ModifiedTimeType m_GaussianSmoothingVarianceForTheUpdateFieldSetTime{ 0 };
82  ModifiedTimeType m_GaussianSmoothingVarianceForTheTotalFieldSetTime{ 0 };
83 
84 }; //class GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor
85 } // namespace itk
86 
87 #ifndef ITK_MANUAL_INSTANTIATION
88 #include "itkGaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.hxx"
89 #endif
90 
91 #endif /* itkGaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor_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.