SpherePackingScenarioGenerator
|
00001 /* 00002 * Menu.h 00003 * 00004 * Created on: 2011-4-4 00005 * Author: asu 00006 */ 00007 00008 #ifndef MENU_H_ 00009 #define MENU_H_ 00010 00011 #include <iostream> 00012 #include <math.h> 00013 #include <fstream> 00014 #include <vector> 00015 #include <time.h> 00016 #include <string.h> 00017 00018 00019 00020 00021 namespace gui{ 00022 class Menu; 00023 } 00027 class gui::Menu { 00028 public: 00036 Menu( std::string inputfile,std::string positionfile,double length,double radius); 00045 Menu( std::string inputfile,std::string positionfile,double length,double radius,double distance); 00049 virtual ~Menu(); 00053 void MainMenu(); 00054 private: 00055 std::string inputfile;//file of configation 00056 double length;//edage length of domain 00057 double radius;//radius of sphere 00058 double distance;//minimal distance to the edge 00059 std::string positionfile;// file of position of spheres 00060 00061 }; 00062 00063 #endif /* MENU_H_ */