![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
00001 /*====================================================================== 00002 00003 This file is part of the elastix software. 00004 00005 Copyright (c) University Medical Center Utrecht. All rights reserved. 00006 See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for 00007 details. 00008 00009 This software is distributed WITHOUT ANY WARRANTY; without even 00010 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00011 PURPOSE. See the above copyright notices for more information. 00012 00013 ======================================================================*/ 00014 00015 #ifndef __elxBSplineResampleInterpolator_h 00016 #define __elxBSplineResampleInterpolator_h 00017 00018 #include "itkBSplineInterpolateImageFunction.h" 00019 #include "elxIncludes.h" 00020 00021 namespace elastix 00022 { 00023 using namespace itk; 00024 00052 template < class TElastix > 00053 class BSplineResampleInterpolator : 00054 public 00055 BSplineInterpolateImageFunction< 00056 ITK_TYPENAME ResampleInterpolatorBase<TElastix>::InputImageType, 00057 ITK_TYPENAME ResampleInterpolatorBase<TElastix>::CoordRepType, 00058 double >, //CoefficientType 00059 public ResampleInterpolatorBase<TElastix> 00060 { 00061 public: 00062 00064 typedef BSplineResampleInterpolator Self; 00065 typedef BSplineInterpolateImageFunction< 00066 typename ResampleInterpolatorBase<TElastix>::InputImageType, 00067 typename ResampleInterpolatorBase<TElastix>::CoordRepType, 00068 double > Superclass1; 00069 typedef ResampleInterpolatorBase<TElastix> Superclass2; 00070 typedef SmartPointer<Self> Pointer; 00071 typedef SmartPointer<const Self> ConstPointer; 00072 00074 itkNewMacro( Self ); 00075 00077 itkTypeMacro( BSplineResampleInterpolator, BSplineInterpolateImageFunction ); 00078 00083 elxClassNameMacro( "FinalBSplineInterpolator" ); 00084 00086 itkStaticConstMacro( ImageDimension, unsigned int,Superclass1::ImageDimension ); 00087 00089 typedef typename Superclass1::OutputType OutputType; 00090 typedef typename Superclass1::InputImageType InputImageType; 00091 typedef typename Superclass1::IndexType IndexType; 00092 typedef typename Superclass1::ContinuousIndexType ContinuousIndexType; 00093 typedef typename Superclass1::PointType PointType; 00094 typedef typename Superclass1::Iterator Iterator; 00095 typedef typename Superclass1::CoefficientDataType CoefficientDataType; 00096 typedef typename Superclass1::CoefficientImageType CoefficientImageType; 00097 typedef typename Superclass1::CoefficientFilter CoefficientFilter; 00098 typedef typename Superclass1::CoefficientFilterPointer CoefficientFilterPointer; 00099 typedef typename Superclass1::CovariantVectorType CovariantVectorType; 00100 00102 typedef typename Superclass2::ElastixType ElastixType; 00103 typedef typename Superclass2::ElastixPointer ElastixPointer; 00104 typedef typename Superclass2::ConfigurationType ConfigurationType; 00105 typedef typename Superclass2::ConfigurationPointer ConfigurationPointer; 00106 typedef typename Superclass2::RegistrationType RegistrationType; 00107 typedef typename Superclass2::RegistrationPointer RegistrationPointer; 00108 typedef typename Superclass2::ITKBaseType ITKBaseType; 00109 00113 virtual void BeforeRegistration( void ); 00114 00116 virtual void ReadFromFile( void ); 00117 00119 virtual void WriteToFile( void ) const; 00120 00121 protected: 00122 00124 BSplineResampleInterpolator() {} 00126 virtual ~BSplineResampleInterpolator() {} 00127 00128 private: 00129 00131 BSplineResampleInterpolator( const Self& ); // purposely not implemented 00133 void operator=( const Self& ); // purposely not implemented 00134 00135 }; // end class BSplineResampleInterpolator 00136 00137 00138 } // end namespace elastix 00139 00140 #ifndef ITK_MANUAL_INSTANTIATION 00141 #include "elxBSplineResampleInterpolator.hxx" 00142 #endif 00143 00144 #endif // end __elxBSplineResampleInterpolator_h 00145
Generated on 24-05-2012 for elastix by ![]() |
![]() |