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-04-28 16:16:25 $
00007   Version:   $Revision: 1.2 $
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 
00035 template<class TImage, class TFunction>
00036 class ITK_EXPORT ShapedFloodFilledImageFunctionConditionalConstIterator:
00037     public ShapedFloodFilledFunctionConditionalConstIterator<TImage, TFunction>
00038 {
00039 public:
00040 
00042   typedef ShapedFloodFilledImageFunctionConditionalConstIterator
00043           Self;
00044   typedef ShapedFloodFilledFunctionConditionalConstIterator<TImage, TFunction>
00045           Superclass;
00046 
00048   typedef typename Superclass::FunctionType FunctionType;
00049 
00051   typedef typename Superclass::FunctionInputType FunctionInputType;
00052 
00054   typedef typename Superclass::IndexType IndexType;
00055 
00057   typedef typename Superclass::SizeType SizeType;
00058 
00060   typedef typename Superclass::RegionType RegionType;
00061 
00063   typedef typename Superclass::ImageType ImageType;
00064 
00066   typedef typename Superclass::InternalPixelType InternalPixelType;
00067 
00069   typedef typename Superclass::PixelType PixelType;
00070 
00075   itkStaticConstMacro(NDimensions, unsigned int, Superclass::NDimensions);
00076 
00080   ShapedFloodFilledImageFunctionConditionalConstIterator(
00081     const ImageType *imagePtr,
00082     FunctionType *fnPtr,
00083     IndexType startIndex): Superclass(imagePtr,
00084                                       fnPtr,
00085                                       startIndex) {};
00086 
00090   ShapedFloodFilledImageFunctionConditionalConstIterator(
00091     const ImageType *imagePtr,
00092     FunctionType *fnPtr,
00093     std::vector<IndexType>& startIndex): Superclass(imagePtr,
00094                                                     fnPtr,
00095                                                     startIndex) {};
00096 
00100   ShapedFloodFilledImageFunctionConditionalConstIterator(
00101     const ImageType *imagePtr,
00102     FunctionType *fnPtr): Superclass(imagePtr,
00103                                      fnPtr) {};
00104 
00106   virtual ~ShapedFloodFilledImageFunctionConditionalConstIterator() {};
00107 
00109   bool IsPixelIncluded(const IndexType & index) const;
00110 };
00111 
00112 } // end namespace itk
00113 
00114 #ifndef ITK_MANUAL_INSTANTIATION
00115 #include "itkShapedFloodFilledImageFunctionConditionalConstIterator.txx"
00116 #endif
00117 
00118 #endif 
00119 

Generated at Tue Sep 15 04:52:32 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000