18 #ifndef itkMembershipFunctionBase_h
19 #define itkMembershipFunctionBase_h
56 template<
typename TVector >
100 if ( s == this->m_MeasurementVectorSize )
106 this->m_MeasurementVectorSize = s;
118 if ( defaultLength != s )
121 "Attempting to change the measurement vector size of a non-resizable vector type" );
127 itkGetConstMacro(MeasurementVectorSize, MeasurementVectorSizeType);
140 Superclass::PrintSelf(os, indent);
141 os << indent <<
"Length of measurement vectors: "
142 << m_MeasurementVectorSize << std::endl;
Light weight base class for most itk classes.
Define numeric traits for std::vector.
void PrintSelf(std::ostream &os, Indent indent) const override
unsigned int MeasurementVectorSizeType
static bool IsResizable(const TVectorType &)
Base class for all ITK function objects.
MembershipFunctionBase defines common interfaces for membership functions.
MeasurementVectorSizeType m_MeasurementVectorSize
Control indentation during Print() invocation.
virtual void SetMeasurementVectorSize(MeasurementVectorSizeType s)
TMeasurementVector MeasurementVectorType