ITK  4.9.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 
67 
75  itkGetConstMacro( NumberOfControlPointsForTheConstantVelocityField, ArrayType );
76 
85 
93  itkGetConstMacro( NumberOfControlPointsForTheUpdateField, ArrayType );
94 
102 
109  void SetMeshSizeForTheUpdateField( const ArrayType & );
110 
114  virtual void AdaptTransformParameters() ITK_OVERRIDE;
115 
116 protected:
118  ~BSplineExponentialDiffeomorphicTransformParametersAdaptor();
119 
120  void PrintSelf( std::ostream & os, Indent indent ) const ITK_OVERRIDE;
121 
122 private:
123  BSplineExponentialDiffeomorphicTransformParametersAdaptor( const Self & ) ITK_DELETE_FUNCTION;
124  void operator=( const Self & ) ITK_DELETE_FUNCTION;
125 
128 
131 
132 }; //class BSplineExponentialDiffeomorphicTransformParametersAdaptor
133 } // namespace itk
134 
135 #ifndef ITK_MANUAL_INSTANTIATION
136 #include "itkBSplineExponentialDiffeomorphicTransformParametersAdaptor.hxx"
137 #endif
138 
139 #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
virtual void SetNumberOfControlPointsForTheUpdateField(const ArrayType &)
Control indentation during Print() invocation.
Definition: itkIndent.h:49
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void SetNumberOfControlPointsForTheConstantVelocityField(const ArrayType &)