17 #ifndef __itkSegmentationLevelSetFunction_h
18 #define __itkSegmentationLevelSetFunction_h
44 template <
class TImageType,
class TFeatureImageType = TImageType>
72 itkStaticConstMacro(ImageDimension,
unsigned int,Superclass::ImageDimension);
89 {
return m_FeatureImage.GetPointer(); }
91 { m_FeatureImage = f; }
95 {
return m_SpeedImage.GetPointer(); }
96 void SetSpeedImage( ImageType *s );
100 {
return m_AdvectionImage.GetPointer(); }
101 void SetAdvectionImage( VectorImageType *s );
107 virtual void Initialize(
const RadiusType &r);
123 virtual void AllocateSpeedImage();
127 virtual void AllocateAdvectionImage();
139 virtual void ReverseExpansionDirection();
167 m_SpeedImage = ImageType::New();
168 m_AdvectionImage = VectorImageType::New();
169 m_Interpolator = InterpolatorType::New();
170 m_VectorInterpolator = VectorInterpolatorType::New();
179 void operator=(
const Self&);
185 #define ITK_TEMPLATE_SegmentationLevelSetFunction(_, EXPORT, x, y) namespace itk { \
186 _(2(class EXPORT SegmentationLevelSetFunction< ITK_TEMPLATE_2 x >)) \
187 namespace Templates { typedef SegmentationLevelSetFunction< ITK_TEMPLATE_2 x > \
188 SegmentationLevelSetFunction##y; } \
191 #if ITK_TEMPLATE_EXPLICIT
192 # include "Templates/itkSegmentationLevelSetFunction+-.h"