Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
src
Components
Transforms
AffineDTITransform
itkAffineDTI3DTransform.h
Go to the documentation of this file.
1
/*======================================================================
2
3
This file is part of the elastix software.
4
5
Copyright (c) University Medical Center Utrecht. All rights reserved.
6
See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7
details.
8
9
This software is distributed WITHOUT ANY WARRANTY; without even
10
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11
PURPOSE. See the above copyright notices for more information.
12
13
======================================================================*/
14
15
/*=========================================================================
16
17
Program: Insight Segmentation & Registration Toolkit
18
Module: $RCSfile: itkAffineDTI3DTransform.h,v $
19
Language: C++
20
Date: $Date: 2008-10-13 15:36:31 $
21
Version: $Revision: 1.14 $
22
23
Copyright (c) Insight Software Consortium. All rights reserved.
24
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
25
26
This software is distributed WITHOUT ANY WARRANTY; without even
27
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
28
PURPOSE. See the above copyright notices for more information.
29
30
=========================================================================*/
31
#ifndef __itkAffineDTI3DTransform_h
32
#define __itkAffineDTI3DTransform_h
33
34
#include <iostream>
35
#include "
itkAdvancedMatrixOffsetTransformBase.h
"
36
37
namespace
itk
38
{
39
74
template
<
class
TScalarType =
double
>
75
// Data type for scalars (float or double)
76
class
AffineDTI3DTransform
:
77
public
AdvancedMatrixOffsetTransformBase
< TScalarType, 3, 3 >
78
{
79
public
:
80
82
typedef
AffineDTI3DTransform
Self
;
83
typedef
AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >
Superclass
;
84
typedef
SmartPointer< Self >
Pointer
;
85
typedef
SmartPointer< const Self >
ConstPointer
;
86
88
itkNewMacro(
Self
);
89
91
itkTypeMacro(
AffineDTI3DTransform
,
AdvancedMatrixOffsetTransformBase
);
92
94
itkStaticConstMacro
( SpaceDimension,
unsigned
int
, 3 );
95
itkStaticConstMacro
( InputSpaceDimension,
unsigned
int
, 3 );
96
itkStaticConstMacro
( OutputSpaceDimension,
unsigned
int
, 3 );
97
itkStaticConstMacro
( ParametersDimension,
unsigned
int
, 12 );
98
99
typedef
typename
Superclass::ParametersType
ParametersType
;
100
typedef
typename
Superclass::NumberOfParametersType
NumberOfParametersType
;
101
typedef
typename
Superclass::JacobianType
JacobianType
;
102
typedef
typename
Superclass::ScalarType
ScalarType
;
103
typedef
typename
Superclass::InputVectorType
InputVectorType
;
104
typedef
typename
Superclass::OutputVectorType
OutputVectorType
;
105
typedef
typename
Superclass::InputCovariantVectorType
InputCovariantVectorType
;
106
typedef
typename
Superclass::OutputCovariantVectorType
OutputCovariantVectorType
;
107
typedef
typename
Superclass::InputVnlVectorType
InputVnlVectorType
;
108
typedef
typename
Superclass::OutputVnlVectorType
OutputVnlVectorType
;
109
typedef
typename
Superclass::InputPointType
InputPointType
;
110
typedef
typename
Superclass::OutputPointType
OutputPointType
;
111
typedef
typename
Superclass::MatrixType
MatrixType
;
112
typedef
typename
Superclass::InverseMatrixType
InverseMatrixType
;
113
typedef
typename
Superclass::CenterType
CenterType
;
114
typedef
typename
Superclass::TranslationType
TranslationType
;
115
typedef
typename
Superclass::OffsetType
OffsetType
;
116
typedef
typename
Superclass::ScalarType
AngleType
;
117
118
typedef
typename
Superclass
119
::NonZeroJacobianIndicesType
NonZeroJacobianIndicesType
;
120
typedef
typename
Superclass::SpatialJacobianType
SpatialJacobianType
;
121
typedef
typename
Superclass
122
::JacobianOfSpatialJacobianType
JacobianOfSpatialJacobianType
;
123
typedef
typename
Superclass::SpatialHessianType
SpatialHessianType
;
124
typedef
typename
Superclass
125
::JacobianOfSpatialHessianType
JacobianOfSpatialHessianType
;
126
typedef
typename
Superclass::InternalMatrixType
InternalMatrixType
;
127
128
typedef
FixedArray< ScalarType >
ScalarArrayType
;
129
135
void
SetParameters
(
const
ParametersType
& parameters );
136
137
const
ParametersType
&
GetParameters
(
void
)
const
;
138
140
virtual
void
GetJacobian
(
141
const
InputPointType
&,
142
JacobianType
&,
143
NonZeroJacobianIndicesType
& )
const
;
144
145
virtual
void
SetIdentity
(
void
);
146
147
protected
:
148
149
AffineDTI3DTransform
();
150
AffineDTI3DTransform
(
const
MatrixType
& matrix,
151
const
OutputPointType
& offset );
152
AffineDTI3DTransform
(
unsigned
int
outputSpaceDims,
153
unsigned
int
paramsSpaceDims );
154
155
~AffineDTI3DTransform
(){}
156
157
void
PrintSelf
( std::ostream & os, Indent indent )
const
;
158
160
void
SetVarAngleScaleShear
(
161
ScalarArrayType
angle,
162
ScalarArrayType
shear,
163
ScalarArrayType
scale );
164
166
void
ComputeMatrix
(
void
);
167
168
void
ComputeMatrixParameters
(
void
);
169
171
virtual
void
PrecomputeJacobianOfSpatialJacobian
(
void
);
172
173
private
:
174
175
AffineDTI3DTransform
(
const
Self
& );
// purposely not implemented
176
void
operator=
(
const
Self
& );
// purposely not implemented
177
178
ScalarArrayType
m_Angle
;
179
ScalarArrayType
m_Shear
;
180
ScalarArrayType
m_Scale
;
181
182
};
183
184
}
// namespace itk
185
186
#ifndef ITK_MANUAL_INSTANTIATION
187
#include "itkAffineDTI3DTransform.hxx"
188
#endif
189
190
#endif
/* __itkAffineDTI3DTransform_h */
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::ScalarType
Superclass::ScalarType ScalarType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:118
itk::AffineDTI3DTransform::InternalMatrixType
Superclass::InternalMatrixType InternalMatrixType
Definition:
itkAffineDTI3DTransform.h:126
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::SpatialHessianType
Superclass::SpatialHessianType SpatialHessianType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:139
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::InternalMatrixType
Superclass::InternalMatrixType InternalMatrixType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:142
itk::AffineDTI3DTransform::ScalarType
Superclass::ScalarType ScalarType
Definition:
itkAffineDTI3DTransform.h:102
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::OutputVectorType
Superclass::OutputVectorType OutputVectorType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:123
itk::AffineDTI3DTransform::OutputVnlVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Definition:
itkAffineDTI3DTransform.h:108
itk::AdvancedTransform::NonZeroJacobianIndicesType
std::vector< unsigned long > NonZeroJacobianIndicesType
Definition:
itkAdvancedTransform.h:136
itk::AffineDTI3DTransform::JacobianType
Superclass::JacobianType JacobianType
Definition:
itkAffineDTI3DTransform.h:101
itk::AffineDTI3DTransform::OutputCovariantVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Definition:
itkAffineDTI3DTransform.h:106
itk::AffineDTI3DTransform::AffineDTI3DTransform
AffineDTI3DTransform()
itk::AffineDTI3DTransform::GetParameters
const ParametersType & GetParameters(void) const
itk::AffineDTI3DTransform::InverseMatrixType
Superclass::InverseMatrixType InverseMatrixType
Definition:
itkAffineDTI3DTransform.h:112
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::NonZeroJacobianIndicesType
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:135
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::OffsetType
OutputVectorType OffsetType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:156
itk::AffineDTI3DTransform::ConstPointer
SmartPointer< const Self > ConstPointer
Definition:
itkAffineDTI3DTransform.h:85
itk::AffineDTI3DTransform::CenterType
Superclass::CenterType CenterType
Definition:
itkAffineDTI3DTransform.h:113
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::SpatialJacobianType
Superclass::SpatialJacobianType SpatialJacobianType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:136
itk::AffineDTI3DTransform::Pointer
SmartPointer< Self > Pointer
Definition:
itkAffineDTI3DTransform.h:84
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::InputVnlVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:128
itk::AffineDTI3DTransform::SpatialHessianType
Superclass::SpatialHessianType SpatialHessianType
Definition:
itkAffineDTI3DTransform.h:123
itk::AffineDTI3DTransform::InputCovariantVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
Definition:
itkAffineDTI3DTransform.h:105
itk::AffineDTI3DTransform::GetJacobian
virtual void GetJacobian(const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const
itk::AffineDTI3DTransform::OutputPointType
Superclass::OutputPointType OutputPointType
Definition:
itkAffineDTI3DTransform.h:110
itk::AffineDTI3DTransform::SetParameters
void SetParameters(const ParametersType ¶meters)
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::NumberOfParametersType
Superclass::NumberOfParametersType NumberOfParametersType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:120
itk::AffineDTI3DTransform::InputPointType
Superclass::InputPointType InputPointType
Definition:
itkAffineDTI3DTransform.h:109
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::InputCovariantVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:125
itk::AffineDTI3DTransform::Superclass
AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 > Superclass
Definition:
itkAffineDTI3DTransform.h:83
itk::AffineDTI3DTransform::m_Angle
ScalarArrayType m_Angle
Definition:
itkAffineDTI3DTransform.h:178
itk::AffineDTI3DTransform::PrecomputeJacobianOfSpatialJacobian
virtual void PrecomputeJacobianOfSpatialJacobian(void)
itk::AffineDTI3DTransform::NonZeroJacobianIndicesType
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Definition:
itkAffineDTI3DTransform.h:119
itk::AffineDTI3DTransform::OffsetType
Superclass::OffsetType OffsetType
Definition:
itkAffineDTI3DTransform.h:115
itk::AffineDTI3DTransform::SetVarAngleScaleShear
void SetVarAngleScaleShear(ScalarArrayType angle, ScalarArrayType shear, ScalarArrayType scale)
itk::AffineDTI3DTransform::InputVnlVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Definition:
itkAffineDTI3DTransform.h:107
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::OutputCovariantVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:127
itk::AdvancedTransform::ParametersType
Superclass::ParametersType ParametersType
Definition:
itkAdvancedTransform.h:107
itk::AdvancedTransform
Transform maps points, vectors and covariant vectors from an input space to an output space...
Definition:
itkAdvancedTransform.h:82
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::OutputVnlVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:129
itkAdvancedMatrixOffsetTransformBase.h
itk::AffineDTI3DTransform
AffineDTI3DTransform of a vector space (e.g. space coordinates)
Definition:
itkAffineDTI3DTransform.h:76
itk::AffineDTI3DTransform::~AffineDTI3DTransform
~AffineDTI3DTransform()
Definition:
itkAffineDTI3DTransform.h:155
itk::AdvancedTransform::JacobianType
Superclass::JacobianType JacobianType
Definition:
itkAdvancedTransform.h:110
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::InverseMatrixType
Matrix< TScalarType, itkGetStaticConstMacro(InputSpaceDimension), itkGetStaticConstMacro(OutputSpaceDimension) > InverseMatrixType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:152
itk::AffineDTI3DTransform::JacobianOfSpatialJacobianType
Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Definition:
itkAffineDTI3DTransform.h:122
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::OutputPointType
Superclass::OutputPointType OutputPointType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:131
itk::AffineDTI3DTransform::ParametersType
Superclass::ParametersType ParametersType
Definition:
itkAffineDTI3DTransform.h:99
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::TranslationType
OutputVectorType TranslationType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:157
itk::AffineDTI3DTransform::m_Scale
ScalarArrayType m_Scale
Definition:
itkAffineDTI3DTransform.h:180
itk::AffineDTI3DTransform::MatrixType
Superclass::MatrixType MatrixType
Definition:
itkAffineDTI3DTransform.h:111
itk::AffineDTI3DTransform::operator=
void operator=(const Self &)
itk::AffineDTI3DTransform::TranslationType
Superclass::TranslationType TranslationType
Definition:
itkAffineDTI3DTransform.h:114
itk::AffineDTI3DTransform::OutputVectorType
Superclass::OutputVectorType OutputVectorType
Definition:
itkAffineDTI3DTransform.h:104
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::JacobianType
Superclass::JacobianType JacobianType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:121
itk::AffineDTI3DTransform::AngleType
Superclass::ScalarType AngleType
Definition:
itkAffineDTI3DTransform.h:116
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::JacobianOfSpatialHessianType
Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:141
itk::AdvancedTransform::InputPointType
Superclass::InputPointType InputPointType
Definition:
itkAdvancedTransform.h:119
itk::AffineDTI3DTransform::ComputeMatrix
void ComputeMatrix(void)
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::JacobianOfSpatialJacobianType
Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:138
itk::AdvancedMatrixOffsetTransformBase
Definition:
itkAdvancedMatrixOffsetTransformBase.h:93
itk::AffineDTI3DTransform::Self
AffineDTI3DTransform Self
Definition:
itkAffineDTI3DTransform.h:82
itk::AffineDTI3DTransform::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, 3)
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::MatrixType
Matrix< TScalarType, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension) > MatrixType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:147
itk::AffineDTI3DTransform::InputVectorType
Superclass::InputVectorType InputVectorType
Definition:
itkAffineDTI3DTransform.h:103
itk::AffineDTI3DTransform::NumberOfParametersType
Superclass::NumberOfParametersType NumberOfParametersType
Definition:
itkAffineDTI3DTransform.h:100
itk::AdvancedTransform::OutputPointType
Superclass::OutputPointType OutputPointType
Definition:
itkAdvancedTransform.h:120
itk::AffineDTI3DTransform::m_Shear
ScalarArrayType m_Shear
Definition:
itkAffineDTI3DTransform.h:179
itk::AffineDTI3DTransform::JacobianOfSpatialHessianType
Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Definition:
itkAffineDTI3DTransform.h:125
itk::AffineDTI3DTransform::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::InputPointType
Superclass::InputPointType InputPointType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:130
itk::AffineDTI3DTransform::SetIdentity
virtual void SetIdentity(void)
itk::AffineDTI3DTransform::ComputeMatrixParameters
void ComputeMatrixParameters(void)
itk::AffineDTI3DTransform::ScalarArrayType
FixedArray< ScalarType > ScalarArrayType
Definition:
itkAffineDTI3DTransform.h:128
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::InputVectorType
Superclass::InputVectorType InputVectorType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:122
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::ParametersType
Superclass::ParametersType ParametersType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:119
itk::AffineDTI3DTransform::SpatialJacobianType
Superclass::SpatialJacobianType SpatialJacobianType
Definition:
itkAffineDTI3DTransform.h:120
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::CenterType
InputPointType CenterType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:155
Generated on 27-04-2014 for elastix by
1.8.6