Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
src
Components
ImageSamplers
MultInputRandomCoordinate
elxMultiInputRandomCoordinateSampler.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 __elxMultiInputRandomCoordinateSampler_h
16
#define __elxMultiInputRandomCoordinateSampler_h
17
18
#include "
itkMultiInputImageRandomCoordinateSampler.h
"
19
#include "
elxIncludes.h
"
20
21
namespace
elastix
22
{
23
24
using namespace
itk;
25
82
template
<
class
TElastix >
83
class
MultiInputRandomCoordinateSampler
:
84
public
85
MultiInputImageRandomCoordinateSampler
<
86
ITK_TYPENAME elx::ImageSamplerBase<TElastix>::InputImageType >,
87
public
88
elx::ImageSamplerBase
<TElastix>
89
{
90
public
:
91
93
typedef
MultiInputRandomCoordinateSampler
Self
;
94
typedef
MultiInputImageRandomCoordinateSampler
<
95
typename
elx::ImageSamplerBase<TElastix>
96
::InputImageType
>
Superclass1
;
97
typedef
elx::ImageSamplerBase<TElastix>
Superclass2
;
98
typedef
SmartPointer<Self>
Pointer
;
99
typedef
SmartPointer<const Self>
ConstPointer
;
100
102
itkNewMacro(
Self
);
103
105
itkTypeMacro(
MultiInputRandomCoordinateSampler
,
MultiInputImageRandomCoordinateSampler
);
106
111
elxClassNameMacro
(
"MultiInputRandomCoordinate"
);
112
114
typedef
typename
Superclass1::DataObjectPointer
DataObjectPointer
;
115
typedef
typename
Superclass1::OutputVectorContainerType
OutputVectorContainerType
;
116
typedef
typename
Superclass1::OutputVectorContainerPointer
OutputVectorContainerPointer
;
117
typedef
typename
Superclass1::InputImageType
InputImageType
;
118
typedef
typename
Superclass1::InputImagePointer
InputImagePointer
;
119
typedef
typename
Superclass1::InputImageConstPointer
InputImageConstPointer
;
120
typedef
typename
Superclass1::InputImageRegionType
InputImageRegionType
;
121
typedef
typename
Superclass1::InputImagePixelType
InputImagePixelType
;
122
typedef
typename
Superclass1::ImageSampleType
ImageSampleType
;
123
typedef
typename
Superclass1::ImageSampleContainerType
ImageSampleContainerType
;
124
typedef
typename
Superclass1::MaskType
MaskType
;
125
typedef
typename
Superclass1::InputImageIndexType
InputImageIndexType
;
126
typedef
typename
Superclass1::InputImagePointType
InputImagePointType
;
127
typedef
typename
Superclass1::InputImageSizeType
InputImageSizeType
;
128
typedef
typename
Superclass1::InputImageSpacingType
InputImageSpacingType
;
129
typedef
typename
Superclass1::InputImagePointValueType
InputImagePointValueType
;
130
typedef
typename
Superclass1::ImageSampleValueType
ImageSampleValueType
;
131
134
typedef
typename
Superclass1::CoordRepType
CoordRepType
;
135
typedef
typename
Superclass1::InterpolatorType
InterpolatorType
;
136
typedef
typename
Superclass1::DefaultInterpolatorType
DefaultInterpolatorType
;
137
139
itkStaticConstMacro( InputImageDimension,
unsigned
int
, Superclass1::InputImageDimension );
140
142
typedef
typename
Superclass2::ElastixType
ElastixType
;
143
typedef
typename
Superclass2::ElastixPointer
ElastixPointer
;
144
typedef
typename
Superclass2::ConfigurationType
ConfigurationType
;
145
typedef
typename
Superclass2::ConfigurationPointer
ConfigurationPointer
;
146
typedef
typename
Superclass2::RegistrationType
RegistrationType
;
147
typedef
typename
Superclass2::RegistrationPointer
RegistrationPointer
;
148
typedef
typename
Superclass2::ITKBaseType
ITKBaseType
;
149
155
virtual
void
BeforeEachResolution(
void
);
156
157
protected
:
158
160
MultiInputRandomCoordinateSampler
() {}
162
virtual
~MultiInputRandomCoordinateSampler
() {}
163
164
private
:
165
167
MultiInputRandomCoordinateSampler
(
const
Self& );
// purposely not implemented
169
void
operator=(
const
Self& );
// purposely not implemented
170
171
};
// end class MultiInputRandomCoordinateSampler
172
173
174
}
// end namespace elastix
175
176
#ifndef ITK_MANUAL_INSTANTIATION
177
#include "elxMultiInputRandomCoordinateSampler.hxx"
178
#endif
179
180
#endif // end #ifndef __elxMultiInputRandomCoordinateSampler_h
181
Generated on 27-06-2013 for elastix by
1.8.3.1