18 #ifndef __itkClassifierBase_h
19 #define __itkClassifierBase_h
85 template<
class TDataContainer >
97 itkSetMacro(NumberOfClasses,
unsigned int);
100 itkGetConstReferenceMacro(NumberOfClasses,
unsigned int);
109 typedef std::vector< MembershipFunctionPointer >
120 m_DecisionRule = ptrToDecisionRule;
126 return m_DecisionRule.GetPointer();
135 return m_MembershipFunctions[index].GetPointer();
139 unsigned int GetNumberOfMembershipFunctions()
141 return static_cast< unsigned int >( m_MembershipFunctions.size() );
145 unsigned int AddMembershipFunction(MembershipFunctionType *
function);
153 void PrintSelf(std::ostream & os,
Indent indent)
const;
157 virtual void GenerateData() = 0;
161 void operator=(
const Self &);
174 #ifndef ITK_MANUAL_INSTANTIATION
175 #include "itkClassifierBase.hxx"