A helper class for drawing the laser range finder's measurements grid. More...
#include <Robots/LoBot/ui/LoLaserWindowGrid.H>
Friends | |
class | subfactory< LaserWindowGrid, LaserWindowMarkings > |
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.