Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
src
Components
ImageSamplers
RandomCoordinate
elxRandomCoordinateSampler.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 __elxRandomCoordinateSampler_h
16
#define __elxRandomCoordinateSampler_h
17
18
#include "
itkImageRandomCoordinateSampler.h
"
19
#include "
elxIncludes.h
"
20
21
namespace
elastix
22
{
23
24
using namespace
itk;
25
76
template
<
class
TElastix >
77
class
RandomCoordinateSampler
:
78
public
79
ImageRandomCoordinateSampler
<
80
ITK_TYPENAME elx::ImageSamplerBase<TElastix>::InputImageType >,
81
public
82
elx::ImageSamplerBase
<TElastix>
83
{
84
public
:
85
87
typedef
RandomCoordinateSampler
Self
;
88
typedef
ImageRandomCoordinateSampler
<
89
typename
elx::ImageSamplerBase<TElastix>::InputImageType
>
Superclass1
;
90
typedef
elx::ImageSamplerBase<TElastix>
Superclass2
;
91
typedef
SmartPointer<Self>
Pointer
;
92
typedef
SmartPointer<const Self>
ConstPointer
;
93
95
itkNewMacro(
Self
);
96
98
itkTypeMacro(
RandomCoordinateSampler
,
ImageRandomCoordinateSampler
);
99
104
elxClassNameMacro
(
"RandomCoordinate"
);
105
107
typedef
typename
Superclass1::DataObjectPointer
DataObjectPointer
;
108
typedef
typename
Superclass1::OutputVectorContainerType
OutputVectorContainerType
;
109
typedef
typename
Superclass1::OutputVectorContainerPointer
OutputVectorContainerPointer
;
110
typedef
typename
Superclass1::InputImageType
InputImageType
;
111
typedef
typename
Superclass1::InputImagePointer
InputImagePointer
;
112
typedef
typename
Superclass1::InputImageConstPointer
InputImageConstPointer
;
113
typedef
typename
Superclass1::InputImageRegionType
InputImageRegionType
;
114
typedef
typename
Superclass1::InputImagePixelType
InputImagePixelType
;
115
typedef
typename
Superclass1::ImageSampleType
ImageSampleType
;
116
typedef
typename
Superclass1::ImageSampleContainerType
ImageSampleContainerType
;
117
typedef
typename
Superclass1::MaskType
MaskType
;
118
typedef
typename
Superclass1::InputImageIndexType
InputImageIndexType
;
119
typedef
typename
Superclass1::InputImagePointType
InputImagePointType
;
120
typedef
typename
Superclass1::InputImageSizeType
InputImageSizeType
;
121
typedef
typename
Superclass1::InputImageSpacingType
InputImageSpacingType
;
122
typedef
typename
Superclass1::InputImagePointValueType
InputImagePointValueType
;
123
typedef
typename
Superclass1::ImageSampleValueType
ImageSampleValueType
;
124
127
typedef
typename
Superclass1::CoordRepType
CoordRepType
;
128
typedef
typename
Superclass1::InterpolatorType
InterpolatorType
;
129
typedef
typename
Superclass1::DefaultInterpolatorType
DefaultInterpolatorType
;
130
132
itkStaticConstMacro( InputImageDimension,
unsigned
int
, Superclass1::InputImageDimension );
133
135
typedef
typename
Superclass2::ElastixType
ElastixType
;
136
typedef
typename
Superclass2::ElastixPointer
ElastixPointer
;
137
typedef
typename
Superclass2::ConfigurationType
ConfigurationType
;
138
typedef
typename
Superclass2::ConfigurationPointer
ConfigurationPointer
;
139
typedef
typename
Superclass2::RegistrationType
RegistrationType
;
140
typedef
typename
Superclass2::RegistrationPointer
RegistrationPointer
;
141
typedef
typename
Superclass2::ITKBaseType
ITKBaseType
;
142
148
virtual
void
BeforeEachResolution(
void
);
149
150
protected
:
151
153
RandomCoordinateSampler
() {}
155
virtual
~RandomCoordinateSampler
() {}
156
157
private
:
158
160
RandomCoordinateSampler
(
const
Self& );
// purposely not implemented
162
void
operator=(
const
Self& );
// purposely not implemented
163
164
};
// end class RandomCoordinateSampler
165
166
167
}
// end namespace elastix
168
169
#ifndef ITK_MANUAL_INSTANTIATION
170
#include "elxRandomCoordinateSampler.hxx"
171
#endif
172
173
#endif // end #ifndef __elxRandomCoordinateSampler_h
174
Generated on 27-06-2013 for elastix by
1.8.3.1