00001 /* 00002 00003 Copyright 1996-2006 Roeland Merks 00004 00005 This file is part of Tissue Simulation Toolkit. 00006 00007 Tissue Simulation Toolkit is free software; you can redistribute 00008 it and/or modify it under the terms of the GNU General Public 00009 License as published by the Free Software Foundation; either 00010 version 2 of the License, or (at your option) any later version. 00011 00012 Tissue Simulation Toolkit is distributed in the hope that it will 00013 be useful, but WITHOUT ANY WARRANTY; without even the implied 00014 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00015 See the GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with Tissue Simulation Toolkit; if not, write to the Free 00019 Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 00020 02110-1301 USA 00021 00022 */ 00023 00032 class Graphics; 00033 class Dish; 00034 //class ostream; 00035 00036 class Info { 00037 00038 public: 00039 00046 Info(Dish &dish, Graphics &graphics, std::ostream &out=std::cout); 00047 00054 void Menu(void); 00055 00058 void WriteCOM(int cell_id, std::ostream &out=std::cout); 00059 00062 Cell &ClickCell(Graphics *g); 00063 00064 private: 00065 Info(void); 00066 00067 00068 private: 00069 Graphics *graphics; 00070 Dish *dish; 00071 std::ostream *os; 00072 };