ITK  4.8.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>
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 
59 
62  typedef typename ParametersType::ValueType ParametersValueType;
64  typedef typename FixedParametersType::ValueType FixedParametersValueType;
65 
68 
70  typedef typename Superclass::ScaleType ScaleType;
71  typedef typename ScaleType::ValueType ScalesValueType;
72 
76 
80 
84 
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();
111 
113  void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
114 
115 private:
116  ScaleLogarithmicTransform(const Self & other); // purposely not implemented
117  const Self & operator=(const Self &); // purposely not implemented
118 
119 }; // class
120  // ScaleLogarithmicTransform
121 } // namespace itk
122 
123 #ifndef ITK_MANUAL_INSTANTIATION
124 #include "itkScaleLogarithmicTransform.hxx"
125 #endif
126 
127 #endif /* itkScaleLogarithmicTransform_h */
Superclass::OutputCovariantVectorType OutputCovariantVectorType
const ParametersType & GetParameters(void) const override
CovariantVector< TParametersValueType, NDimensions > OutputCovariantVectorType
Light weight base class for most itk classes.
Superclass::FixedParametersType FixedParametersType
virtual void ComputeJacobianWithRespectToParameters(const InputPointType &p, JacobianType &jacobian) const override
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::FixedParametersType FixedParametersType
void PrintSelf(std::ostream &os, Indent indent) const override
ScaleTransform< TParametersValueType, NDimensions > Superclass
Point< TParametersValueType, NDimensions > InputPointType
Vector< TParametersValueType, NDimensions > OutputVectorType
Point< TParametersValueType, NDimensions > OutputPointType
Superclass::OutputVectorType OutputVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::InputVectorType InputVectorType
Superclass::ScalarType ScalarType
vnl_vector_fixed< TParametersValueType, NDimensions > OutputVnlVectorType
ParametersType::ValueType ParametersValueType
void SetParameters(const ParametersType &parameters) override
CovariantVector< TParametersValueType, NDimensions > InputCovariantVectorType
Superclass::ParametersType ParametersType
Logarithmic Scale transformation of a vector space (e.g. space coordinates)
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::OutputPointType OutputPointType
Superclass::InputPointType InputPointType
FixedArray< TParametersValueType, NDimensions > ScaleType
Scale transformation of a vector space (e.g. space coordinates)
vnl_vector_fixed< TParametersValueType, NDimensions > InputVnlVectorType
static const unsigned int ParametersDimension
Superclass::JacobianType JacobianType
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Vector< TParametersValueType, NDimensions > InputVectorType
Superclass::ParametersType ParametersType
FixedParametersType::ValueType FixedParametersValueType