18 #ifndef itkMembershipFunctionBase_h 19 #define itkMembershipFunctionBase_h 56 template<
typename TVector >
79 virtual double Evaluate(
const MeasurementVectorType & x)
const ITK_OVERRIDE = 0;
91 MeasurementVectorType m;
111 MeasurementVectorType m3;
112 MeasurementVectorSizeType defaultLength =
116 if ( defaultLength != s )
119 "Attempting to change the measurement vector size of a non-resizable vector type" );
125 itkGetConstMacro(MeasurementVectorSize, MeasurementVectorSizeType);
139 os << indent <<
"Length of measurement vectors: " 145 void operator=(
const Self &) ITK_DELETE_FUNCTION;
SmartPointer< const Self > ConstPointer
virtual double Evaluate(const MeasurementVectorType &x) const override=0
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
virtual ~MembershipFunctionBase(void)
MembershipFunctionBase Self
virtual void PrintSelf(std::ostream &os, Indent indent) const override
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.
virtual void Modified() const
void PrintSelf(std::ostream &os, Indent indent) const override
MeasurementVectorSizeType m_MeasurementVectorSize
Control indentation during Print() invocation.
TVector MeasurementVectorType
virtual void SetMeasurementVectorSize(MeasurementVectorSizeType s)
void operator=(const Self &) ITK_DELETE_FUNCTION
unsigned int MeasurementVectorSizeType