18 #ifndef itkLevelSetNeighborhoodExtractor_h
19 #define itkLevelSetNeighborhoodExtractor_h
56 template <
typename TLevelSet>
85 static constexpr
unsigned int SetDimension = LevelSetType::SetDimension;
96 itkSetMacro(LevelSetValue,
double);
99 itkGetConstMacro(LevelSetValue,
double);
105 itkGetConstMacro(NarrowBandwidth,
double);
108 itkSetMacro(NarrowBanding,
bool);
111 itkGetConstMacro(NarrowBanding,
bool);
112 itkBooleanMacro(NarrowBanding);
127 return m_InsidePoints;
135 return m_OutsidePoints;
147 PrintSelf(std::ostream & os,
Indent indent)
const override;
149 typename LevelSetImageType::PixelType
158 return m_NodesUsed[idx];
168 GenerateData()
override;
173 return m_LastPointIsInside;
181 GenerateDataNarrowBand();
183 double m_LevelSetValue{ 0.0 };
190 bool m_NarrowBanding{
false };
191 double m_NarrowBandwidth{ 12.0 };
195 typename LevelSetImageType::PixelType m_LargeValue{};
197 std::vector<NodeType> m_NodesUsed{};
199 bool m_LastPointIsInside{
false };
203 #ifndef ITK_MANUAL_INSTANTIATION
204 # include "itkLevelSetNeighborhoodExtractor.hxx"