A helper class for drawing the laser range finder's measurements rings. More...
#include <Robots/LoBot/ui/LoLaserWindowRings.H>
Friends | |
class | subfactory< LaserWindowRings, LaserWindowMarkings > |
A helper class for drawing the laser range finder's measurements rings.
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 concentric circles spanning the entire range of the device. Each circle marks a particular distance from the laser range finder.
We can have rings corresponding to different intervals. Each interval's rings 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 contours described above.
Definition at line 100 of file LoLaserWindowRings.H.