18 #ifndef itkSignedDanielssonDistanceMapImageFilter_h
19 #define itkSignedDanielssonDistanceMapImageFilter_h
29 template <
typename InputPixelType>
31 const {
if (input){
return InputPixelType {};
85 template <
typename TInputImage,
typename TOutputImage,
typename TVoronoiImage = TInputImage>
126 static constexpr
unsigned int InputImageDimension = InputImageType::ImageDimension;
148 itkSetMacro(SquaredDistance,
bool);
151 itkGetConstReferenceMacro(SquaredDistance,
bool);
154 itkBooleanMacro(SquaredDistance);
157 itkSetMacro(UseImageSpacing,
bool);
160 itkGetConstReferenceMacro(UseImageSpacing,
bool);
163 itkBooleanMacro(UseImageSpacing);
167 itkSetMacro(InsideIsPositive,
bool);
171 itkGetConstReferenceMacro(InsideIsPositive,
bool);
176 itkBooleanMacro(InsideIsPositive);
199 GetVectorDistanceMap();
203 using Superclass::MakeOutput;
207 #ifdef ITK_USE_CONCEPT_CHECKING
220 PrintSelf(std::ostream & os,
Indent indent)
const override;
224 GenerateData()
override;
227 bool m_SquaredDistance{};
228 bool m_UseImageSpacing{
true };
229 bool m_InsideIsPositive{};
234 #ifndef ITK_MANUAL_INSTANTIATION
235 # include "itkSignedDanielssonDistanceMapImageFilter.hxx"