ITK  4.13.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 
66  virtual void SetNumberOfControlPointsForTheUpdateField( const ArrayType & );
67 
75  itkGetConstMacro( NumberOfControlPointsForTheUpdateField, ArrayType );
76 
83  void SetMeshSizeForTheUpdateField( const ArrayType & );
84 
92  virtual void SetNumberOfControlPointsForTheTotalField( const ArrayType & );
93 
101  itkGetConstMacro( NumberOfControlPointsForTheTotalField, ArrayType );
102 
109  void SetMeshSizeForTheTotalField( const ArrayType & );
110 
114  virtual void AdaptTransformParameters() ITK_OVERRIDE;
115 
116 protected:
118  ~BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor() ITK_OVERRIDE;
119 
120  void PrintSelf( std::ostream & os, Indent indent ) const ITK_OVERRIDE;
121 
122 private:
123  ITK_DISALLOW_COPY_AND_ASSIGN(BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor);
124 
125  ArrayType m_NumberOfControlPointsForTheUpdateField;
126  ArrayType m_NumberOfControlPointsForTheTotalField;
127  ModifiedTimeType m_NumberOfControlPointsForTheUpdateFieldSetTime;
128  ModifiedTimeType m_NumberOfControlPointsForTheTotalFieldSetTime;
129 
130 
131 }; //class BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor
132 } // namespace itk
133 
134 #ifndef ITK_MANUAL_INSTANTIATION
135 #include "itkBSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor.hxx"
136 #endif
137 
138 #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
DisplacementFieldTransformParametersAdaptor is a helper class intended to definition.