19 #ifndef itkLevelSetBase_h
20 #define itkLevelSetBase_h
42 template <
typename TInput,
unsigned int VDimension,
typename TOutput,
typename TDomain>
56 static constexpr
unsigned int Dimension = VDimension;
74 EvaluateGradient(
const InputType & iP)
const = 0;
78 EvaluateHessian(
const InputType & iP)
const = 0;
81 EvaluateLaplacian(
const InputType & iP)
const = 0;
83 EvaluateGradientNorm(
const InputType & iP)
const;
85 EvaluateMeanCurvature(
const InputType & iP)
const = 0;
102 : m_Name(std::move(iName))
106 : m_Name(iData.m_Name)
107 , m_Value(iData.m_Value)
108 , m_Computed(iData.m_Computed)
120 this->m_Name = iData.
m_Name;
134 , Gradient(
"Gradient")
136 , Laplacian(
"Laplacian")
137 , GradientNorm(
"GradientNorm")
138 , MeanCurvature(
"MeanCurvature")
139 , ForwardGradient(
"ForwardGradient")
140 , BackwardGradient(
"BackwardGradient")
155 , Gradient(iData.Gradient)
156 , Hessian(iData.Hessian)
157 , Laplacian(iData.Laplacian)
158 , GradientNorm(iData.GradientNorm)
159 , MeanCurvature(iData.MeanCurvature)
160 , ForwardGradient(iData.ForwardGradient)
161 , BackwardGradient(iData.BackwardGradient)
213 itkGetConstMacro(MaximumNumberOfRegions,
RegionType);
217 Initialize()
override;
221 UpdateOutputInformation()
override;
224 SetRequestedRegionToLargestPossibleRegion()
override;
227 CopyInformation(
const DataObject * data)
override;
233 RequestedRegionIsOutsideOfTheBufferedRegion()
override;
236 VerifyRequestedRegion()
override;
243 SetRequestedRegion(
const DataObject * data)
override;
247 SetRequestedRegion(
const RegionType & region);
249 itkGetConstMacro(RequestedRegion,
RegionType);
279 #ifndef ITK_MANUAL_INSTANTIATION
280 # include "itkLevelSetBase.hxx"
283 #endif // itkLevelSetBase_h