18 #ifndef itkSignedDanielssonDistanceMapImageFilter_h
19 #define itkSignedDanielssonDistanceMapImageFilter_h
29 template <
typename InputPixelType>
31 const {
if (input){
return InputPixelType {};
87 template <
typename TInputImage,
typename TOutputImage,
typename TVoronoiImage = TInputImage>
128 static constexpr
unsigned int InputImageDimension = InputImageType::ImageDimension;
150 itkSetMacro(SquaredDistance,
bool);
153 itkGetConstReferenceMacro(SquaredDistance,
bool);
156 itkBooleanMacro(SquaredDistance);
159 itkSetMacro(UseImageSpacing,
bool);
162 itkGetConstReferenceMacro(UseImageSpacing,
bool);
165 itkBooleanMacro(UseImageSpacing);
169 itkSetMacro(InsideIsPositive,
bool);
173 itkGetConstReferenceMacro(InsideIsPositive,
bool);
178 itkBooleanMacro(InsideIsPositive);
201 GetVectorDistanceMap();
205 using Superclass::MakeOutput;
209 #ifdef ITK_USE_CONCEPT_CHECKING
222 PrintSelf(std::ostream & os,
Indent indent)
const override;
226 GenerateData()
override;
229 bool m_SquaredDistance{};
230 bool m_UseImageSpacing{
true };
231 bool m_InsideIsPositive{};
236 #ifndef ITK_MANUAL_INSTANTIATION
237 # include "itkSignedDanielssonDistanceMapImageFilter.hxx"