ITK  4.13.0
Insight Segmentation and Registration Toolkit
itkScaleLogarithmicTransform.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 itkScaleLogarithmicTransform_h
19 #define itkScaleLogarithmicTransform_h
20 
21 #include "itkScaleTransform.h"
22 
23 namespace itk
24 {
34 template<typename TParametersValueType=float,
35  unsigned int NDimensions = 3>
36 class ITK_TEMPLATE_EXPORT ScaleLogarithmicTransform :
37  public ScaleTransform<TParametersValueType, NDimensions>
38 {
39 public:
45 
47  itkNewMacro(Self);
48 
51 
53  itkStaticConstMacro(SpaceDimension, unsigned int, NDimensions);
54  itkStaticConstMacro(ParametersDimension, unsigned int, NDimensions);
56 
58  typedef typename Superclass::ScalarType ScalarType;
59 
61  typedef typename Superclass::ParametersType ParametersType;
62  typedef typename ParametersType::ValueType ParametersValueType;
63  typedef typename Superclass::FixedParametersType FixedParametersType;
64  typedef typename FixedParametersType::ValueType FixedParametersValueType;
65 
67  typedef typename Superclass::JacobianType JacobianType;
68 
70  typedef typename Superclass::ScaleType ScaleType;
71  typedef typename ScaleType::ValueType ScalesValueType;
72 
74  typedef typename Superclass::InputVectorType InputVectorType;
75  typedef typename Superclass::OutputVectorType OutputVectorType;
76 
78  typedef typename Superclass::InputCovariantVectorType InputCovariantVectorType;
79  typedef typename Superclass::OutputCovariantVectorType OutputCovariantVectorType;
80 
82  typedef typename Superclass::InputVnlVectorType InputVnlVectorType;
83  typedef typename Superclass::OutputVnlVectorType OutputVnlVectorType;
84 
86  typedef typename Superclass::InputPointType InputPointType;
87  typedef typename Superclass::OutputPointType OutputPointType;
88 
92  void SetParameters(const ParametersType & parameters) ITK_OVERRIDE;
93 
99  const ParametersType & GetParameters(void) const ITK_OVERRIDE;
100 
103  virtual void ComputeJacobianWithRespectToParameters( const InputPointType & p, JacobianType & jacobian) const ITK_OVERRIDE;
104 
105 protected:
108 
110  ~ScaleLogarithmicTransform() ITK_OVERRIDE;
111 
113  void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
114 
115 private:
116  ITK_DISALLOW_COPY_AND_ASSIGN(ScaleLogarithmicTransform);
117 
118 }; // class
119  // ScaleLogarithmicTransform
120 } // namespace itk
121 
122 #ifndef ITK_MANUAL_INSTANTIATION
123 #include "itkScaleLogarithmicTransform.hxx"
124 #endif
125 
126 #endif /* itkScaleLogarithmicTransform_h */
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Light weight base class for most itk classes.
Superclass::FixedParametersType FixedParametersType
Superclass::InputCovariantVectorType InputCovariantVectorType
ScaleTransform< TParametersValueType, NDimensions > Superclass
Superclass::OutputVectorType OutputVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::InputVectorType InputVectorType
ParametersType::ValueType ParametersValueType
Logarithmic Scale transformation of a vector space (e.g. space coordinates)
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::OutputPointType OutputPointType
Superclass::InputPointType InputPointType
Scale transformation of a vector space (e.g. space coordinates)
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Superclass::ParametersType ParametersType
FixedParametersType::ValueType FixedParametersValueType