lobot::LaserWindowGrid Class Reference

A helper class for drawing the laser range finder's measurements grid. More...

#include <Robots/LoBot/ui/LoLaserWindowGrid.H>

Inheritance diagram for lobot::LaserWindowGrid:
Inheritance graph
[legend]
Collaboration diagram for lobot::LaserWindowGrid:
Collaboration graph
[legend]

List of all members.

Friends

class subfactory< LaserWindowGrid, LaserWindowMarkings >

Detailed Description

A helper class for drawing the laser range finder's measurements grid.

The laser range finder's test program depicts the distance measurements as rays emanating from the origin of a world coordinate system that is setup to match the units and range of the LRF device. To help make sense of the lengths of these rays, we draw a grid spanning the entire range of the device. This grid has markings at various regular intervals. Each of these intervals can have a different color and can be active at different zoom levels.

For example, users can choose to have markings at 100, 500, 1000 and 5000 mm. The markings at each of these intervals can be drawn in different colors. Furthermore, users can specify the zoom levels at which these markings should be visible. Thus, when zoomed out a lot, we can show only the 5000 mm markings to make the overall scene more legible; and at high zoom levels (zoomed in a lot), we can show the more fine-grained 100 mm markings.

This class takes care of the details of drawing the grid described above.

Definition at line 94 of file LoLaserWindowGrid.H.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:30:47 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3