![]() |
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 __ImageRandomSampler_h 00016 #define __ImageRandomSampler_h 00017 00018 #include "itkImageRandomSamplerBase.h" 00019 00020 00021 namespace itk 00022 { 00023 00037 template < class TInputImage > 00038 class ImageRandomSampler : 00039 public ImageRandomSamplerBase< TInputImage > 00040 { 00041 public: 00042 00044 typedef ImageRandomSampler Self; 00045 typedef ImageRandomSamplerBase< TInputImage > Superclass; 00046 typedef SmartPointer<Self> Pointer; 00047 typedef SmartPointer<const Self> ConstPointer; 00048 00050 itkNewMacro( Self ); 00051 00053 itkTypeMacro( ImageRandomSampler, ImageRandomSamplerBase ); 00054 00056 typedef typename Superclass::DataObjectPointer DataObjectPointer; 00057 typedef typename Superclass::OutputVectorContainerType OutputVectorContainerType; 00058 typedef typename Superclass::OutputVectorContainerPointer OutputVectorContainerPointer; 00059 typedef typename Superclass::InputImageType InputImageType; 00060 typedef typename Superclass::InputImagePointer InputImagePointer; 00061 typedef typename Superclass::InputImageConstPointer InputImageConstPointer; 00062 typedef typename Superclass::InputImageRegionType InputImageRegionType; 00063 typedef typename Superclass::InputImagePixelType InputImagePixelType; 00064 typedef typename Superclass::ImageSampleType ImageSampleType; 00065 typedef typename Superclass::ImageSampleContainerType ImageSampleContainerType; 00066 typedef typename Superclass::MaskType MaskType; 00067 00069 itkStaticConstMacro( InputImageDimension, unsigned int, 00070 Superclass::InputImageDimension ); 00071 00073 typedef typename InputImageType::IndexType InputImageIndexType; 00074 typedef typename InputImageType::PointType InputImagePointType; 00075 00076 protected: 00077 00079 ImageRandomSampler(){}; 00081 virtual ~ImageRandomSampler() {}; 00082 00084 virtual void GenerateData( void ); 00085 00086 private: 00087 00089 ImageRandomSampler( const Self& ); // purposely not implemented 00091 void operator=( const Self& ); // purposely not implemented 00092 00093 }; // end class ImageRandomSampler 00094 00095 00096 } // end namespace itk 00097 00098 #ifndef ITK_MANUAL_INSTANTIATION 00099 #include "itkImageRandomSampler.txx" 00100 #endif 00101 00102 #endif // end #ifndef __ImageRandomSampler_h 00103
Generated on 24-10-2011 for elastix by ![]() |
![]() |