18 #ifndef itkMembershipFunctionBase_h
19 #define itkMembershipFunctionBase_h
56 template<
typename TVector >
98 if ( s == this->m_MeasurementVectorSize )
104 this->m_MeasurementVectorSize = s;
116 if ( defaultLength != s )
119 "Attempting to change the measurement vector size of a non-resizable vector type" );
125 itkGetConstMacro(MeasurementVectorSize, MeasurementVectorSizeType);
138 Superclass::PrintSelf(os, indent);
139 os << indent <<
"Length of measurement vectors: "
140 << m_MeasurementVectorSize << std::endl;
virtual ~MembershipFunctionBase(void) override
SmartPointer< const Self > ConstPointer
void PrintSelf(std::ostream &os, Indent indent) const override
MembershipFunctionBase Self
FunctionBase< TVector, double > Superclass
static bool IsResizable(const TVectorType &)
SmartPointer< Self > Pointer
static unsigned int GetLength()
Base class for all ITK function objects.
MembershipFunctionBase defines common interfaces for membership functions.
MeasurementVectorSizeType m_MeasurementVectorSize
Control indentation during Print() invocation.
TVector MeasurementVectorType
virtual void SetMeasurementVectorSize(MeasurementVectorSizeType s)
unsigned int MeasurementVectorSizeType