Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ObservationTable< xSize, ySize, cellSize > Class Template Reference

The class realizes a table of closest distances to lines of a certain type. More...

#include <LinesTables2004.h>

Inheritance diagram for ObservationTable< xSize, ySize, cellSize >:

Inheritance graph
[legend]
Collaboration diagram for ObservationTable< xSize, ySize, cellSize >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void create (const Field &field, LinesPercept::LineType type)
Vector2< double > getClosestPoint (const Vector2< double > &v) const
void draw ()
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 Attributes

char point [ySize][xSize][2]

Detailed Description

template<int xSize, int ySize, int cellSize>
class ObservationTable< xSize, ySize, cellSize >

The class realizes a table of closest distances to lines of a certain type.

Definition at line 41 of file LinesTables2004.h.


Member Function Documentation

template<int xSize, int ySize, int cellSize>
void ObservationTable< xSize, ySize, cellSize >::create const Field field,
LinesPercept::LineType  type
[inline]
 

Definition at line 47 of file LinesTables2004.h.

template<int xSize, int ySize, int cellSize>
Vector2<double> ObservationTable< xSize, ySize, cellSize >::getClosestPoint const Vector2< double > &  v  )  const [inline]
 

Definition at line 61 of file LinesTables2004.h.

template<int xSize, int ySize, int cellSize>
void ObservationTable< xSize, ySize, cellSize >::draw  )  [inline]
 

Definition at line 71 of file LinesTables2004.h.

template<int xSize, int ySize, int cellSize>
void ObservationTable< xSize, ySize, cellSize >::write Out stream  )  const [inline, virtual]
 

The function writes the contents of an object to a stream.

Parameters:
stream The stream the data is written to.

Implements ObservationTableBase.

Definition at line 98 of file LinesTables2004.h.

template<int xSize, int ySize, int cellSize>
void ObservationTable< xSize, ySize, cellSize >::read In stream  )  [inline, virtual]
 

The function reads the contents of an object from a stream.

Parameters:
stream The stream the data is read from.

Implements ObservationTableBase.

Definition at line 103 of file LinesTables2004.h.


Member Data Documentation

template<int xSize, int ySize, int cellSize>
char ObservationTable< xSize, ySize, cellSize >::point[ySize][xSize][2] [private]
 

Definition at line 44 of file LinesTables2004.h.


The documentation for this class was generated from the following file:
Generated on Thu Sep 23 20:09:58 2004 for GT2004 by doxygen 1.3.6