firevision::Shape Class Reference

Shape interface. More...

#include <models/shape/shapemodel.h>

Inheritance diagram for firevision::Shape:

[legend]
List of all members.

Public Member Functions

virtual ~Shape ()
 Virtual empty destructor.
virtual void setMargin (unsigned int margin)=0
 Set margin around shape.
virtual bool isClose (unsigned int in_roi_x, unsigned int in_roi_y)=0
 Check if the given point is close to the shape.

Detailed Description

Shape interface.

Generic API for accessing using shapes.

Definition at line 39 of file shapemodel.h.


Constructor & Destructor Documentation

firevision::Shape::~Shape (  )  [virtual]

Virtual empty destructor.

Definition at line 49 of file shapemodel.cpp.


Member Function Documentation

bool firevision::Shape::isClose ( unsigned int  in_roi_x,
unsigned int  in_roi_y 
) [pure virtual]

Check if the given point is close to the shape.

Parameters:
in_roi_x x coordinate of point in the same ROI as the shape
in_roi_y y coordinate of point in the same ROI as the shape
Returns:
true if point is close to shape, false otherwise

Implemented in firevision::Circle, and firevision::LineShape.

Referenced by firevision::FilterShapeRemover::apply().

void firevision::Shape::setMargin ( unsigned int  margin  )  [pure virtual]

Set margin around shape.

Parameters:
margin margin

Implemented in firevision::Circle, and firevision::LineShape.

Referenced by firevision::FilterShapeRemover::apply().


The documentation for this class was generated from the following files:
Generated on Tue Feb 22 13:31:45 2011 for Fawkes API by  doxygen 1.4.7