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

itkNeighborhoodAlgorithm.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkNeighborhoodAlgorithm.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-02-06 20:53:11 $
00007   Version:   $Revision: 1.28 $
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 
00018 #ifndef __itkNeighborhoodAlgorithm_h
00019 #define __itkNeighborhoodAlgorithm_h
00020 
00021 #include <list>
00022 #include "itkImage.h"
00023 #include "itkNeighborhood.h"
00024 #include "itkNeighborhoodOperator.h"
00025 #include "itkExceptionObject.h"
00026 #include "itkNeighborhoodIterator.h"
00027 
00028 namespace itk
00029 {
00030   
00031 namespace NeighborhoodAlgorithm
00032 {
00033 
00035 template<class TImage>
00036 struct ITK_EXPORT ImageBoundaryFacesCalculator
00037 {
00038   typedef typename NeighborhoodIterator<TImage>::RadiusType RadiusType;
00039   typedef typename TImage::RegionType                       RegionType;
00040   typedef typename TImage::IndexType                        IndexType;
00041   typedef typename IndexType::IndexValueType                IndexValueType;
00042   typedef typename TImage::SizeType                         SizeType;
00043   typedef typename SizeType::SizeValueType                  SizeValueType;
00044   typedef std::list<RegionType>                             FaceListType;
00045   itkStaticConstMacro(ImageDimension, unsigned int, TImage::ImageDimension);
00046 
00047   FaceListType operator()(const TImage *, RegionType, RadiusType);
00048 };
00049 
00057 template<class TImage>
00058 struct ITK_EXPORT CalculateOutputWrapOffsetModifiers
00059 {
00060   typedef Offset< ::itk::GetImageDimension<TImage>::ImageDimension> OffsetType;
00061   OffsetType operator()(TImage *, TImage *) const;
00062 };
00063   
00064 } // end namespace NeighborhoodAlgorithm
00065   
00066 } // end namespace itk
00067 
00068 #ifndef ITK_MANUAL_INSTANTIATION
00069 #include "itkNeighborhoodAlgorithm.txx"
00070 #endif
00071 
00072 #endif
00073 

Generated at Thu May 28 10:57:27 2009 for ITK by doxygen 1.5.5 written by Dimitri van Heesch, © 1997-2000