Fawkes API
Fawkes Development Version
|
22 #ifndef _FVUTILS_DRAW_FIELD_LINES_H__
23 #define _FVUTILS_DRAW_FIELD_LINES_H__
25 #include <utils/math/types.h>
30 namespace firevision {
32 typedef std::list<fawkes::arc_t> field_circles_t;
34 class FieldLines :
public std::list<fawkes::field_line_t>
55 const field_circles_t &
63 FieldLines(std::string field_name,
float field_length,
float field_width,
float line_width);
float _line_width
The width of the field lines.
FieldLinesCityTower(float length, float width)
Constructor.
float _field_width
The total width of the field (actually of the field lines)
float _field_length
The total length of the field (actually of the field lines)
FieldLines6x4(float length, float width)
Contructor.
fawkes::cart_coord_2d_t get_field_offsets() const
Offset getter.
fawkes::cart_coord_2d_t _field_offsets
The center offset (used to draw unsymmetrically fields - usually zero)
This class implements the test field in Graz, Austria at the CityTower.
float get_field_width() const
Field width getter.
FieldLines(std::string field_name, float field_length, float field_width, float line_width)
Creates a new FieldLines container.
virtual ~FieldLines()
Destructor.
This class implements the 6 by 4 meter SPL field according to the 2008 roules.
FieldLinesCityTowerSeminar(float length, float width)
Constructor.
This class acts as a container for lines on a soccer field.
const std::string & get_name() const
Returns the field name.
float get_field_length() const
Field length getter.
const field_circles_t & get_circles() const
Get circles.
Cartesian coordinates (2D).
void calc_offsets()
Calculates the field's offsets.
This class implements the test field in Graz, Austria at the CityTower.
virtual void init()=0
Initializes the field (creates all field lines)
float get_line_width() const
Line width getter.
field_circles_t _field_circles
A std::list of arcs and/or circles on the field.
std::string _field_name
The name of the field.