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;
115 if (defaultLength != s)
117 itkExceptionMacro(
"Attempting to change the measurement vector size of a non-resizable vector type");
123 itkGetConstMacro(MeasurementVectorSize, MeasurementVectorSizeType);
136 Superclass::PrintSelf(os, indent);
137 os << indent <<
"Length of measurement vectors: " << m_MeasurementVectorSize << std::endl;