18 #ifndef itkSignedMaurerDistanceMapImageFilter_h
19 #define itkSignedMaurerDistanceMapImageFilter_h
66 template <
typename TInputImage,
typename TOutputImage>
73 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
74 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
75 static constexpr
unsigned int ImageDimension = TOutputImage::ImageDimension;
119 itkSetMacro(SquaredDistance,
bool);
122 itkGetConstReferenceMacro(SquaredDistance,
bool);
125 itkBooleanMacro(SquaredDistance);
129 itkSetMacro(InsideIsPositive,
bool);
133 itkGetConstReferenceMacro(InsideIsPositive,
bool);
138 itkBooleanMacro(InsideIsPositive);
141 itkSetMacro(UseImageSpacing,
bool);
144 itkGetConstReferenceMacro(UseImageSpacing,
bool);
147 itkBooleanMacro(UseImageSpacing);
157 #ifdef ITK_USE_CONCEPT_CHECKING
170 PrintSelf(std::ostream & os,
Indent indent)
const override;
173 GenerateData()
override;
176 SplitRequestedRegion(
unsigned int i,
unsigned int num,
OutputImageRegionType & splitRegion)
override;
184 itkExceptionMacro(
"This class requires threadId so it must use classic multi-threading model");
189 Voronoi(
unsigned int, OutputIndexType idx, OutputImageType * output);
190 bool Remove(OutputPixelType, OutputPixelType, OutputPixelType, OutputPixelType, OutputPixelType, OutputPixelType);
195 unsigned int m_CurrentDimension{ 0 };
197 bool m_InsideIsPositive{
false };
198 bool m_UseImageSpacing{
true };
199 bool m_SquaredDistance{
false };
205 #ifndef ITK_MANUAL_INSTANTIATION
206 # include "itkSignedMaurerDistanceMapImageFilter.hxx"