#include <Fl_Window_Floor.h>
Collaboration diagram for Fl_Window_Floor:

It can be used via the signal_link mechanism. Example:
Fl_Window_Floor floorwindow; // Create a floorwindow object. floorwindow.show(); // Show it. FlAme::refresh25 >>= floorwindow; // And set the refresh rate to 25 frames a second. FloorFileRT floorinput; // Create a FloorFileRT object. floorinput.open("234.0.1.5"); // Connect to a multicast stream. floorinput >>= floorwindow; // Have the floorwindow automatically display what is received. The display will be refreshed 25 times a second.
Public Member Functions | |
| Fl_Window_Floor (int X, int Y, int W, int H, const char *label=0) | |
| Standard FLTK constructor. | |
| void | AddPressure (const vector< Sensel > &pressure, const point &pressure_color) |
| Adds pressure information to the display. | |
| void | AddPoint (Point2f const &p, const point &color) |
| Adds a point of interest to the display. | |
| void | ClearPressure () |
| Clears the pressure points from the display. | |
| void | ClearPoints () |
| Clears the points of interest from the display. | |
| void | SetTransformation (const FloorTransformation &t) |
| Sets the transformation used by the Addpoints function. | |
| void | AddPoints (const vector< point > &pv, const point &color) |
| void | operator() (const FloorInfo &info) |
| Sets the pressure display to match the incoming FloorInfo signal. | |
| void | operator() () |
| Refreshes the display. | |
Adds pressure information to the display.
| [in] | pressure | vector of sensels describing the pressure |
| [in] | pressure_color | - color used to display a point of pressure - (1,1,1) is white. Intensity of the color will be scaled by the value of the pressure. |
1.5.1-p1