18 #ifndef itkLevelSetNeighborhoodExtractor_h
19 #define itkLevelSetNeighborhoodExtractor_h
56 template<
typename 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 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
142 {
return m_LargeValue; }
145 {
return m_NodesUsed[idx]; }
147 virtual void Initialize();
149 virtual double CalculateDistance(
IndexType & index);
151 virtual void GenerateData() ITK_OVERRIDE;
153 bool GetLastPointIsInside()
const
154 {
return m_LastPointIsInside; }
159 void GenerateDataFull();
161 void GenerateDataNarrowBand();
183 #ifndef ITK_MANUAL_INSTANTIATION
184 #include "itkLevelSetNeighborhoodExtractor.hxx"
Light weight base class for most itk classes.
TLevelSet::PixelType PixelType
TLevelSet LevelSetImageType
Represent a node in a level set.
TLevelSet::ConstPointer LevelSetConstPointer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
LightProcessObject is the base class for all process objects (source, filters, mappers) in the Insigh...
Control indentation during Print() invocation.
Define additional traits for native types such as int or float.
Base class for most ITK classes.
Level set type information.
Represent a n-dimensional index in a n-dimensional image.
ImageBaseType::IndexType IndexType
TLevelSet::Pointer LevelSetPointer