18 #ifndef itkReinitializeLevelSetImageFilter_h
19 #define itkReinitializeLevelSetImageFilter_h
54 template<
typename TLevelSet >
82 itkStaticConstMacro(SetDimension,
unsigned int,
83 LevelSetType::SetDimension);
87 itkSetMacro(LevelSetValue,
double);
88 itkGetConstMacro(LevelSetValue,
double);
93 itkSetMacro(NarrowBanding,
bool);
94 itkGetConstMacro(NarrowBanding,
bool);
95 itkBooleanMacro(NarrowBanding);
99 itkSetClampMacro( InputNarrowBandwidth,
double, 0.0,
101 itkGetConstMacro(InputNarrowBandwidth,
double);
105 itkSetClampMacro( OutputNarrowBandwidth,
double, 0.0,
107 itkGetConstMacro(OutputNarrowBandwidth,
double);
114 this->SetInputNarrowBandwidth(value);
115 this->SetOutputNarrowBandwidth(value);
120 void SetInputNarrowBand(NodeContainer *ptr);
123 {
return m_InputNarrowBand; }
127 {
return m_OutputNarrowBand; }
129 #ifdef ITK_USE_CONCEPT_CHECKING
141 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
148 void GenerateData() ITK_OVERRIDE;
150 virtual
void GenerateDataFull();
152 virtual
void GenerateDataNarrowBand();
154 virtual
void AllocateOutput();
156 virtual
void GenerateInputRequestedRegion() ITK_OVERRIDE;
158 virtual
void EnlargeOutputRequestedRegion(
DataObject *) ITK_OVERRIDE;
161 { m_OutputNarrowBand = ptr; }
180 #ifndef ITK_MANUAL_INSTANTIATION
181 #include "itkReinitializeLevelSetImageFilter.hxx"
LevelSetType::LevelSetImageType LevelSetImageType
LevelSetType::LevelSetConstPointer LevelSetConstPointer
SmartPointer< const Self > ConstPointer
Light weight base class for most itk classes.
TLevelSet::PixelType PixelType
FastMarchingImageFilter< TLevelSet, SpeedImageType > FastMarchingImageFilterType
NodeContainerPointer GetInputNarrowBand() const
void SetNarrowBandwidth(double value)
double m_OutputNarrowBandwidth
double m_InputNarrowBandwidth
~ReinitializeLevelSetImageFilter() override
NodeContainerPointer m_InputNarrowBand
TLevelSet LevelSetImageType
Image< float, itkGetStaticConstMacro(SetDimension) > SpeedImageType
LevelSetType::LevelSetPointer LevelSetPointer
LevelSetType::NodeContainer NodeContainer
Represent a node in a level set.
TLevelSet::ConstPointer LevelSetConstPointer
LevelSetNeighborhoodExtractor< TLevelSet > LocatorType
LocatorType::Pointer m_Locator
NodeContainerPointer m_OutputNarrowBand
LevelSetType::NodeContainerPointer NodeContainerPointer
Reinitialize the level set to the signed distance function.
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
LevelSetType::PixelType PixelType
Control indentation during Print() invocation.
LevelSetType::NodeType NodeType
NodeContainerPointer GetOutputNarrowBand() const
Define additional traits for native types such as int or float.
Solve an Eikonal equation using Fast Marching.
#define itkConceptMacro(name, concept)
LevelSetTypeDefault< TLevelSet > LevelSetType
Level set type information.
ImageToImageFilter< TLevelSet, TLevelSet > Superclass
ReinitializeLevelSetImageFilter Self
Base class for all data objects in ITK.
Templated n-dimensional image class.
SmartPointer< Self > Pointer
TLevelSet::Pointer LevelSetPointer