ITK  4.9.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 TParametersValueType=double>
38  public Euler3DTransform<TParametersValueType>
39 {
40 public:
46 
48  itkNewMacro(Self);
49 
52 
54  itkStaticConstMacro(SpaceDimension, unsigned int, 3);
55  itkStaticConstMacro(InputSpaceDimension, unsigned int, 3);
56  itkStaticConstMacro(OutputSpaceDimension, unsigned int, 3);
57  itkStaticConstMacro(ParametersDimension, unsigned int, 9);
59 
70 
81 
85  typedef typename InverseTransformBaseType::Pointer InverseTransformBasePointer;
86 
93  void SetParameters(const ParametersType & parameters) ITK_OVERRIDE;
94 
101  const ParametersType & GetParameters(void) const ITK_OVERRIDE;
102 
107  virtual void ComputeJacobianWithRespectToParameters( const InputPointType & p, JacobianType & jacobian) const ITK_OVERRIDE;
108 
110  bool GetInverse(Self *inverse) const;
111 
113  virtual InverseTransformBasePointer GetInverseTransform() const ITK_OVERRIDE;
114 
115 protected:
117  CenteredEuler3DTransform(const MatrixType & matrix, const OutputPointType & offset);
118  CenteredEuler3DTransform(unsigned int ParametersDimension);
119  ~CenteredEuler3DTransform();
120 
124  void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
125 
126 private:
127  CenteredEuler3DTransform(const Self &) ITK_DELETE_FUNCTION;
128  void operator=(const Self &) ITK_DELETE_FUNCTION;
129 
130 }; // class CenteredEuler3DTransform
131 } // namespace itk
132 
133 #ifndef ITK_MANUAL_INSTANTIATION
134 #include "itkCenteredEuler3DTransform.hxx"
135 #endif
136 
137 #endif /* itkCenteredEuler3DTransform_h */
Superclass::TranslationValueType TranslationValueType
static const unsigned int SpaceDimension
Light weight base class for most itk classes.
virtual InverseTransformBasePointer GetInverseTransform() const override
const ParametersType & GetParameters(void) const override
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Euler3DTransform< TParametersValueType > Superclass
Superclass::OutputVnlVectorType OutputVnlVectorType
void SetParameters(const ParametersType &parameters) override
Superclass::TranslationType TranslationType
Superclass::ParametersValueType ParametersValueType
Superclass::CenterType CenterType
Superclass::FixedParametersValueType FixedParametersValueType
static const unsigned int InputSpaceDimension
Superclass::ScalarType ScalarType
Superclass::InverseTransformBaseType InverseTransformBaseType
Superclass::OutputPointType OutputPointType
Superclass::FixedParametersValueType FixedParametersValueType
Superclass::InputVectorType InputVectorType
InverseTransformBaseType::Pointer InverseTransformBasePointer
static const unsigned int OutputSpaceDimension
Superclass::OutputCovariantVectorType OutputCovariantVectorType
virtual void ComputeJacobianWithRespectToParameters(const InputPointType &p, JacobianType &jacobian) const override
Superclass::InverseMatrixType InverseMatrixType
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::ParametersValueType ParametersValueType
CenteredEuler3DTransform of a vector space (e.g. space coordinates)
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::ParametersType ParametersType
Superclass::OffsetType OffsetType
Superclass::ParametersType ParametersType
Superclass::OutputVectorType OutputVectorType
Euler3DTransform of a vector space (e.g. space coordinates)
Superclass::InverseMatrixType InverseMatrixType
Superclass::InputPointType InputPointType
Superclass::OutputPointType OutputPointType
Superclass::InputVectorType InputVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::OutputVectorType OutputVectorType
Control indentation during Print() invocation.
Definition: itkIndent.h:49
bool GetInverse(Self *inverse) const
Superclass::JacobianType JacobianType
Superclass::FixedParametersType FixedParametersType
SmartPointer< const Self > ConstPointer
static const unsigned int ParametersDimension
Superclass::InverseTransformBaseType InverseTransformBaseType
Superclass::TranslationType TranslationType
void PrintSelf(std::ostream &os, Indent indent) const override
Superclass::MatrixType MatrixType
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::FixedParametersType FixedParametersType
Superclass::InputPointType InputPointType
Superclass::InputCovariantVectorType InputCovariantVectorType