#include <info.h>
Public Member Functions | |
Info (Dish &dish, Graphics &graphics, std::ostream &out=std::cout) | |
Constructs and Info class dish with specified graphics window. | |
void | Menu (void) |
Reads out key presses in the Graphics window and interprets them. | |
void | WriteCOM (int cell_id, std::ostream &out=std::cout) |
Writes center of mass of cell "cell_id" to stream out. | |
Cell & | ClickCell (Graphics *g) |
Waits until the user clicks a cell and returns a reference to it. |
Only using key presses, to be defined in Info::Menu().
Right-click menu in future Qt-linked versions?
|
Constructs and Info class dish with specified graphics window.
|
|
Waits until the user clicks a cell and returns a reference to it.
|
|
Reads out key presses in the Graphics window and interprets them. If you want to define extra interactive queries, redefine this method. If you want a nice GUI menu, reimplement this method. |
|
Writes center of mass of cell "cell_id" to stream out.
|