18 #ifndef itkDistanceToCentroidMembershipFunction_h
19 #define itkDistanceToCentroidMembershipFunction_h
44 template<
typename TVector >
83 itkGetModifiableObjectMacro(DistanceMetric, DistanceMetricType);
102 virtual ~DistanceToCentroidMembershipFunction(
void) {}
110 void operator=(const
Self &) ITK_DELETE_FUNCTION;
117 #ifndef ITK_MANUAL_INSTANTIATION
118 #include "itkDistanceToCentroidMembershipFunction.hxx"
SmartPointer< const Self > ConstPointer
Light weight base class for most itk classes.
DistanceMetricPointer m_DistanceMetric
SmartPointer< Self > Pointer
void SetCentroid(const CentroidType ¢roid)
this class declares common interfaces for distance functions.
virtual LightObject::Pointer InternalClone() const override
MembershipFunctionBase defines common interfaces for membership functions.
MembershipFunctionBase< TVector > Superclass
double Evaluate(const MeasurementVectorType &measurement) const override
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void SetMeasurementVectorSize(MeasurementVectorSizeType) override
DistanceToCentroidMembershipFunction models class membership using a distance metric.
const CentroidType & GetCentroid() const
DistanceToCentroidMembershipFunction Self
Control indentation during Print() invocation.
TVector MeasurementVectorType
Superclass::Pointer MembershipFunctionPointer
Superclass::MeasurementVectorSizeType MeasurementVectorSizeType
unsigned int MeasurementVectorSizeType