ITK  4.13.0
Insight Segmentation and Registration Toolkit
itkBSplineExponentialDiffeomorphicTransformParametersAdaptor.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 itkBSplineExponentialDiffeomorphicTransformParametersAdaptor_h
19 #define itkBSplineExponentialDiffeomorphicTransformParametersAdaptor_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 SetNumberOfControlPointsForTheConstantVelocityField( const ArrayType & );
67 
75  itkGetConstMacro( NumberOfControlPointsForTheConstantVelocityField, ArrayType );
76 
84  virtual void SetNumberOfControlPointsForTheUpdateField( const ArrayType & );
85 
93  itkGetConstMacro( NumberOfControlPointsForTheUpdateField, ArrayType );
94 
101  void SetMeshSizeForTheConstantVelocityField( const ArrayType & );
102 
109  void SetMeshSizeForTheUpdateField( const ArrayType & );
110 
114  virtual void AdaptTransformParameters() ITK_OVERRIDE;
115 
116 protected:
118  ~BSplineExponentialDiffeomorphicTransformParametersAdaptor() ITK_OVERRIDE;
119 
120  void PrintSelf( std::ostream & os, Indent indent ) const ITK_OVERRIDE;
121 
122 private:
123  ITK_DISALLOW_COPY_AND_ASSIGN(BSplineExponentialDiffeomorphicTransformParametersAdaptor);
124 
125  ArrayType m_NumberOfControlPointsForTheConstantVelocityField;
126  ModifiedTimeType m_NumberOfControlPointsForTheConstantVelocityFieldSetTime;
127 
128  ArrayType m_NumberOfControlPointsForTheUpdateField;
129  ModifiedTimeType m_NumberOfControlPointsForTheUpdateFieldSetTime;
130 
131 }; //class BSplineExponentialDiffeomorphicTransformParametersAdaptor
132 } // namespace itk
133 
134 #ifndef ITK_MANUAL_INSTANTIATION
135 #include "itkBSplineExponentialDiffeomorphicTransformParametersAdaptor.hxx"
136 #endif
137 
138 #endif /* itkBSplineExponentialDiffeomorphicTransformParametersAdaptor_h */
Light weight base class for most itk classes.
ConstantVelocityFieldTransformParametersAdaptor is a helper class intended to definition.
unsigned long ModifiedTimeType
Definition: itkIntTypes.h:164
Control indentation during Print() invocation.
Definition: itkIndent.h:49