User manual
Table Of Contents
- Introduction
- Getting started with smallv
- Stereo Geometry
- Calibration
- API Reference – C++ Language
Small Vision System User Manual 67
These functions draw overlay information on the image displayed by svsWindow. There are two
ways to draw overlays. One is to subclass
svsWindow, overriding the DrawOverlay() function.
Then, the subclass can perform any FLTK drawing within the subclass function.
Another way to use overlays is to assign an overlay function to the
svsWindow object, with
DrawOverlayFn. This overlay function is called every time the overlay needs to be drawn.
The last argument to these functions is passed in from the argument specified in the DrawImage()
function.
5.9.2 Class svsDebugWin
This class displays text in a scrollable window.
svsDebugWin(int x, int y, int w, int h, char *name = NULL)
~svsDebugWin
Constructor and destructor. The
x,y arguments specify placement of the upper-left corner of the
window;
w and h give the width and height. An optional title (name) can be given.
The window will not be displayed until the show() function is called.
Print(char *str)
Prints a string on the debug window. Each string is printed on a new line, and the window scrolls to
that line.