go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxCUDAResampler.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 #ifndef __elxCUDAResampler_h
15 #define __elxCUDAResampler_h
16 
17 
19 #include "elxIncludes.h"
20 
21 namespace elastix
22 {
23 using namespace itk;
24 
40 template < class TElastix >
43  ITK_TYPENAME ResamplerBase<TElastix>::InputImageType,
44  ITK_TYPENAME ResamplerBase<TElastix>::OutputImageType,
45  ITK_TYPENAME ResamplerBase<TElastix>::CoordRepType >,
46  public ResamplerBase<TElastix>
47 {
48 public:
49 
57  typedef SmartPointer<Self> Pointer;
58  typedef SmartPointer<const Self> ConstPointer;
59 
61  itkNewMacro( Self );
62 
65 
70  elxClassNameMacro( "CUDAResampler" );
71 
82  typedef typename Superclass1::SizeType SizeType;
90 
99 
100  /* . */
101  virtual int BeforeAll( void );
102  virtual void BeforeRegistration( void );
103 
105  virtual void ReadFromFile( void );
106 
108  virtual void WriteToFile( void ) const;
109 
110 protected:
111 
115  virtual ~CUDAResampler() {}
116 
120  virtual void CheckForValidConfiguration( ValidTransformPointer & bSplineTransform );
121 
122 private:
123 
125  CUDAResampler( const Self& ); // purposely not implemented
127  void operator=( const Self& ); // purposely not implemented
128 
129 }; // end class CUDAResampler
130 
131 
132 } // end namespace elastix
133 
134 #ifndef ITK_MANUAL_INSTANTIATION
135 #include "elxCUDAResampler.hxx"
136 #endif
137 
138 #endif // end #ifndef __elxCUDAResampler_h
139 


Generated on 21-03-2014 for elastix by doxygen 1.8.1.2 elastix logo