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

itkFlatStructuringElement.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkFlatStructuringElement.h,v $
00005   Language:  C++
00006   Date:      $Date: 2007/02/27 13:26:25 $
00007   Version:   $Revision: 1.13 $
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 __itkFlatStructuringElement_h
00018 #define __itkFlatStructuringElement_h
00019 
00020 #include "itkNeighborhood.h"
00021 
00022 namespace itk {
00023 
00029 template<unsigned int NDimension>
00030 class ITK_EXPORT FlatStructuringElement : 
00031   public Neighborhood <bool,NDimension>
00032 {
00033 public:
00034 
00036   itkStaticConstMacro(NeighborhoodDimension, unsigned int, NDimension);
00037 
00039   itkStaticConstMacro(Dimension, unsigned int, NDimension);
00040 
00042   typedef FlatStructuringElement< NDimension >  Self;
00043   typedef Neighborhood<bool, NDimension >       Superclass;
00044 
00046   typedef typename Superclass::PixelType PixelType;
00047 
00051   typedef typename Superclass::Iterator       Iterator;
00052   typedef typename Superclass::ConstIterator  ConstIterator;
00053 
00055   typedef typename Superclass::SizeType       SizeType;
00056   typedef typename Superclass::SizeValueType  SizeValueType;
00057 
00059   typedef typename Superclass::RadiusType     RadiusType;
00060 
00062   typedef typename Superclass::SliceIteratorType SliceIteratorType;
00063 
00065   virtual ~FlatStructuringElement() {}
00066 
00068   FlatStructuringElement() {}
00069 
00071   static Self Box( RadiusType radius );
00072 
00073   static Self Ball( RadiusType radius );
00074   
00075   
00076 protected:
00077 
00078 
00079 private:
00080 
00081 
00082 };
00083 
00084 } // namespace itk
00085 
00086 #ifndef ITK_MANUAL_INSTANTIATION
00087 #include "itkFlatStructuringElement.txx"
00088 #endif
00089 
00090 #endif
00091 

Generated at Sun Sep 23 12:35:15 2007 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000