#include <EdgesPercept.h>
Inheritance diagram for EdgesPercept:


Public Types | |
| enum | { maxNumberOfEdges = 50 } |
Public Member Functions | |
| EdgesPercept () | |
| Constructor. | |
| void | reset (unsigned long frameNumber) |
| The function empties the edge percept. | |
| void | add (const Vector2< double > &point1OnField, const Vector2< double > &point2OnField, const Vector2< int > &point1InImage, const Vector2< int > &point2InImage) |
| The function adds a new edge to the edge percept. | |
| void | serialize (In *in, Out *out) |
Public Attributes | |
| Edge | edges [maxNumberOfEdges] |
| The edges. | |
| int | numberOfEdges |
| The number of edges. | |
| unsigned long | frameNumber |
| The frame number when perceived. | |
Definition at line 18 of file EdgesPercept.h.
|
|
Definition at line 21 of file EdgesPercept.h. |
|
|
Constructor.
Definition at line 57 of file EdgesPercept.h. References numberOfEdges. |
|
|
The function empties the edge percept.
Definition at line 11 of file EdgesPercept.cpp. References numberOfEdges. Referenced by SlamImageProcessor::execute(), and GT2005ImageProcessor::execute(). |
|
||||||||||||||||||||
|
The function adds a new edge to the edge percept.
Definition at line 17 of file EdgesPercept.cpp. References EdgesPercept::Edge::angleInImage, EdgesPercept::Edge::angleOnField, edges, EdgesPercept::Edge::lengthInImage, EdgesPercept::Edge::lengthOnField, maxNumberOfEdges, normalize(), numberOfEdges, pi_2, EdgesPercept::Edge::point1InImage, EdgesPercept::Edge::point1OnField, EdgesPercept::Edge::point2InImage, and EdgesPercept::Edge::point2OnField. Referenced by SlamEdgeSpecialist::getEdgesPercept(), and GT2005EdgeSpecialist::getEdgesPercept(). |
Here is the call graph for this function:

|
||||||||||||
|
Implements Streamable. Definition at line 78 of file EdgesPercept.h. References edges, numberOfEdges, STREAM, STREAM_DYN_ARRAY, STREAM_REGISTER_BEGIN, and STREAM_REGISTER_FINISH. |
|
|
The edges.
Definition at line 50 of file EdgesPercept.h. Referenced by add(), and serialize(). |
|
|
The number of edges.
Definition at line 51 of file EdgesPercept.h. Referenced by add(), EdgesPercept(), reset(), and serialize(). |
|
|
The frame number when perceived.
Definition at line 52 of file EdgesPercept.h. |
1.3.6