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
40namespace itk
41{
42
63template< class TScalarType = double >
64// Data type for scalars (float or double)
65class ITK_EXPORT AdvancedEuler3DTransform :
66 public AdvancedRigid3DTransform< TScalarType >
67{
68public:
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
108 ::NonZeroJacobianIndicesType NonZeroJacobianIndicesType;
110 typedef typename Superclass
111 ::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType;
113 typedef typename Superclass
114 ::JacobianOfSpatialHessianType JacobianOfSpatialHessianType;
116
121 void SetParameters( const ParametersType & parameters ) override;
122
123 const ParametersType & GetParameters( void ) const override;
124
126 void SetRotation( ScalarType angleX, ScalarType angleY, ScalarType angleZ );
127
128 itkGetConstMacro( AngleX, ScalarType );
129 itkGetConstMacro( AngleY, ScalarType );
130 itkGetConstMacro( AngleZ, ScalarType );
131
134 const InputPointType &,
135 JacobianType &,
136 NonZeroJacobianIndicesType & ) const override;
137
139 itkSetMacro( ComputeZYX, bool );
140 itkGetConstMacro( ComputeZYX, bool );
141
142 void SetIdentity( void ) override;
143
144protected:
145
148 const OutputPointType & offset );
149 AdvancedEuler3DTransform( unsigned int paramsSpaceDims );
150
152
153 void PrintSelf( std::ostream & os, Indent indent ) const override;
154
156 void SetVarRotation( ScalarType angleX, ScalarType angleY, ScalarType angleZ );
157
159 void ComputeMatrix( void ) override;
160
161 void ComputeMatrixParameters( void ) override;
162
165
166private:
167
168 AdvancedEuler3DTransform( const Self & ); //purposely not implemented
169 void operator=( const Self & ); //purposely not implemented
170
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 */
AdvancedEuler3DTransform of a vector space (e.g. space coordinates)
itkStaticConstMacro(SpaceDimension, unsigned int, 3)
Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
itkStaticConstMacro(OutputSpaceDimension, unsigned int, 3)
itkStaticConstMacro(InputSpaceDimension, unsigned int, 3)
AdvancedEuler3DTransform(unsigned int paramsSpaceDims)
Superclass::InputCovariantVectorType InputCovariantVectorType
void SetVarRotation(ScalarType angleX, ScalarType angleY, ScalarType angleZ)
Superclass::InputPointType InputPointType
Superclass::InternalMatrixType InternalMatrixType
itkStaticConstMacro(ParametersDimension, unsigned int, 6)
void SetParameters(const ParametersType &parameters) override
void SetRotation(ScalarType angleX, ScalarType angleY, ScalarType angleZ)
void PrintSelf(std::ostream &os, Indent indent) const override
Superclass::InputVnlVectorType InputVnlVectorType
void GetJacobian(const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const override
Superclass::NumberOfParametersType NumberOfParametersType
Superclass::TranslationType TranslationType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
virtual void PrecomputeJacobianOfSpatialJacobian(void)
Superclass::InputVectorType InputVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::ParametersType ParametersType
AdvancedEuler3DTransform(const Self &)
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
void SetIdentity(void) override
const ParametersType & GetParameters(void) const override
void ComputeMatrix(void) override
void ComputeMatrixParameters(void) override
Superclass::OutputVectorType OutputVectorType
Superclass::SpatialJacobianType SpatialJacobianType
Superclass::InverseMatrixType InverseMatrixType
Superclass::SpatialHessianType SpatialHessianType
SmartPointer< const Self > ConstPointer
Superclass::OutputPointType OutputPointType
AdvancedEuler3DTransform(const MatrixType &matrix, const OutputPointType &offset)
void operator=(const Self &)
AdvancedRigid3DTransform< TScalarType > Superclass
Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
AdvancedRigid3DTransform of a vector space (e.g. space coordinates)
Superclass::ParametersType ParametersType
Superclass::InverseMatrixType InverseMatrixType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::InternalMatrixType InternalMatrixType
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::SpatialHessianType SpatialHessianType
Superclass::SpatialJacobianType SpatialJacobianType
Superclass::NumberOfParametersType NumberOfParametersType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::OutputVectorType OutputVectorType
Superclass::TranslationType TranslationType
Superclass::InputVectorType InputVectorType
Superclass::OutputPointType OutputPointType
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::InputPointType InputPointType


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo