18 #ifndef sitkFastMarchingImageFilter_h
19 #define sitkFastMarchingImageFilter_h
87 SITK_RETURN_SELF_TYPE_HEADER
SetTrialPoints ( std::vector< std::vector<unsigned int> > TrialPoints ) { this->m_TrialPoints = std::move(TrialPoints);
return *
this; }
92 std::vector< std::vector< unsigned int > >
GetTrialPoints()
const {
return this->m_TrialPoints; }
94 SITK_RETURN_SELF_TYPE_HEADER
AddTrialPoint( std::vector< unsigned int > point ) { this->m_TrialPoints.push_back(std::move(point));
return *
this;}
96 SITK_RETURN_SELF_TYPE_HEADER
ClearTrialPoints( ) { this->m_TrialPoints.clear();
return *
this;}
102 SITK_RETURN_SELF_TYPE_HEADER
SetNormalizationFactor (
double NormalizationFactor ) { this->m_NormalizationFactor = NormalizationFactor;
return *
this; }
112 SITK_RETURN_SELF_TYPE_HEADER
SetStoppingValue (
double StoppingValue ) { this->m_StoppingValue = StoppingValue;
return *
this; }
120 std::string
GetName()
const {
return std::string (
"FastMarchingImageFilter"); }
123 std::string ToString()
const;
135 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
143 std::vector< std::vector<unsigned int> > m_TrialPoints{std::vector< std::vector<unsigned int > >()};
145 double m_NormalizationFactor{1.0};
147 double m_StoppingValue{std::numeric_limits<double>::max()/2.0};
162 SITKBasicFilters_EXPORT Image FastMarching (
const Image& image1, std::vector< std::vector<unsigned int> > trialPoints = std::vector< std::vector<unsigned int > >(),
double normalizationFactor = 1.0,
double stoppingValue = std::numeric_limits<double>::max()/2.0 );