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

itkShapedFloodFilledImageFunctionConditionalConstIterator.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkShapedFloodFilledImageFunctionConditionalConstIterator.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-02-16 21:17:19 $
00007   Version:   $Revision: 1.1 $
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 __itkShapedFloodFilledImageFunctionConditionalConstIterator_h
00018 #define __itkShapedFloodFilledImageFunctionConditionalConstIterator_h
00019 
00020 #include "itkShapedFloodFilledFunctionConditionalConstIterator.h"
00021 
00022 namespace itk
00023 {
00024 
00032 template<class TImage, class TFunction>
00033 class ITK_EXPORT ShapedFloodFilledImageFunctionConditionalConstIterator:
00034     public ShapedFloodFilledFunctionConditionalConstIterator<TImage, TFunction>
00035 {
00036 public:
00037 
00039   typedef ShapedFloodFilledImageFunctionConditionalConstIterator
00040           Self;
00041   typedef ShapedFloodFilledFunctionConditionalConstIterator<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   ShapedFloodFilledImageFunctionConditionalConstIterator(
00078     const ImageType *imagePtr,
00079     FunctionType *fnPtr,
00080     IndexType startIndex): Superclass(imagePtr,
00081                                       fnPtr,
00082                                       startIndex) {};
00083 
00087   ShapedFloodFilledImageFunctionConditionalConstIterator(
00088     const ImageType *imagePtr,
00089     FunctionType *fnPtr,
00090     std::vector<IndexType>& startIndex): Superclass(imagePtr,
00091                                                     fnPtr,
00092                                                     startIndex) {};
00093 
00097   ShapedFloodFilledImageFunctionConditionalConstIterator(
00098     const ImageType *imagePtr,
00099     FunctionType *fnPtr): Superclass(imagePtr,
00100                                      fnPtr) {};
00101 
00103   virtual ~ShapedFloodFilledImageFunctionConditionalConstIterator() {};
00104 
00106   bool IsPixelIncluded(const IndexType & index) const;
00107 };
00108 
00109 } // end namespace itk
00110 
00111 #ifndef ITK_MANUAL_INSTANTIATION
00112 #include "itkShapedFloodFilledImageFunctionConditionalConstIterator.txx"
00113 #endif
00114 
00115 #endif 
00116 

Generated at Sat Feb 28 13:31:17 2009 for ITK by doxygen 1.5.6 written by Dimitri van Heesch, © 1997-2000