Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
src
Components
Optimizers
RSGDEachParameterApart
elxRSGDEachParameterApart.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
#ifndef __elxRSGDEachParameterApart_h
16
#define __elxRSGDEachParameterApart_h
17
18
#include "
itkRSGDEachParameterApartOptimizer.h
"
19
#include "
elxIncludes.h
"
20
21
namespace
elastix
22
{
23
using namespace
itk;
24
69
template
<
class
TElastix>
70
class
RSGDEachParameterApart
:
71
public
72
itk::RSGDEachParameterApartOptimizer
,
73
public
74
OptimizerBase
<TElastix>
75
{
76
public
:
77
79
typedef
RSGDEachParameterApart
Self
;
80
typedef
RSGDEachParameterApartOptimizer
Superclass1
;
81
typedef
OptimizerBase<TElastix>
Superclass2
;
82
typedef
SmartPointer<Self>
Pointer
;
83
typedef
SmartPointer<const Self>
ConstPointer
;
84
86
itkNewMacro(
Self
);
87
89
itkTypeMacro(
RSGDEachParameterApart
,
RSGDEachParameterApartOptimizer
);
90
95
elxClassNameMacro
(
"RSGDEachParameterApart"
);
96
98
typedef
Superclass1::CostFunctionType
CostFunctionType
;
99
typedef
Superclass1::CostFunctionPointer
CostFunctionPointer
;
100
102
typedef
typename
Superclass2::ElastixType
ElastixType
;
103
typedef
typename
Superclass2::ElastixPointer
ElastixPointer
;
104
typedef
typename
Superclass2::ConfigurationType
ConfigurationType
;
105
typedef
typename
Superclass2::ConfigurationPointer
ConfigurationPointer
;
106
typedef
typename
Superclass2::RegistrationType
RegistrationType
;
107
typedef
typename
Superclass2::RegistrationPointer
RegistrationPointer
;
108
typedef
typename
Superclass2::ITKBaseType
ITKBaseType
;
109
111
typedef
typename
Superclass1::ParametersType
ParametersType
;
112
114
virtual
void
BeforeRegistration(
void
);
115
virtual
void
BeforeEachResolution(
void
);
116
virtual
void
AfterEachResolution(
void
);
117
virtual
void
AfterEachIteration(
void
);
118
virtual
void
AfterRegistration(
void
);
119
124
virtual
void
SetInitialPosition(
const
ParametersType
& param );
125
126
protected
:
127
128
RSGDEachParameterApart
(){};
129
virtual
~RSGDEachParameterApart
() {};
130
131
private
:
132
133
RSGDEachParameterApart
(
const
Self& );
// purposely not implemented
134
void
operator=(
const
Self& );
// purposely not implemented
135
136
};
// end class RSGDEachParameterApart
137
138
139
}
// end namespace elastix
140
141
#ifndef ITK_MANUAL_INSTANTIATION
142
#include "elxRSGDEachParameterApart.hxx"
143
#endif
144
145
#endif // end #ifndef __elxRSGDEachParameterApart_h
Generated on 21-03-2014 for elastix by
1.8.1.2