18 #ifndef itkReinitializeLevelSetImageFilter_h
19 #define itkReinitializeLevelSetImageFilter_h
54 template<
typename TLevelSet >
84 static constexpr
unsigned int SetDimension = LevelSetType::SetDimension;
88 itkSetMacro(LevelSetValue,
double);
89 itkGetConstMacro(LevelSetValue,
double);
94 itkSetMacro(NarrowBanding,
bool);
95 itkGetConstMacro(NarrowBanding,
bool);
96 itkBooleanMacro(NarrowBanding);
100 itkSetClampMacro( InputNarrowBandwidth,
double, 0.0,
102 itkGetConstMacro(InputNarrowBandwidth,
double);
106 itkSetClampMacro( OutputNarrowBandwidth,
double, 0.0,
108 itkGetConstMacro(OutputNarrowBandwidth,
double);
115 this->SetInputNarrowBandwidth(value);
116 this->SetOutputNarrowBandwidth(value);
121 void SetInputNarrowBand(NodeContainer *ptr);
124 {
return m_InputNarrowBand; }
128 {
return m_OutputNarrowBand; }
130 #ifdef ITK_USE_CONCEPT_CHECKING
142 void PrintSelf(std::ostream & os,
Indent indent)
const override;
149 void GenerateData()
override;
151 virtual void GenerateDataFull();
153 virtual void GenerateDataNarrowBand();
155 virtual void AllocateOutput();
157 void GenerateInputRequestedRegion()
override;
159 void EnlargeOutputRequestedRegion(
DataObject *)
override;
162 { m_OutputNarrowBand = ptr; }
179 #ifndef ITK_MANUAL_INSTANTIATION
180 #include "itkReinitializeLevelSetImageFilter.hxx"
typename NodeContainer::Pointer NodeContainerPointer
Light weight base class for most itk classes.
NodeContainerPointer GetInputNarrowBand() const
Define numeric traits for std::vector.
void SetNarrowBandwidth(double value)
typename LevelSetType::NodeType NodeType
double m_OutputNarrowBandwidth
typename TLevelSet::Pointer LevelSetPointer
double m_InputNarrowBandwidth
typename TLevelSet::PixelType PixelType
NodeContainerPointer m_InputNarrowBand
typename LevelSetType::NodeContainer NodeContainer
typename LevelSetType::LevelSetImageType LevelSetImageType
Represent a node in a level set.
LocatorType::Pointer m_Locator
NodeContainerPointer m_OutputNarrowBand
typename TLevelSet::ConstPointer LevelSetConstPointer
typename LevelSetType::NodeContainerPointer NodeContainerPointer
Reinitialize the level set to the signed distance function.
typename LevelSetType::LevelSetPointer LevelSetPointer
Base class for filters that take an image as input and produce an image as output.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
FastMarchingImageFilterType::Pointer m_Marcher
Control indentation during Print() invocation.
TLevelSet LevelSetImageType
NodeContainerPointer GetOutputNarrowBand() const
Solve an Eikonal equation using Fast Marching.
#define itkConceptMacro(name, concept)
typename LevelSetType::LevelSetConstPointer LevelSetConstPointer
Level set type information.
Base class for all data objects in ITK.
Templated n-dimensional image class.
void SetOutputNarrowBand(NodeContainer *ptr)
typename LevelSetType::PixelType PixelType