Shape Class Reference
Shape interface. More...
#include <models/shape/shapemodel.h>
Inheritance diagram for Shape:

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 34 of file shapemodel.h.
Constructor & Destructor Documentation
| Shape::~Shape | ( | ) | [virtual] |
Member Function Documentation
| bool 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
Implemented in Circle, and LineShape.
Referenced by FilterShapeRemover::apply().
| void Shape::setMargin | ( | unsigned int | margin | ) | [pure virtual] |
Set margin around shape.
- Parameters:
-
margin margin
Implemented in Circle, and LineShape.
Referenced by FilterShapeRemover::apply().
The documentation for this class was generated from the following files:
- src/firevision/models/shape/shapemodel.h
- src/firevision/models/shape/shapemodel.cpp

