go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkAdvancedVersorRigid3DTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright UMC Utrecht and contributors
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 /*=========================================================================
19 
20  Program: Insight Segmentation & Registration Toolkit
21  Module: $RCSfile: itkAdvancedVersorRigid3DTransform.h,v $
22  Language: C++
23  Date: $Date: 2006-08-09 04:35:32 $
24  Version: $Revision: 1.27 $
25 
26  Copyright (c) Insight Software Consortium. All rights reserved.
27  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
28 
29  This software is distributed WITHOUT ANY WARRANTY; without even
30  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
31  PURPOSE. See the above copyright notices for more information.
32 
33 =========================================================================*/
34 #ifndef __itkAdvancedVersorRigid3DTransform_h
35 #define __itkAdvancedVersorRigid3DTransform_h
36 
37 #include <iostream>
39 
40 namespace itk
41 {
42 
63 template< class TScalarType = double >
64 //Data type for scalars (float or double)
66  public AdvancedVersorTransform< TScalarType >
67 {
68 public:
69 
74  typedef SmartPointer< const Self > ConstPointer;
75 
77  itkNewMacro( Self );
78 
81 
83  itkStaticConstMacro( SpaceDimension, unsigned int, 3 );
84  itkStaticConstMacro( InputSpaceDimension, unsigned int, 3 );
85  itkStaticConstMacro( OutputSpaceDimension, unsigned int, 3 );
86  itkStaticConstMacro( ParametersDimension, unsigned int, 6 );
87 
103  typedef typename Superclass::MatrixType MatrixType;
104  typedef typename Superclass::InverseMatrixType InverseMatrixType;
105  typedef typename Superclass::CenterType CenterType;
106  typedef typename Superclass::OffsetType OffsetType;
107  typedef typename Superclass::TranslationType TranslationType;
108 
110  typedef typename Superclass::VersorType VersorType;
111  typedef typename Superclass::AxisType AxisType;
112  typedef typename Superclass::AngleType AngleType;
113 
114  typedef typename Superclass
115  ::NonZeroJacobianIndicesType NonZeroJacobianIndicesType;
117  typedef typename Superclass
118  ::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType;
120  typedef typename Superclass
121  ::JacobianOfSpatialHessianType JacobianOfSpatialHessianType;
123 
128  void SetParameters( const ParametersType & parameters );
129 
130  virtual const ParametersType & GetParameters( void ) const;
131 
133  virtual void GetJacobian(
134  const InputPointType &,
135  JacobianType &,
136  NonZeroJacobianIndicesType & ) const;
137 
138 protected:
139 
140  AdvancedVersorRigid3DTransform( unsigned int outputSpaceDim,
141  unsigned int paramDim );
143  const OutputVectorType & offset );
146 
147  void PrintSelf( std::ostream & os, Indent indent ) const;
148 
151  virtual void SetRotationMatrix( const MatrixType & matrix )
152  { this->Superclass::SetRotationMatrix( matrix ); }
153 
154 private:
155 
156  AdvancedVersorRigid3DTransform( const Self & ); //purposely not implemented
157  void operator=( const Self & ); //purposely not implemented
158 
159 };
160 
161 //class AdvancedVersorRigid3DTransform
162 
163 } // namespace itk
164 
165 #ifndef ITK_MANUAL_INSTANTIATION
166 #include "itkAdvancedVersorRigid3DTransform.hxx"
167 #endif
168 
169 #endif /* __itkAdvancedVersorRigid3DTransform_h */
itk::AdvancedVersorRigid3DTransform::Pointer
SmartPointer< Self > Pointer
Definition: itkAdvancedVersorRigid3DTransform.h:73
itk::AdvancedVersorRigid3DTransform::AxisType
Superclass::AxisType AxisType
Definition: itkAdvancedVersorRigid3DTransform.h:111
itk::AdvancedTransform< float, NInputDimensions, NOutputDimensions >::OutputPointType
Superclass::OutputPointType OutputPointType
Definition: itkAdvancedTransform.h:125
itk::AdvancedVersorRigid3DTransform::operator=
void operator=(const Self &)
itk::AdvancedVersorRigid3DTransform::AngleType
Superclass::AngleType AngleType
Definition: itkAdvancedVersorRigid3DTransform.h:112
itk::AdvancedTransform< float, NInputDimensions, NOutputDimensions >::SpatialJacobianType
Matrix< ScalarType, OutputSpaceDimension, InputSpaceDimension > SpatialJacobianType
Definition: itkAdvancedTransform.h:143
itk::AdvancedVersorRigid3DTransform::SpatialHessianType
Superclass::SpatialHessianType SpatialHessianType
Definition: itkAdvancedVersorRigid3DTransform.h:119
itk::AdvancedVersorRigid3DTransform::InputPointType
Superclass::InputPointType InputPointType
Definition: itkAdvancedVersorRigid3DTransform.h:93
itk::AdvancedMatrixOffsetTransformBase< float, 3, 3 >::ParametersType
Superclass::ParametersType ParametersType
Definition: itkAdvancedMatrixOffsetTransformBase.h:123
itk::AdvancedTransform< float, NInputDimensions, NOutputDimensions >::InputCovariantVectorType
Superclass ::InputCovariantVectorType InputCovariantVectorType
Definition: itkAdvancedTransform.h:119
itk::AdvancedVersorRigid3DTransform::GetParameters
virtual const ParametersType & GetParameters(void) const
itk::AdvancedTransform< float, NInputDimensions, NOutputDimensions >::InputPointType
Superclass::InputPointType InputPointType
Definition: itkAdvancedTransform.h:124
SmartPointer< Self >
itk::AdvancedTransform< float, NInputDimensions, NOutputDimensions >::InputVnlVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Definition: itkAdvancedTransform.h:122
itk::AdvancedVersorRigid3DTransform::JacobianType
Superclass::JacobianType JacobianType
Definition: itkAdvancedVersorRigid3DTransform.h:91
itk::AdvancedVersorRigid3DTransform::JacobianOfSpatialHessianType
Superclass ::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Definition: itkAdvancedVersorRigid3DTransform.h:121
itk::AdvancedMatrixOffsetTransformBase
Definition: itkAdvancedMatrixOffsetTransformBase.h:99
itk::AdvancedVersorRigid3DTransform::GetJacobian
virtual void GetJacobian(const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const
itk::AdvancedVersorRigid3DTransform::JacobianOfSpatialJacobianType
Superclass ::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Definition: itkAdvancedVersorRigid3DTransform.h:118
itk::AdvancedVersorTransform
Definition: itkAdvancedVersorTransform.h:69
itk::AdvancedVersorRigid3DTransform::InputVnlVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Definition: itkAdvancedVersorRigid3DTransform.h:97
itk::AdvancedVersorRigid3DTransform::CenterType
Superclass::CenterType CenterType
Definition: itkAdvancedVersorRigid3DTransform.h:105
itk::AdvancedVersorRigid3DTransform::Superclass
AdvancedVersorTransform< TScalarType > Superclass
Definition: itkAdvancedVersorRigid3DTransform.h:72
itk::AdvancedTransform< float, NInputDimensions, NOutputDimensions >::ScalarType
Superclass::ScalarType ScalarType
Definition: itkAdvancedTransform.h:109
itk::AdvancedVersorRigid3DTransform::~AdvancedVersorRigid3DTransform
~AdvancedVersorRigid3DTransform()
Definition: itkAdvancedVersorRigid3DTransform.h:145
itkAdvancedVersorTransform.h
itk::AdvancedMatrixOffsetTransformBase< float, 3, 3 >::NonZeroJacobianIndicesType
Superclass ::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Definition: itkAdvancedMatrixOffsetTransformBase.h:141
itk::AdvancedVersorRigid3DTransform::itkStaticConstMacro
itkStaticConstMacro(InputSpaceDimension, unsigned int, 3)
itk::AdvancedVersorRigid3DTransform::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const
itk::AdvancedVersorRigid3DTransform::ParametersType
Superclass::ParametersType ParametersType
Definition: itkAdvancedVersorRigid3DTransform.h:89
itk::AdvancedTransform< float, NInputDimensions, NOutputDimensions >::JacobianType
Superclass::JacobianType JacobianType
Definition: itkAdvancedTransform.h:115
itk::AdvancedVersorRigid3DTransform::TranslationType
Superclass::TranslationType TranslationType
Definition: itkAdvancedVersorRigid3DTransform.h:107
itk::AdvancedVersorRigid3DTransform::ScalarType
Superclass::ScalarType ScalarType
Definition: itkAdvancedVersorRigid3DTransform.h:92
itk::AdvancedMatrixOffsetTransformBase< float, 3, 3 >::InputPointType
Superclass::InputPointType InputPointType
Definition: itkAdvancedMatrixOffsetTransformBase.h:136
itk::AdvancedVersorRigid3DTransform::SetRotationMatrix
virtual void SetRotationMatrix(const MatrixType &matrix)
Definition: itkAdvancedVersorRigid3DTransform.h:151
itk::AdvancedVersorRigid3DTransform::SetParameters
void SetParameters(const ParametersType &parameters)
itk::AdvancedVersorRigid3DTransform::AdvancedVersorRigid3DTransform
AdvancedVersorRigid3DTransform(unsigned int outputSpaceDim, unsigned int paramDim)
itk::AdvancedTransform< float, NInputDimensions, NOutputDimensions >::InternalMatrixType
SpatialJacobianType::InternalMatrixType InternalMatrixType
Definition: itkAdvancedTransform.h:151
itk::AdvancedVersorRigid3DTransform::ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkAdvancedVersorRigid3DTransform.h:74
itk::AdvancedVersorRigid3DTransform::InternalMatrixType
Superclass::InternalMatrixType InternalMatrixType
Definition: itkAdvancedVersorRigid3DTransform.h:122
itk::AdvancedTransform< float, NInputDimensions, NOutputDimensions >::SpatialHessianType
FixedArray< Matrix< ScalarType, InputSpaceDimension, InputSpaceDimension >, OutputSpaceDimension > SpatialHessianType
Definition: itkAdvancedTransform.h:149
itk::AdvancedVersorRigid3DTransform::NonZeroJacobianIndicesType
Superclass ::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Definition: itkAdvancedVersorRigid3DTransform.h:115
itk::AdvancedTransform< float, NInputDimensions, NOutputDimensions >::InputVectorType
Superclass::InputVectorType InputVectorType
Definition: itkAdvancedTransform.h:116
itk::AdvancedVersorRigid3DTransform::InputCovariantVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
Definition: itkAdvancedVersorRigid3DTransform.h:100
itk::AdvancedVersorRigid3DTransform::itkStaticConstMacro
itkStaticConstMacro(OutputSpaceDimension, unsigned int, 3)
itk::AdvancedVersorRigid3DTransform::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, 3)
Matrix< float, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension) >
itk::AdvancedVersorRigid3DTransform::OutputCovariantVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Definition: itkAdvancedVersorRigid3DTransform.h:102
itk::AdvancedMatrixOffsetTransformBase< float, 3, 3 >::OutputVectorType
Superclass::OutputVectorType OutputVectorType
Definition: itkAdvancedMatrixOffsetTransformBase.h:129
itk::AdvancedVersorRigid3DTransform::Self
AdvancedVersorRigid3DTransform Self
Definition: itkAdvancedVersorRigid3DTransform.h:71
itk::AdvancedVersorRigid3DTransform::AdvancedVersorRigid3DTransform
AdvancedVersorRigid3DTransform(const MatrixType &matrix, const OutputVectorType &offset)
itk
Definition: itkAdvancedImageToImageMetric.h:40
itk::AdvancedVersorRigid3DTransform::NumberOfParametersType
Superclass::NumberOfParametersType NumberOfParametersType
Definition: itkAdvancedVersorRigid3DTransform.h:90
itk::AdvancedTransform< float, NInputDimensions, NOutputDimensions >::OutputVectorType
Superclass::OutputVectorType OutputVectorType
Definition: itkAdvancedTransform.h:117
itk::AdvancedVersorRigid3DTransform::OffsetType
Superclass::OffsetType OffsetType
Definition: itkAdvancedVersorRigid3DTransform.h:106
itk::AdvancedVersorRigid3DTransform::OutputVnlVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Definition: itkAdvancedVersorRigid3DTransform.h:98
itk::AdvancedVersorRigid3DTransform::VersorType
Superclass::VersorType VersorType
Definition: itkAdvancedVersorRigid3DTransform.h:110
itk::AdvancedVersorRigid3DTransform::itkStaticConstMacro
itkStaticConstMacro(ParametersDimension, unsigned int, 6)
itk::AdvancedVersorRigid3DTransform::InputVectorType
Superclass::InputVectorType InputVectorType
Definition: itkAdvancedVersorRigid3DTransform.h:95
itk::AdvancedMatrixOffsetTransformBase< float, 3, 3 >::JacobianType
Superclass::JacobianType JacobianType
Definition: itkAdvancedMatrixOffsetTransformBase.h:127
itk::AdvancedTransform< float, NInputDimensions, NOutputDimensions >::NumberOfParametersType
Superclass::NumberOfParametersType NumberOfParametersType
Definition: itkAdvancedTransform.h:113
itk::AdvancedVersorRigid3DTransform::MatrixType
Superclass::MatrixType MatrixType
Definition: itkAdvancedVersorRigid3DTransform.h:103
itk::AdvancedVersorRigid3DTransform::OutputPointType
Superclass::OutputPointType OutputPointType
Definition: itkAdvancedVersorRigid3DTransform.h:94
itk::AdvancedTransform< float, NInputDimensions, NOutputDimensions >::ParametersType
Superclass::ParametersType ParametersType
Definition: itkAdvancedTransform.h:110
itk::AdvancedVersorRigid3DTransform::AdvancedVersorRigid3DTransform
AdvancedVersorRigid3DTransform(const Self &)
itk::AdvancedVersorRigid3DTransform::AdvancedVersorRigid3DTransform
AdvancedVersorRigid3DTransform()
itk::AdvancedVersorRigid3DTransform::InverseMatrixType
Superclass::InverseMatrixType InverseMatrixType
Definition: itkAdvancedVersorRigid3DTransform.h:104
itk::AdvancedVersorRigid3DTransform::SpatialJacobianType
Superclass::SpatialJacobianType SpatialJacobianType
Definition: itkAdvancedVersorRigid3DTransform.h:116
itk::AdvancedVersorRigid3DTransform::OutputVectorType
Superclass::OutputVectorType OutputVectorType
Definition: itkAdvancedVersorRigid3DTransform.h:96
itk::AdvancedVersorRigid3DTransform
AdvancedVersorRigid3DTransform of a vector space (e.g. space coordinates)
Definition: itkAdvancedVersorRigid3DTransform.h:67
itk::AdvancedTransform< float, NInputDimensions, NOutputDimensions >::OutputVnlVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Definition: itkAdvancedTransform.h:123
itk::AdvancedTransform< float, NInputDimensions, NOutputDimensions >::OutputCovariantVectorType
Superclass ::OutputCovariantVectorType OutputCovariantVectorType
Definition: itkAdvancedTransform.h:121


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo