ITK  4.6.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 <
35  typename TScalar = float, // Type for cordinate representation type (float or
36  // double)
37  unsigned int NDimensions = 3>
38 // Number of dimensions
40  public ScaleTransform< TScalar,
41  NDimensions >
42 {
43 public:
49 
51  itkNewMacro(Self);
52 
55 
57  itkStaticConstMacro(SpaceDimension, unsigned int, NDimensions);
58  itkStaticConstMacro(ParametersDimension, unsigned int, NDimensions);
60 
63 
66  typedef typename ParametersType::ValueType ParametersValueType;
67 
70 
72  typedef typename Superclass::ScaleType ScaleType;
73  typedef typename ScaleType::ValueType ScalesValueType;
74 
78 
82 
86 
90 
94  void SetParameters(const ParametersType & parameters);
95 
101  const ParametersType & GetParameters(void) const;
102 
105  virtual void ComputeJacobianWithRespectToParameters( const InputPointType & p, JacobianType & jacobian) const;
106 
107 protected:
110 
113 
115  void PrintSelf(std::ostream & os, Indent indent) const;
116 
117 private:
118  ScaleLogarithmicTransform(const Self & other); // purposely not implemented
119  const Self & operator=(const Self &); // purposely not implemented
120 
121 }; // class
122  // ScaleLogarithmicTransform
123 } // namespace itk
124 
125 #ifndef ITK_MANUAL_INSTANTIATION
126 #include "itkScaleLogarithmicTransform.hxx"
127 #endif
128 
129 #endif /* __itkScaleLogarithmicTransform_h */
Superclass::InputVnlVectorType InputVnlVectorType
const Self & operator=(const Self &)
Light weight base class for most itk classes.
Superclass::OutputPointType OutputPointType
CovariantVector< TScalar, NDimensions > OutputCovariantVectorType
Superclass::ParametersType ParametersType
Point< TScalar, NDimensions > OutputPointType
Superclass::InputVectorType InputVectorType
static const unsigned int ParametersDimension
Vector< TScalar, NDimensions > InputVectorType
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::InputCovariantVectorType InputCovariantVectorType
Logarithmic Scale transformation of a vector space (e.g. space coordinates)
Superclass::ScalarType ScalarType
Point< TScalar, NDimensions > InputPointType
ParametersType::ValueType ParametersValueType
Superclass::OutputVectorType OutputVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
void SetParameters(const ParametersType &parameters)
Vector< TScalar, NDimensions > OutputVectorType
Superclass::JacobianType JacobianType
Scale transformation of a vector space (e.g. space coordinates)
Superclass::InputPointType InputPointType
vnl_vector_fixed< TScalar, NDimensions > InputVnlVectorType
vnl_vector_fixed< TScalar, NDimensions > OutputVnlVectorType
Control indentation during Print() invocation.
Definition: itkIndent.h:49
virtual void ComputeJacobianWithRespectToParameters(const InputPointType &p, JacobianType &jacobian) const
CovariantVector< TScalar, NDimensions > InputCovariantVectorType
ScaleTransform< TScalar, NDimensions > Superclass
const ParametersType & GetParameters(void) const
Superclass::ParametersType ParametersType
FixedArray< TScalar, NDimensions > ScaleType
Superclass::OutputVnlVectorType OutputVnlVectorType