Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
src
Components
Resamplers
MyStandardResampler
elxMyStandardResampler.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 __elxMyStandardResampler_h
16
#define __elxMyStandardResampler_h
17
18
#include "itkResampleImageFilter.h"
19
#include "
elxIncludes.h
"
20
21
namespace
elastix
22
{
23
using namespace
itk;
24
36
template
<
class
TElastix >
37
class
MyStandardResampler
:
38
public
ResamplerBase
<TElastix>
::ITKBaseType
,
39
public
ResamplerBase
<TElastix>
40
{
41
public
:
42
44
typedef
MyStandardResampler
Self
;
45
typedef
typename
ResamplerBase<TElastix>::ITKBaseType
Superclass1
;
46
typedef
ResamplerBase<TElastix>
Superclass2
;
47
typedef
SmartPointer<Self>
Pointer
;
48
typedef
SmartPointer<const Self>
ConstPointer
;
49
51
itkNewMacro(
Self
);
52
54
itkTypeMacro(
MyStandardResampler
, ResampleImageFilter );
55
60
elxClassNameMacro
(
"DefaultResampler"
);
61
63
typedef
typename
Superclass1::InputImageType
InputImageType
;
64
typedef
typename
Superclass1::OutputImageType
OutputImageType
;
65
typedef
typename
Superclass1::InputImagePointer
InputImagePointer
;
66
typedef
typename
Superclass1::OutputImagePointer
OutputImagePointer
;
67
typedef
typename
Superclass1::InputImageRegionType
InputImageRegionType
;
68
typedef
typename
Superclass1::TransformType
TransformType
;
69
typedef
typename
Superclass1::TransformPointerType
TransformPointerType
;
70
typedef
typename
Superclass1::InterpolatorType
InterpolatorType
;
71
typedef
typename
Superclass1::InterpolatorPointerType
InterpolatePointerType
;
72
typedef
typename
Superclass1::SizeType
SizeType
;
73
typedef
typename
Superclass1::IndexType
IndexType
;
74
typedef
typename
Superclass1::PointType
PointType
;
75
typedef
typename
Superclass1::PixelType
PixelType
;
76
typedef
typename
Superclass1::OutputImageRegionType
OutputImageRegionType
;
77
typedef
typename
Superclass1::SpacingType
SpacingType
;
78
typedef
typename
Superclass1::OriginPointType
OriginPointType
;
79
81
typedef
typename
Superclass2::ElastixType
ElastixType
;
82
typedef
typename
Superclass2::ElastixPointer
ElastixPointer
;
83
typedef
typename
Superclass2::ConfigurationType
ConfigurationType
;
84
typedef
typename
Superclass2::ConfigurationPointer
ConfigurationPointer
;
85
typedef
typename
Superclass2::RegistrationType
RegistrationType
;
86
typedef
typename
Superclass2::RegistrationPointer
RegistrationPointer
;
87
typedef
typename
Superclass2::ITKBaseType
ITKBaseType
;
88
89
/* Nothing to add. In the baseclass already everything is done what should be done. */
90
91
protected
:
92
94
MyStandardResampler
() {}
96
virtual
~MyStandardResampler
() {}
97
98
private
:
99
101
MyStandardResampler
(
const
Self& );
// purposely not implemented
103
void
operator=(
const
Self& );
// purposely not implemented
104
105
};
// end class MyStandardResampler
106
107
108
}
// end namespace elastix
109
110
#ifndef ITK_MANUAL_INSTANTIATION
111
#include "elxMyStandardResampler.hxx"
112
#endif
113
114
#endif // end #ifndef __elxMyStandardResampler_h
Generated on 27-06-2013 for elastix by
1.8.3.1