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 >
105 m_MembershipFunctions = membershipFunctions;
111 return m_MembershipFunctions;
115 unsigned int GetNumberOfMembershipFunctions()
117 return static_cast< unsigned int >( m_MembershipFunctions.size() );
121 void DeleteAllMembershipFunctions()
123 m_MembershipFunctions.resize(0);
127 unsigned int AddMembershipFunction(MembershipFunctionPointer
function);
136 void PrintSelf(std::ostream & os,
Indent indent)
const;
138 virtual void GenerateData();
143 void operator=(
const Self &);
154 virtual void EstimateModels() = 0;
158 #ifndef ITK_MANUAL_INSTANTIATION
159 #include "itkImageModelEstimatorBase.hxx"