Orfeo Toolbox  3.16
itkShapedFloodFilledImageFunctionConditionalConstIterator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkShapedFloodFilledImageFunctionConditionalConstIterator.h,v $
5  Language: C++
6  Date: $Date: 2009-04-28 16:16:25 $
7  Version: $Revision: 1.2 $
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 #ifndef __itkShapedFloodFilledImageFunctionConditionalConstIterator_h
18 #define __itkShapedFloodFilledImageFunctionConditionalConstIterator_h
19 
21 
22 namespace itk
23 {
24 
35 template<class TImage, class TFunction>
38 {
39 public:
45 
48 
51 
53  typedef typename Superclass::IndexType IndexType;
54 
56  typedef typename Superclass::SizeType SizeType;
57 
60 
62  typedef typename Superclass::ImageType ImageType;
63 
66 
68  typedef typename Superclass::PixelType PixelType;
69 
74  itkStaticConstMacro(NDimensions, unsigned int, Superclass::NDimensions);
75 
80  const ImageType *imagePtr,
81  FunctionType *fnPtr,
82  IndexType startIndex): Superclass(imagePtr,
83  fnPtr,
84  startIndex) {};
85 
90  const ImageType *imagePtr,
91  FunctionType *fnPtr,
92  std::vector<IndexType>& startIndex): Superclass(imagePtr,
93  fnPtr,
94  startIndex) {};
95 
100  const ImageType *imagePtr,
101  FunctionType *fnPtr): Superclass(imagePtr,
102  fnPtr) {};
105 
107  bool IsPixelIncluded(const IndexType & index) const;
108 };
109 
110 } // end namespace itk
111 
112 #ifndef ITK_MANUAL_INSTANTIATION
114 #endif
115 
116 #endif

Generated at Sun May 12 2013 00:07:59 for Orfeo Toolbox with doxygen 1.8.3.1