#include <LinesTables2004.h>
Inheritance diagram for TemplateTable< TEMPLATES_MAX >:
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 = 500 } |
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 169 of file LinesTables2004.h.
|
Definition at line 181 of file LinesTables2004.h. |
|
The function is required for sorting the template poses. It is used as compare function for qsort.
Definition at line 196 of file LinesTables2004.h. |
|
The function creates the table. It must be called for construction.
Definition at line 208 of file LinesTables2004.h. |
|
The function draws a pose from the templates for a certain distance.
Definition at line 256 of file LinesTables2004.h. |
|
The function writes the contents of an object to a stream.
Implements TemplateTableBase. Definition at line 270 of file LinesTables2004.h. |
|
The function reads the contents of an object from a stream.
Implements TemplateTableBase. Definition at line 276 of file LinesTables2004.h. |
|
The template poses sorted by distance.
Definition at line 186 of file LinesTables2004.h. |
|
Indices into the template table depending on the distance.
Definition at line 187 of file LinesTables2004.h. |