itkShapedFloodFilledImageFunctionConditionalConstIterator.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
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 }
00110
00111 #ifndef ITK_MANUAL_INSTANTIATION
00112 #include "itkShapedFloodFilledImageFunctionConditionalConstIterator.txx"
00113 #endif
00114
00115 #endif
00116