ITK  4.8.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:
37 
43 
45  itkNewMacro( Self );
46 
50 
51  typedef TTransform TransformType;
52  typedef typename TransformType::ScalarType ScalarType;
53  typedef typename TransformType::SplineOrderType SplineOrderType;
54  typedef typename TransformType::ArrayType ArrayType;
55 
57  itkStaticConstMacro( SpaceDimension, unsigned int, TransformType::Dimension );
58 
67 
75  itkGetConstMacro( NumberOfControlPointsForTheUpdateField, ArrayType );
76 
84 
93 
101  itkGetConstMacro( NumberOfControlPointsForTheTotalField, ArrayType );
102 
109  void SetMeshSizeForTheTotalField( const ArrayType & );
110 
114  virtual void AdaptTransformParameters() ITK_OVERRIDE;
115 
116 protected:
118  ~BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor();
119 
120  void PrintSelf( std::ostream & os, Indent indent ) const ITK_OVERRIDE;
121 
122 private:
123  BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor( const Self & ); //purposely not implemented
124  void operator=( const Self & ); //purposely not implemented
125 
130 
131 
132 }; //class BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor
133 } // namespace itk
134 
135 #ifndef ITK_MANUAL_INSTANTIATION
136 #include "itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.hxx"
137 #endif
138 
139 #endif /* itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor_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
void PrintSelf(std::ostream &os, Indent indent) const override
DisplacementFieldTransformParametersAdaptor is a helper class intended to definition.