18 #ifndef __itkLevelSetNeighborhoodExtractor_h
19 #define __itkLevelSetNeighborhoodExtractor_h
56 template<
class TLevelSet >
84 itkStaticConstMacro(SetDimension,
unsigned int,
85 LevelSetType::SetDimension);
96 itkSetMacro(LevelSetValue,
double);
99 itkGetConstMacro(LevelSetValue,
double);
102 itkSetClampMacro( NarrowBandwidth,
double, 0.0,
106 itkGetConstMacro(NarrowBandwidth,
double);
109 itkSetMacro(NarrowBanding,
bool);
112 itkGetConstMacro(NarrowBanding,
bool);
113 itkBooleanMacro(NarrowBanding);
125 {
return m_InsidePoints; }
130 {
return m_OutsidePoints; }
139 void PrintSelf(std::ostream & os,
Indent indent)
const;
141 typename LevelSetImageType::PixelType GetLargeValue()
const
142 {
return m_LargeValue; }
144 const NodeType & GetNodeUsedInCalculation(
unsigned int idx)
const
145 {
return m_NodesUsed[idx]; }
147 virtual void Initialize();
149 virtual double CalculateDistance(IndexType & index);
153 bool GetLastPointIsInside()
const
154 {
return m_LastPointIsInside; }
158 void operator=(
const Self &);
160 void GenerateDataFull();
162 void GenerateDataNarrowBand();
184 #ifndef ITK_MANUAL_INSTANTIATION
185 #include "itkLevelSetNeighborhoodExtractor.hxx"