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: 2006-05-20 14:15:23 $
00007   Version:   $Revision: 1.8 $
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 __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 ITK_EXPORT FloodFilledImageFunctionConditionalConstIterator:
00034     public FloodFilledFunctionConditionalConstIterator<TImage, TFunction>
00035 {
00036 public:
00037 
00039   typedef FloodFilledImageFunctionConditionalConstIterator
00040           Self;
00041   typedef FloodFilledFunctionConditionalConstIterator<TImage, TFunction>
00042           Superclass;
00043 
00045   typedef typename Superclass::FunctionType FunctionType;
00046 
00048   typedef typename Superclass::FunctionInputType FunctionInputType;
00049 
00051   typedef typename Superclass::IndexType  IndexType;
00052 
00054   typedef typename Superclass::SizeType    SizeType;
00055 
00057   typedef typename Superclass::RegionType    RegionType;
00058 
00060   typedef typename Superclass::ImageType   ImageType;
00061 
00063   typedef typename Superclass::InternalPixelType   InternalPixelType;
00064 
00066   typedef typename Superclass::PixelType   PixelType;
00067 
00072   itkStaticConstMacro(NDimensions, unsigned int, Superclass::NDimensions);
00073 
00077   FloodFilledImageFunctionConditionalConstIterator(
00078     const ImageType *imagePtr,
00079     FunctionType *fnPtr,
00080     IndexType startIndex): Superclass(imagePtr,
00081                                       fnPtr,
00082                                       startIndex) {};
00083 
00087   FloodFilledImageFunctionConditionalConstIterator(
00088     const ImageType *imagePtr,
00089     FunctionType *fnPtr,
00090     std::vector<IndexType>& startIndex): Superclass(imagePtr,
00091                                                     fnPtr,
00092                                                     startIndex) {};
00093 
00097   FloodFilledImageFunctionConditionalConstIterator(
00098     const ImageType *imagePtr,
00099     FunctionType *fnPtr): Superclass(imagePtr,
00100                                      fnPtr) {};
00101 
00103   virtual ~FloodFilledImageFunctionConditionalConstIterator() {};
00104 
00106   bool IsPixelIncluded(const IndexType & index) const;
00107 };
00108 
00109 } // end namespace itk
00110 
00111 #ifndef ITK_MANUAL_INSTANTIATION
00112 #include "itkFloodFilledImageFunctionConditionalConstIterator.txx"
00113 #endif
00114 
00115 #endif 
00116 

Generated at Mon Jul 12 2010 18:21:59 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000