18 #ifndef __itkSegmentationLevelSetFunction_h
19 #define __itkSegmentationLevelSetFunction_h
46 template<
class TImageType,
class TFeatureImageType = TImageType >
74 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
90 {
return m_FeatureImage.GetPointer(); }
92 { m_FeatureImage = f; }
97 {
return m_SpeedImage.GetPointer(); }
98 void SetSpeedImage(ImageType *s);
103 {
return m_AdvectionImage.GetPointer(); }
104 void SetAdvectionImage(VectorImageType *s);
110 virtual void Initialize(
const RadiusType & r);
126 virtual void AllocateSpeedImage();
130 virtual void AllocateAdvectionImage();
142 virtual void ReverseExpansionDirection();
169 m_SpeedImage = ImageType::New();
170 m_AdvectionImage = VectorImageType::New();
171 m_Interpolator = InterpolatorType::New();
172 m_VectorInterpolator = VectorInterpolatorType::New();
180 void operator=(
const Self &);
185 #define ITK_TEMPLATE_SegmentationLevelSetFunction(_, EXPORT, TypeX, TypeY) \
188 _( 2 ( class EXPORT SegmentationLevelSetFunction< ITK_TEMPLATE_2 TypeX > ) ) \
189 namespace Templates \
191 typedef SegmentationLevelSetFunction< ITK_TEMPLATE_2 TypeX > \
192 SegmentationLevelSetFunction##TypeY; \
196 #if ITK_TEMPLATE_EXPLICIT
197 #include "Templates/itkSegmentationLevelSetFunction+-.h"
201 #include "itkSegmentationLevelSetFunction.hxx"