ITK  4.13.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:
37 
43 
45  itkNewMacro( Self );
46 
50 
51  typedef TTransform TransformType;
52  typedef typename TransformType::ScalarType ScalarType;
53 
57  virtual void SetGaussianSmoothingVarianceForTheUpdateField( ScalarType );
58  itkGetConstReferenceMacro( GaussianSmoothingVarianceForTheUpdateField, ScalarType );
60 
64  virtual void SetGaussianSmoothingVarianceForTheTotalField( const ScalarType );
65  itkGetConstReferenceMacro( GaussianSmoothingVarianceForTheTotalField, ScalarType );
67 
68  virtual void AdaptTransformParameters() ITK_OVERRIDE;
69 
70 protected:
72  ~GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor() ITK_OVERRIDE;
73 
74  void PrintSelf( std::ostream & os, Indent indent ) const ITK_OVERRIDE;
75 
76 private:
77  ITK_DISALLOW_COPY_AND_ASSIGN(GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor);
78 
79  ScalarType m_GaussianSmoothingVarianceForTheUpdateField;
80  ScalarType m_GaussianSmoothingVarianceForTheTotalField;
81 
82  ModifiedTimeType m_GaussianSmoothingVarianceForTheUpdateFieldSetTime;
83  ModifiedTimeType m_GaussianSmoothingVarianceForTheTotalFieldSetTime;
84 
85 }; //class GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor
86 } // namespace itk
87 
88 #ifndef ITK_MANUAL_INSTANTIATION
89 #include "itkGaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.hxx"
90 #endif
91 
92 #endif /* itkGaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor_h */
Light weight base class for most itk classes.
unsigned long ModifiedTimeType
Definition: itkIntTypes.h:164
Control indentation during Print() invocation.
Definition: itkIndent.h:49
DisplacementFieldTransformParametersAdaptor is a helper class intended to definition.