#include <Descriptor.h>
Public Member Functions | |
virtual Descriptor * | clone () const =0 |
virtual double | distance (const Descriptor *descriptor) const =0 |
Representation of an abstract descriptor. The class represents an abstract descriptor, defining the interface for comparing two descriptors.
Definition at line 37 of file Descriptor.h.
virtual Descriptor* Descriptor::clone | ( | ) | const [pure virtual] |
Clone function for prototyping. It implements the Prototype pattern.
Implemented in BetaGrid, and ShapeContext.
virtual double Descriptor::distance | ( | const Descriptor * | descriptor | ) | const [pure virtual] |
Abstract interface for computing the distance between two descriptors. The implementation of the actual distance is left to the inherited classes.
Implemented in BetaGrid, and ShapeContext.