go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkAdvancedEuler3DTransform.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: itkAdvancedEuler3DTransform.h,v $
22  Language: C++
23  Date: $Date: 2008-10-13 15:36:31 $
24  Version: $Revision: 1.14 $
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 __itkAdvancedEuler3DTransform_h
35 #define __itkAdvancedEuler3DTransform_h
36 
37 #include <iostream>
39 
40 namespace itk
41 {
42 
63 template< class TScalarType = double >
64 // Data type for scalars (float or double)
65 class ITK_EXPORT AdvancedEuler3DTransform :
66  public AdvancedRigid3DTransform< 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 
106 
107  typedef typename Superclass
110  typedef typename Superclass
113  typedef typename Superclass
116 
121  void SetParameters( const ParametersType & parameters );
122 
123  const ParametersType & GetParameters( void ) const;
124 
126  void SetRotation( ScalarType angleX, ScalarType angleY, ScalarType angleZ );
127 
128  itkGetConstMacro( AngleX, ScalarType );
129  itkGetConstMacro( AngleY, ScalarType );
130  itkGetConstMacro( AngleZ, ScalarType );
131 
133  virtual void GetJacobian(
134  const InputPointType &,
135  JacobianType &,
136  NonZeroJacobianIndicesType & ) const;
137 
139  itkSetMacro( ComputeZYX, bool );
140  itkGetConstMacro( ComputeZYX, bool );
141 
142  virtual void SetIdentity( void );
143 
144 protected:
145 
147  AdvancedEuler3DTransform( const MatrixType & matrix,
148  const OutputPointType & offset );
149  AdvancedEuler3DTransform( unsigned int paramsSpaceDims );
150 
152 
153  void PrintSelf( std::ostream & os, Indent indent ) const;
154 
156  void SetVarRotation( ScalarType angleX, ScalarType angleY, ScalarType angleZ );
157 
159  void ComputeMatrix( void );
160 
161  void ComputeMatrixParameters( void );
162 
164  virtual void PrecomputeJacobianOfSpatialJacobian( void );
165 
166 private:
167 
168  AdvancedEuler3DTransform( const Self & ); //purposely not implemented
169  void operator=( const Self & ); //purposely not implemented
170 
171  ScalarType m_AngleX;
172  ScalarType m_AngleY;
173  ScalarType m_AngleZ;
175 
176 };
177 
178 //class AdvancedEuler3DTransform
179 
180 } // namespace itk
181 
182 #ifndef ITK_MANUAL_INSTANTIATION
183 #include "itkAdvancedEuler3DTransform.hxx"
184 #endif
185 
186 #endif /* __itkAdvancedEuler3DTransform_h */
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Superclass::SpatialHessianType SpatialHessianType
Superclass::SpatialJacobianType SpatialJacobianType
Superclass::TranslationType TranslationType
Superclass::TranslationType TranslationType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Superclass::OutputVectorType OutputVectorType
AdvancedRigid3DTransform of a vector space (e.g. space coordinates)
Superclass::OutputVectorType OutputVectorType
Superclass::InternalMatrixType InternalMatrixType
Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::InputVectorType InputVectorType
Superclass::InternalMatrixType InternalMatrixType
SmartPointer< const Self > ConstPointer
Superclass::ParametersType ParametersType
AdvancedRigid3DTransform< TScalarType > Superclass
Superclass::OutputPointType OutputPointType
Superclass::NumberOfParametersType NumberOfParametersType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::ParametersType ParametersType
Superclass::InputVectorType InputVectorType
Superclass::NumberOfParametersType NumberOfParametersType
Superclass::InputPointType InputPointType
AdvancedEuler3DTransform of a vector space (e.g. space coordinates)
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::OutputPointType OutputPointType
Superclass::InputPointType InputPointType
Superclass::SpatialJacobianType SpatialJacobianType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::InverseMatrixType InverseMatrixType
Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::SpatialHessianType SpatialHessianType
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo