Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkImageRegionMultidimensionalSplitter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkImageRegionMultidimensionalSplitter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:29:12 $ 00007 Version: $Revision: 1.7 $ 00008 00009 Copyright (c) Insight Software Consortium. All rights reserved. 00010 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 #ifndef __itkImageRegionMultidimensionalSplitter_h 00018 #define __itkImageRegionMultidimensionalSplitter_h 00019 00020 #include "itkObject.h" 00021 #include "itkRegion.h" 00022 #include "itkObjectFactory.h" 00023 #include "itkIndex.h" 00024 #include "itkSize.h" 00025 #include "itkImageRegionSplitter.h" 00026 00027 namespace itk 00028 { 00029 00059 template <unsigned int VImageDimension> 00060 class ITK_EXPORT ImageRegionMultidimensionalSplitter: public ImageRegionSplitter<VImageDimension> 00061 { 00062 public: 00064 typedef ImageRegionMultidimensionalSplitter Self; 00065 typedef ImageRegionSplitter<VImageDimension> Superclass; 00066 typedef SmartPointer<Self> Pointer; 00067 typedef SmartPointer<const Self> ConstPointer; 00068 00070 itkNewMacro(Self); 00071 00073 itkTypeMacro(ImageRegionMultidimensionalSplitter,ImageRegionSplitter); 00074 00076 itkStaticConstMacro(ImageDimension, unsigned int, VImageDimension); 00077 00079 typedef Index<VImageDimension> IndexType; 00080 00082 typedef Size<VImageDimension> SizeType; 00083 00085 typedef ImageRegion<VImageDimension> RegionType; 00086 00093 virtual unsigned int GetNumberOfSplits(const RegionType &region, 00094 unsigned int requestedNumber); 00095 00099 virtual RegionType GetSplit(unsigned int i, unsigned int numberOfPieces, 00100 const RegionType &region); 00101 00102 protected: 00103 ImageRegionMultidimensionalSplitter() {} 00104 ~ImageRegionMultidimensionalSplitter() {} 00105 void PrintSelf(std::ostream& os, Indent indent) const; 00106 00107 private: 00108 ImageRegionMultidimensionalSplitter(const Self&); //purposely not implemented 00109 void operator=(const Self&); //purposely not implemented 00110 00111 }; 00112 00113 00114 } // end namespace itk 00115 00116 #ifndef ITK_MANUAL_INSTANTIATION 00117 #include "itkImageRegionMultidimensionalSplitter.txx" 00118 #endif 00119 00120 #endif 00121

Generated at Sun Apr 1 02:34:57 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000