![]() |
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 __elxFullSampler_h 00016 #define __elxFullSampler_h 00017 00018 #include "itkImageFullSampler.h" 00019 #include "elxIncludes.h" 00020 00021 namespace elastix 00022 { 00023 00024 using namespace itk; 00025 00042 template < class TElastix > 00043 class FullSampler : 00044 public 00045 ImageFullSampler< 00046 ITK_TYPENAME elx::ImageSamplerBase<TElastix>::InputImageType >, 00047 public 00048 elx::ImageSamplerBase<TElastix> 00049 { 00050 public: 00051 00053 typedef FullSampler Self; 00054 typedef ImageFullSampler< 00055 typename elx::ImageSamplerBase<TElastix>::InputImageType > Superclass1; 00056 typedef elx::ImageSamplerBase<TElastix> Superclass2; 00057 typedef SmartPointer<Self> Pointer; 00058 typedef SmartPointer<const Self> ConstPointer; 00059 00061 itkNewMacro(Self); 00062 00064 itkTypeMacro( FullSampler, ImageFullSampler ); 00065 00070 elxClassNameMacro( "Full" ); 00071 00073 typedef typename Superclass1::DataObjectPointer DataObjectPointer; 00074 typedef typename Superclass1::OutputVectorContainerType OutputVectorContainerType; 00075 typedef typename Superclass1::OutputVectorContainerPointer OutputVectorContainerPointer; 00076 typedef typename Superclass1::InputImageType InputImageType; 00077 typedef typename Superclass1::InputImagePointer InputImagePointer; 00078 typedef typename Superclass1::InputImageConstPointer InputImageConstPointer; 00079 typedef typename Superclass1::InputImageRegionType InputImageRegionType; 00080 typedef typename Superclass1::InputImagePixelType InputImagePixelType; 00081 typedef typename Superclass1::ImageSampleType ImageSampleType; 00082 typedef typename Superclass1::ImageSampleContainerType ImageSampleContainerType; 00083 typedef typename Superclass1::MaskType MaskType; 00084 typedef typename Superclass1::InputImageIndexType InputImageIndexType; 00085 typedef typename Superclass1::InputImagePointType InputImagePointType; 00086 00088 itkStaticConstMacro( InputImageDimension, unsigned int, Superclass1::InputImageDimension ); 00089 00091 typedef typename Superclass2::ElastixType ElastixType; 00092 typedef typename Superclass2::ElastixPointer ElastixPointer; 00093 typedef typename Superclass2::ConfigurationType ConfigurationType; 00094 typedef typename Superclass2::ConfigurationPointer ConfigurationPointer; 00095 typedef typename Superclass2::RegistrationType RegistrationType; 00096 typedef typename Superclass2::RegistrationPointer RegistrationPointer; 00097 typedef typename Superclass2::ITKBaseType ITKBaseType; 00098 00099 protected: 00100 00102 FullSampler() {} 00104 virtual ~FullSampler() {} 00105 00106 private: 00107 00109 FullSampler( const Self& ); // purposely not implemented 00111 void operator=( const Self& ); // purposely not implemented 00112 00113 }; // end class FullSampler 00114 00115 00116 } // end namespace elastix 00117 00118 #ifndef ITK_MANUAL_INSTANTIATION 00119 #include "elxFullSampler.hxx" 00120 #endif 00121 00122 #endif // end #ifndef __elxFullSampler_h 00123
Generated on 24-05-2012 for elastix by ![]() |
![]() |