18 #ifndef itkDistanceToCentroidMembershipFunction_h
19 #define itkDistanceToCentroidMembershipFunction_h
44 template<
typename TVector >
68 typedef typename Superclass::MeasurementVectorSizeType
83 itkGetModifiableObjectMacro(DistanceMetric, DistanceMetricType);
90 void SetCentroid(const CentroidType & centroid);
93 const CentroidType & GetCentroid() const;
102 virtual ~DistanceToCentroidMembershipFunction() ITK_OVERRIDE {}
103 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
116 #ifndef ITK_MANUAL_INSTANTIATION
117 #include "itkDistanceToCentroidMembershipFunction.hxx"
SmartPointer< const Self > ConstPointer
Light weight base class for most itk classes.
SmartPointer< Self > Pointer
this class declares common interfaces for distance functions.
MembershipFunctionBase defines common interfaces for membership functions.
MembershipFunctionBase< TVector > Superclass
DistanceToCentroidMembershipFunction models class membership using a distance metric.
DistanceToCentroidMembershipFunction Self
Control indentation during Print() invocation.
TVector MeasurementVectorType
Superclass::Pointer MembershipFunctionPointer
Superclass::MeasurementVectorSizeType MeasurementVectorSizeType