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

itkFloodFilledImageFunctionConditionalConstIterator.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkFloodFilledImageFunctionConditionalConstIterator.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/09/11 19:57:12 $
00007   Version:   $Revision: 1.4 $
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 __itkFloodFilledImageFunctionConditionalConstIterator_h
00018 #define __itkFloodFilledImageFunctionConditionalConstIterator_h
00019 
00020 #include "itkFloodFilledFunctionConditionalConstIterator.h"
00021 
00022 namespace itk
00023 {
00024 
00032 template<class TImage, class TFunction>
00033 class FloodFilledImageFunctionConditionalConstIterator: public FloodFilledFunctionConditionalConstIterator<TImage, TFunction>
00034 {
00035 public:
00037   typedef FloodFilledImageFunctionConditionalConstIterator Self;
00038   typedef FloodFilledFunctionConditionalConstIterator<TImage, TFunction> Superclass;
00039   
00041   typedef typename Superclass::FunctionType FunctionType;
00042 
00044   typedef typename Superclass::FunctionInputType FunctionInputType;
00045 
00047   typedef typename Superclass::IndexType  IndexType;
00048 
00050   typedef typename Superclass::SizeType    SizeType;
00051 
00053   typedef typename Superclass::RegionType    RegionType;
00054 
00056   typedef typename Superclass::ImageType   ImageType;
00057 
00059   typedef typename Superclass::InternalPixelType   InternalPixelType;
00060 
00062   typedef typename Superclass::PixelType   PixelType;
00063 
00068   itkStaticConstMacro(NDimensions, unsigned int, Superclass::NDimensions);
00069 
00073   FloodFilledImageFunctionConditionalConstIterator(const ImageType *imagePtr,
00074                                      FunctionType *fnPtr,
00075                                      IndexType startIndex): Superclass(imagePtr, fnPtr, startIndex) {};
00076 
00080   FloodFilledImageFunctionConditionalConstIterator(const ImageType *imagePtr,
00081                                      FunctionType *fnPtr): Superclass(imagePtr, fnPtr) {};
00083   virtual ~FloodFilledImageFunctionConditionalConstIterator() {};
00084 
00086   bool IsPixelIncluded(const IndexType & index) const;
00087 };
00088 
00089 } // end namespace itk
00090 
00091 #ifndef ITK_MANUAL_INSTANTIATION
00092 #include "itkFloodFilledImageFunctionConditionalConstIterator.txx"
00093 #endif
00094 
00095 #endif 

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