18 #ifndef __itkLevelSetNeighborhoodExtractor_h
19 #define __itkLevelSetNeighborhoodExtractor_h
56 template<
class TLevelSet >
84 itkStaticConstMacro(SetDimension,
unsigned int,
85 LevelSetType::SetDimension);
97 itkSetMacro(LevelSetValue,
double);
100 itkGetConstMacro(LevelSetValue,
double);
103 itkSetClampMacro( NarrowBandwidth,
double, 0.0,
107 itkGetConstMacro(NarrowBandwidth,
double);
110 itkSetMacro(NarrowBanding,
bool);
113 itkGetConstMacro(NarrowBanding,
bool);
114 itkBooleanMacro(NarrowBanding);
126 {
return m_InsidePoints; }
131 {
return m_OutsidePoints; }
140 void PrintSelf(std::ostream & os,
Indent indent)
const;
142 typename LevelSetImageType::PixelType GetLargeValue()
const
143 {
return m_LargeValue; }
145 const NodeType & GetNodeUsedInCalculation(
unsigned int idx)
const
146 {
return m_NodesUsed[idx]; }
148 virtual void Initialize();
150 virtual double CalculateDistance(IndexType & index);
154 bool GetLastPointIsInside()
const
155 {
return m_LastPointIsInside; }
158 void operator=(
const Self &);
160 void GenerateDataFull();
162 void GenerateDataNarrowBand();
184 #ifndef ITK_MANUAL_INSTANTIATION
185 #include "itkLevelSetNeighborhoodExtractor.hxx"