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

itkZeroFluxNeumannBoundaryCondition.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkZeroFluxNeumannBoundaryCondition.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/09/11 19:57:14 $
00007   Version:   $Revision: 1.10 $
00008 
00009   Copyright (c) 2002 Insight 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 __itkZeroFluxNeumannBoundaryCondition_h
00018 #define __itkZeroFluxNeumannBoundaryCondition_h
00019 #include "itkNeighborhood.h"
00020 #include "itkImageBoundaryCondition.h"
00021 
00022 namespace itk
00023 {
00024 
00059 template<class TImage>
00060 class  ZeroFluxNeumannBoundaryCondition
00061   : public ImageBoundaryCondition<TImage>
00062 {
00063 public:
00065   typedef ZeroFluxNeumannBoundaryCondition Self;
00066   typedef ImageBoundaryCondition<TImage> Superclass;
00067   
00069   typedef typename Superclass::PixelType PixelType;
00070   typedef typename Superclass::PixelPointerType PixelPointerType;
00071   typedef typename Superclass::IndexType IndexType;
00072   typedef typename Superclass::OffsetType OffsetType;
00073   typedef typename Superclass::NeighborhoodType NeighborhoodType;
00074   
00076   itkStaticConstMacro(ImageDimension, unsigned int,Superclass::ImageDimension);
00077   
00079   ZeroFluxNeumannBoundaryCondition() {}
00080 
00083   virtual PixelType operator()(const OffsetType& point_index,
00084                                const OffsetType& boundary_offset,
00085                                const NeighborhoodType *data) const; 
00086 };
00087 
00088 } // end namespace itk
00089 
00090 #ifndef ITK_MANUAL_INSTANTIATION
00091 #include "itkZeroFluxNeumannBoundaryCondition.txx"
00092 #endif
00093 
00094 #endif

Generated at Wed Mar 12 01:13:14 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000