ITK  4.5.0
Insight Segmentation and Registration Toolkit
itkVersorRigid3DTransform.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 __itkVersorRigid3DTransform_h
19 #define __itkVersorRigid3DTransform_h
20 
21 #include <iostream>
22 #include "itkVersorTransform.h"
23 
24 namespace itk
25 {
45 template< typename TScalar = double >
46 // Data type for scalars (float or double)
48  public VersorTransform< TScalar >
49 {
50 public:
56 
58  itkNewMacro(Self);
59 
62 
64  itkStaticConstMacro(SpaceDimension, unsigned int, 3);
65  itkStaticConstMacro(InputSpaceDimension, unsigned int, 3);
66  itkStaticConstMacro(OutputSpaceDimension, unsigned int, 3);
67  itkStaticConstMacro(ParametersDimension, unsigned int, 6);
69 
87 
90  typedef typename Superclass::AxisType AxisType;
91  typedef typename Superclass::AngleType AngleType;
92 
96 
101  void SetParameters(const ParametersType & parameters);
102 
103  virtual const ParametersType & GetParameters(void) const;
104 
109  virtual void ComputeJacobianWithRespectToParameters( const InputPointType & p, JacobianType & jacobian) const;
110 
111 protected:
112  VersorRigid3DTransform(const MatrixType & matrix, const OutputVectorType & offset);
113  VersorRigid3DTransform(unsigned int paramDim);
116  {
117  }
118 
119  void PrintSelf(std::ostream & os, Indent indent) const;
120 
121 private:
122  VersorRigid3DTransform(const Self &); // purposely not implemented
123  void operator=(const Self &); // purposely not implemented
124 
125 }; // class VersorRigid3DTransform
126 } // namespace itk
127 
128 #ifndef ITK_MANUAL_INSTANTIATION
129 #include "itkVersorRigid3DTransform.hxx"
130 #endif
131 
132 #endif /* __itkVersorRigid3DTransform_h */
Light weight base class for most itk classes.
Superclass::InputPointType InputPointType
ParametersType::ValueType ParameterValueType
VersorType::VectorType AxisType
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::OffsetType OffsetType
VersorRigid3DTransform of a vector space (e.g. space coordinates)
static const unsigned int InputSpaceDimension
Superclass::MatrixType MatrixType
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
SmartPointer< const Self > ConstPointer
Superclass::InputPointType InputPointType
Superclass::TranslationType TranslationType
Superclass::OutputVectorType OutputVectorType
VersorTransform< TScalar > Superclass
Superclass::ParameterValueType ParameterValueType
Superclass::InverseMatrixType InverseMatrixType
VersorType::ValueType AngleType
Superclass::OutputVectorType OutputVectorType
Superclass::ParametersType ParametersType
Superclass::JacobianType JacobianType
Superclass::InputVectorType InputVectorType
virtual void ComputeJacobianWithRespectToParameters(const InputPointType &p, JacobianType &jacobian) const
virtual const ParametersType & GetParameters(void) const
Superclass::OutputVectorType OutputVectorType
Superclass::MatrixType MatrixType
Superclass::AxisValueType AxisValueType
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::ParametersType ParametersType
Superclass::JacobianType JacobianType
Superclass::TranslationType TranslationType
Superclass::ParametersType ParametersType
Superclass::InputVnlVectorType InputVnlVectorType
AxisType::ValueType AxisValueType
Superclass::TranslationValueType TranslationValueType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::CenterType CenterType
Versor< TScalar > VersorType
Superclass::JacobianType JacobianType
static const unsigned int OutputSpaceDimension
Control indentation during Print() invocation.
Definition: itkIndent.h:49
void operator=(const Self &)
Superclass::OutputPointType OutputPointType
Superclass::InputPointType InputPointType
static const unsigned int SpaceDimension
Superclass::ScalarType ScalarType
Superclass::InputVectorType InputVectorType
Superclass::OutputPointType OutputPointType
static const unsigned int ParametersDimension
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::InverseMatrixType InverseMatrixType
void SetParameters(const ParametersType &parameters)