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
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 }
00113
00114 #ifndef ITK_MANUAL_INSTANTIATION
00115 #include "itkShapedFloodFilledImageFunctionConditionalConstIterator.txx"
00116 #endif
00117
00118 #endif
00119