#include <LinesPercept.h>
Collaboration diagram for LinesPercept:

Public Types | |
| enum | LineType { field, border, yellowGoal, skyblueGoal, numberOfLineTypes, redRobot = numberOfLineTypes, blueRobot, ball, numberOfTypes, xField = ball, yField } |
| enum | { UNDEF = -4 } |
| enum | { maxNumberOfPoints = 200 } |
Public Member Functions | |
| LinesPercept () | |
| Constructor. | |
| void | reset (unsigned long frameNumber) |
| The function empties the line percept. | |
| void | add (LineType type, const Vector2< int > &point, double angle=UNDEF) |
| The function adds a new point to the lines percept. | |
Public Attributes | |
| LinePoint | points [numberOfTypes][maxNumberOfPoints] |
| The points on lines. | |
| int | numberOfPoints [numberOfTypes] |
| The number of points per line type. | |
| unsigned long | frameNumber |
| The frame number when perceived. | |
Definition at line 18 of file LinesPercept.h.
|
|
Definition at line 21 of file LinesPercept.h. Referenced by Field::getObstacleDistance(). |
|
|
Definition at line 37 of file LinesPercept.h. |
|
|
Definition at line 62 of file LinesPercept.h. |
|
|
Constructor.
Definition at line 70 of file LinesPercept.h. References reset(). |
Here is the call graph for this function:

|
|
The function empties the line percept.
Definition at line 10 of file LinesPercept.cpp. References numberOfTypes. Referenced by GT2004ImageProcessor::execute(), RasterImageProcessor::init(), and LinesPercept(). |
|
||||||||||||||||
|
The function adds a new point to the lines percept.
Definition at line 17 of file LinesPercept.cpp. References maxNumberOfPoints, and point. Referenced by RasterImageProcessor::addFieldPoint(), and GT2004ImageProcessor::scan(). |
|
|
The points on lines.
Definition at line 64 of file LinesPercept.h. Referenced by GT2004ObstaclesLocator::addLinesPercept(), GT2004ImageProcessor::clusterRobots(), BB2004Calibrator::evolve(), GT2004SelfLocator::execute(), DistanceToBorderEstimator::execute(), GT2004ImageProcessor::filterLinesPercept(), GT2004SelfLocator::generatePoseTemplates(), operator<<(), and operator>>(). |
|
|
The number of points per line type.
Definition at line 65 of file LinesPercept.h. Referenced by GT2004ObstaclesLocator::addLinesPercept(), GT2004ImageProcessor::clusterRobots(), BB2004Calibrator::evolve(), GT2004SelfLocator::execute(), DistanceToBorderEstimator::execute(), GT2004ImageProcessor::filterLinesPercept(), GT2004ImageProcessor::filterPercepts(), GT2004SelfLocator::generatePoseTemplates(), operator<<(), operator>>(), and GT2004ImageProcessor::scan(). |
|
|
The frame number when perceived.
Definition at line 66 of file LinesPercept.h. Referenced by operator<<(), and operator>>(). |
1.3.6