#include <SfClass.h>
Public Types | |
enum | { FIRST, LAST, REMOVE } |
Public Methods | |
virtual void | Vector (double, double, double, double) |
draws a line. | |
virtual void | Vector (double, double, double, double, ArPose *) |
draws a line relative to a pose; use NULL for the robot. | |
virtual void | Rectangle (double, double, double, double) |
draws a rectangle. | |
virtual void | CRectangle (double, double, double, double) |
draws a centered rectangle. | |
virtual void | CRectangle (double, double, double, double, ArPose *) |
draws a centered rectangle relative to a pose; use NULL for the robot. | |
virtual void | Point (double, double) |
draws a point. | |
virtual void | Point (double, double, ArPose *) |
draws a point relative to a pose; use NULL for the robot. | |
virtual void | Polygon (int, double *, double *) |
draws a polygon, using an array of points. | |
virtual void | Circle (double x, double y, double r) |
draws a circle at x,y, with radius r. | |
virtual void | Circle (double x, double y, double r, ArPose *) |
draws a circle relative to a pose; use NULL for the robot. | |
virtual void | Text (char *str, double x, double y) |
draws a text string at location x,y. | |
virtual void | Text (char *str, double x, double y, ArPose *) |
draws a text string at location x,y relative to a pose; use NULL for the robot. | |
virtual void | PenColor (int) |
Sets the drawing pen color This holds until another pen color is set. | |
virtual void | Coords (double *x, double *y, int i, int j) |
returns RW coords from screen i,j. | |
void | AddKeyHandler (int(*fn)(int, int, SfWin *), int which=FIRST) |
adds a keystroke handler to the window. | |
void | AddButtonHandler (int(*fn)(int, int, int, int, SfWin *), int which=FIRST) |
adds a button press handler. |
|
|