Fl_Window_Floor Class Reference
[FLTKGUI]

#include <Fl_Window_Floor.h>

Collaboration diagram for Fl_Window_Floor:

Collaboration graph
[legend]
List of all members.

Detailed Description

Class used to display floor pressure data and points of interest in a window.

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.


Member Function Documentation

void AddPressure ( const vector< Sensel > &  pressure,
const point pressure_color 
)

Adds pressure information to the display.

Parameters:
[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.


The documentation for this class was generated from the following file:
Generated on Tue Mar 6 17:57:24 2007 for AME Repository by  doxygen 1.5.1-p1