18 #ifndef __itkImageModelEstimatorBase_h
19 #define __itkImageModelEstimatorBase_h
62 template<
class TInputImage,
63 class TMembershipFunction >
77 itkSetMacro(NumberOfModels,
unsigned int);
80 itkGetConstReferenceMacro(NumberOfModels,
unsigned int);
85 typedef std::vector< MembershipFunctionPointer >
104 m_MembershipFunctions = membershipFunctions;
110 return m_MembershipFunctions;
114 unsigned int GetNumberOfMembershipFunctions()
116 return static_cast< unsigned int >( m_MembershipFunctions.size() );
120 void DeleteAllMembershipFunctions()
122 m_MembershipFunctions.resize(0);
126 unsigned int AddMembershipFunction(MembershipFunctionPointer
function);
135 void PrintSelf(std::ostream & os,
Indent indent)
const;
137 virtual void GenerateData();
142 void operator=(
const Self &);
153 virtual void EstimateModels() = 0;
157 #ifndef ITK_MANUAL_INSTANTIATION
158 #include "itkImageModelEstimatorBase.hxx"