18 #ifndef itkMembershipFunctionBase_h
19 #define itkMembershipFunctionBase_h
57 template <
typename TVector>
95 if (MeasurementVectorTraits::IsResizable<MeasurementVectorType>({}))
100 if (s == this->m_MeasurementVectorSize)
106 this->m_MeasurementVectorSize = s;
116 if (defaultLength != s)
118 itkExceptionMacro(
"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: " << m_MeasurementVectorSize << std::endl;