#include <LinesTables2005.h>
Inheritance diagram for LinesTables2005::TemplateTable< TEMPLATES_MAX, POINT_RES >:


Public Member Functions | |
| void | create (const Field &field, LinesPercept::LineType type) |
| The function creates the table. | |
| Pose2D | sample (double realDist) const |
| The function draws a pose from the templates for a certain distance. | |
| void | write (Out &stream) const |
| The function writes the contents of an object to a stream. | |
| void | read (In &stream) |
| The function reads the contents of an object from a stream. | |
Private Types | |
| enum | { DISTANCE_MAX = 650 } |
Static Private Member Functions | |
| int | compare (const Temp *t1, const Temp *t2) |
| The function is required for sorting the template poses. | |
Private Attributes | |
| char | templates [TEMPLATES_MAX][3] |
| The template poses sorted by distance. | |
| unsigned short | distance [DISTANCE_MAX+1] |
| Indices into the template table depending on the distance. | |
Definition at line 143 of file LinesTables2005.h.
|
|||||
|
Definition at line 155 of file LinesTables2005.h. |
|
||||||||||||||||
|
The function is required for sorting the template poses. It is used as compare function for qsort.
Definition at line 174 of file LinesTables2005.h. References LinesTables2005::TemplateTable< TEMPLATES_MAX, POINT_RES >::Temp::distance. |
|
||||||||||||||||
|
The function creates the table. It must be called for construction.
Definition at line 186 of file LinesTables2005.h. References LinesTables2005::TemplateTable< TEMPLATES_MAX, POINT_RES >::Temp::distance, Field::getDistance(), pi, and Field::randomPose(). |
Here is the call graph for this function:

|
||||||||||
|
The function draws a pose from the templates for a certain distance.
Definition at line 233 of file LinesTables2005.h. |
Here is the call graph for this function:

|
||||||||||
|
The function writes the contents of an object to a stream.
Implements LinesTables2005::TemplateTableBase. Definition at line 246 of file LinesTables2005.h. References Out::write(). |
Here is the call graph for this function:

|
||||||||||
|
The function reads the contents of an object from a stream.
Implements LinesTables2005::TemplateTableBase. Definition at line 252 of file LinesTables2005.h. References In::read(). |
Here is the call graph for this function:

|
|||||
|
The template poses sorted by distance.
Definition at line 164 of file LinesTables2005.h. |
|
|||||
|
Indices into the template table depending on the distance.
Definition at line 165 of file LinesTables2005.h. |
1.3.6