ITK  4.6.0
Insight Segmentation and Registration Toolkit
itkCenteredEuler3DTransform.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 __itkCenteredEuler3DTransform_h
19 #define __itkCenteredEuler3DTransform_h
20 
21 #include <iostream>
22 #include "itkEuler3DTransform.h"
23 #include "itkMacro.h"
24 #include "itkVersor.h"
25 
26 namespace itk
27 {
36 template <typename TScalar = double>
37 // Data type for scalars
39  public Euler3DTransform<TScalar>
40 {
41 public:
47 
49  itkNewMacro(Self);
50 
53 
55  itkStaticConstMacro(SpaceDimension, unsigned int, 3);
56  itkStaticConstMacro(InputSpaceDimension, unsigned int, 3);
57  itkStaticConstMacro(OutputSpaceDimension, unsigned int, 3);
58  itkStaticConstMacro(ParametersDimension, unsigned int, 9);
60 
71 
82 
86  typedef typename InverseTransformBaseType::Pointer InverseTransformBasePointer;
87 
94  void SetParameters(const ParametersType & parameters);
95 
102  const ParametersType & GetParameters(void) const;
103 
108  virtual void ComputeJacobianWithRespectToParameters( const InputPointType & p, JacobianType & jacobian) const;
109 
111  bool GetInverse(Self *inverse) const;
112 
115 
116 protected:
118  CenteredEuler3DTransform(const MatrixType & matrix, const OutputPointType & offset);
121 
125  void PrintSelf(std::ostream & os, Indent indent) const;
126 
127 private:
128  CenteredEuler3DTransform(const Self &); // purposely not implemented
129  void operator=(const Self &); // purposely not implemented
130 
131 }; // class CenteredEuler3DTransform
132 } // namespace itk
133 
134 #ifndef ITK_MANUAL_INSTANTIATION
135 #include "itkCenteredEuler3DTransform.hxx"
136 #endif
137 
138 #endif /* __itkCenteredEuler3DTransform_h */
Superclass::InputPointType InputPointType
Superclass::OutputPointType OutputPointType
void SetParameters(const ParametersType &parameters)
Superclass::ParametersType ParametersType
Light weight base class for most itk classes.
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::InputVnlVectorType InputVnlVectorType
SmartPointer< const Self > ConstPointer
virtual InverseTransformBasePointer GetInverseTransform() const
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::JacobianType JacobianType
Superclass::InputPointType InputPointType
static const unsigned int SpaceDimension
Superclass::InputVectorType InputVectorType
void operator=(const Self &)
Superclass::TranslationType TranslationType
Superclass::OutputPointType OutputPointType
Superclass::TranslationValueType TranslationValueType
virtual void ComputeJacobianWithRespectToParameters(const InputPointType &p, JacobianType &jacobian) const
Superclass::TranslationType TranslationType
InverseTransformBaseType::Pointer InverseTransformBasePointer
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::ParametersType ParametersType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::OutputVectorType OutputVectorType
Superclass::ParametersValueType ParametersValueType
Superclass::ScalarType ScalarType
Superclass::InverseMatrixType InverseMatrixType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::InverseTransformBaseType InverseTransformBaseType
CenteredEuler3DTransform of a vector space (e.g. space coordinates)
Superclass::InputVectorType InputVectorType
Superclass::CenterType CenterType
Superclass::OutputVnlVectorType OutputVnlVectorType
Euler3DTransform of a vector space (e.g. space coordinates)
bool GetInverse(Self *inverse) const
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::OutputVectorType OutputVectorType
static const unsigned int InputSpaceDimension
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Superclass::MatrixType MatrixType
Superclass::InverseTransformBaseType InverseTransformBaseType
Superclass::ParametersValueType ParametersValueType
const ParametersType & GetParameters(void) const
static const unsigned int OutputSpaceDimension
static const unsigned int ParametersDimension
Superclass::OffsetType OffsetType
Superclass::InverseMatrixType InverseMatrixType
Euler3DTransform< TScalar > Superclass