18#ifndef itkMembershipFunctionBase_h
19#define itkMembershipFunctionBase_h
55template <
typename TVector>
112 if (defaultLength != s)
114 itkExceptionMacro(
"Attempting to change the measurement vector size of a non-resizable vector type");
Control indentation during Print() invocation.
virtual void PrintSelf(std::ostream &os, Indent indent) const
Define additional traits for native types such as int or float.
static unsigned int GetLength(const T &)
virtual void Modified() const
Implements transparent reference counting.
static bool IsResizable(const TVectorType &)
double Evaluate(const MeasurementVectorType &x) const override=0
FunctionBase< MeasurementVectorType, double > Superclass
~MembershipFunctionBase() override=default
MeasurementVectorSizeType m_MeasurementVectorSize
unsigned int MeasurementVectorSizeType
virtual void SetMeasurementVectorSize(MeasurementVectorSizeType s)
SmartPointer< const Self > ConstPointer
MembershipFunctionBase Self
MeasurementVectorType MeasurementVectorType
void PrintSelf(std::ostream &os, Indent indent) const override
SmartPointer< Self > Pointer