18 #ifndef itkSignedDanielssonDistanceMapImageFilter_h
19 #define itkSignedDanielssonDistanceMapImageFilter_h
29 template <
typename InputPixelType>
38 return InputPixelType{};
93 template <
typename TInputImage,
typename TOutputImage,
typename TVoronoiImage = TInputImage>
134 static constexpr
unsigned int InputImageDimension = InputImageType::ImageDimension;
156 itkSetMacro(SquaredDistance,
bool);
159 itkGetConstReferenceMacro(SquaredDistance,
bool);
162 itkBooleanMacro(SquaredDistance);
165 itkSetMacro(UseImageSpacing,
bool);
168 itkGetConstReferenceMacro(UseImageSpacing,
bool);
171 itkBooleanMacro(UseImageSpacing);
175 itkSetMacro(InsideIsPositive,
bool);
179 itkGetConstReferenceMacro(InsideIsPositive,
bool);
184 itkBooleanMacro(InsideIsPositive);
207 GetVectorDistanceMap();
211 using Superclass::MakeOutput;
215 #ifdef ITK_USE_CONCEPT_CHECKING
228 PrintSelf(std::ostream & os,
Indent indent)
const override;
232 GenerateData()
override;
235 bool m_SquaredDistance{};
236 bool m_UseImageSpacing{
true };
237 bool m_InsideIsPositive{};
242 #ifndef ITK_MANUAL_INSTANTIATION
243 # include "itkSignedDanielssonDistanceMapImageFilter.hxx"