Fawkes API
Fawkes Development Version
|
Shape model interface. More...
#include <>>
Public Member Functions | |
virtual | ~ShapeModel () |
Virtual empty destructor. | |
virtual std::string | getName (void) const =0 |
Get name of shape model. | |
virtual int | parseImage (unsigned char *buffer, ROI *roi)=0 |
Parse image for given ROI. | |
virtual int | getShapeCount (void) const =0 |
Get number of shapes. | |
virtual Shape * | getShape (int id) const =0 |
Get specific shape. | |
virtual Shape * | getMostLikelyShape (void) const =0 |
Get best candidate. |
Shape model interface.
firevision::ShapeModel::~ShapeModel | ( | ) | [virtual] |
Virtual empty destructor.
Definition at line 83 of file shapemodel.cpp.
Shape * firevision::ShapeModel::getMostLikelyShape | ( | void | ) | const [pure virtual] |
Get best candidate.
Implemented in firevision::RhtLinesModel, firevision::HtLinesModel, firevision::RcdCircleModel, and firevision::RhtCircleModel.
std::string firevision::ShapeModel::getName | ( | void | ) | const [pure virtual] |
Get name of shape model.
Implemented in firevision::RhtLinesModel, firevision::HtLinesModel, firevision::RcdCircleModel, and firevision::RhtCircleModel.
Shape * firevision::ShapeModel::getShape | ( | int | id | ) | const [pure virtual] |
Get specific shape.
id | shape ID |
Implemented in firevision::RhtLinesModel, firevision::HtLinesModel, firevision::RcdCircleModel, and firevision::RhtCircleModel.
int firevision::ShapeModel::getShapeCount | ( | void | ) | const [pure virtual] |
Get number of shapes.
Implemented in firevision::RhtLinesModel, firevision::HtLinesModel, firevision::RcdCircleModel, and firevision::RhtCircleModel.
int firevision::ShapeModel::parseImage | ( | unsigned char * | buffer, |
ROI * | roi | ||
) | [pure virtual] |
Parse image for given ROI.
buffer | image buffer |
roi | ROI |
Implemented in firevision::RhtLinesModel, firevision::HtLinesModel, firevision::RcdCircleModel, and firevision::RhtCircleModel.