go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxMyStandardResampler.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright UMC Utrecht and contributors
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef __elxMyStandardResampler_h
19 #define __elxMyStandardResampler_h
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
22 #include "itkResampleImageFilter.h"
23 
24 namespace elastix
25 {
26 
38 template< class TElastix >
40  public ResamplerBase< TElastix >::ITKBaseType,
41  public ResamplerBase< TElastix >
42 {
43 public:
44 
49  typedef itk::SmartPointer< Self > Pointer;
50  typedef itk::SmartPointer< const Self > ConstPointer;
51 
53  itkNewMacro( Self );
54 
56  itkTypeMacro( MyStandardResampler, ResampleImageFilter );
57 
62  elxClassNameMacro( "DefaultResampler" );
63 
65  typedef typename Superclass1::InputImageType InputImageType;
66  typedef typename Superclass1::OutputImageType OutputImageType;
67  typedef typename Superclass1::InputImagePointer InputImagePointer;
68  typedef typename Superclass1::OutputImagePointer OutputImagePointer;
69  typedef typename Superclass1::InputImageRegionType InputImageRegionType;
70  typedef typename Superclass1::TransformType TransformType;
71  typedef typename Superclass1::TransformPointerType TransformPointerType;
72  typedef typename Superclass1::InterpolatorType InterpolatorType;
73  typedef typename Superclass1::InterpolatorPointerType InterpolatePointerType;
74  typedef typename Superclass1::SizeType SizeType;
75  typedef typename Superclass1::IndexType IndexType;
76  typedef typename Superclass1::PointType PointType;
77  typedef typename Superclass1::PixelType PixelType;
78  typedef typename Superclass1::OutputImageRegionType OutputImageRegionType;
79  typedef typename Superclass1::SpacingType SpacingType;
80  typedef typename Superclass1::OriginPointType OriginPointType;
81 
90 
91  /* Nothing to add. In the baseclass already everything is done what should be done. */
92 
93 protected:
94 
98  virtual ~MyStandardResampler() {}
99 
100 private:
101 
103  MyStandardResampler( const Self & ); // purposely not implemented
105  void operator=( const Self & ); // purposely not implemented
106 
107 };
108 
109 } // end namespace elastix
110 
111 #ifndef ITK_MANUAL_INSTANTIATION
112 #include "elxMyStandardResampler.hxx"
113 #endif
114 
115 #endif // end #ifndef __elxMyStandardResampler_h
Superclass1::PointType PointType
Superclass::ElastixPointer ElastixPointer
Superclass1::OutputImageType OutputImageType
ResamplerBase< TElastix >::ITKBaseType Superclass1
Superclass1::TransformType TransformType
Superclass::RegistrationType RegistrationType
ResamplerBase< TElastix > Superclass2
Superclass::ElastixType ElastixType
Superclass::RegistrationPointer RegistrationPointer
A resampler based on the itk::ResampleImageFilter.
Superclass::ConfigurationType ConfigurationType
Superclass1::IndexType IndexType
Superclass1::OriginPointType OriginPointType
Superclass1::SpacingType SpacingType
itk::SmartPointer< const Self > ConstPointer
Superclass1::OutputImagePointer OutputImagePointer
Superclass1::TransformPointerType TransformPointerType
Superclass2::RegistrationType RegistrationType
void operator=(const Self &)
Superclass1::OutputImageRegionType OutputImageRegionType
Superclass2::ElastixPointer ElastixPointer
Superclass1::InterpolatorType InterpolatorType
Superclass1::InputImageRegionType InputImageRegionType
Superclass2::ConfigurationType ConfigurationType
Superclass1::InterpolatorPointerType InterpolatePointerType
itk::ResampleImageFilter< InputImageType, OutputImageType, CoordRepType > ITKBaseType
itk::SmartPointer< Self > Pointer
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass1::InputImagePointer InputImagePointer
Superclass2::ElastixType ElastixType
Superclass::ConfigurationPointer ConfigurationPointer
Superclass2::ITKBaseType ITKBaseType
elxClassNameMacro("DefaultResampler")
Superclass1::InputImageType InputImageType
Superclass2::RegistrationPointer RegistrationPointer
Superclass1::PixelType PixelType


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo