SpherePackingScenarioGenerator
|
#include <Menu.h>
Public Member Functions | |
void | MainMenu () |
Menu (std::string inputfile, std::string positionfile, double length, double radius) | |
Menu (std::string inputfile, std::string positionfile, double length, double radius, double distance) | |
virtual | ~Menu () |
Private Attributes | |
double | distance |
std::string | inputfile |
double | length |
std::string | positionfile |
double | radius |
Class Menu implements an interface to user
gui::Menu::Menu | ( | std::string | inputfile, |
std::string | positionfile, | ||
double | length, | ||
double | radius | ||
) |
Constructor
inputfile | the configation of generating the random spheres |
positionfile | the file store the position of spheres for randompacking |
length | the edage length of cubic for regularpacking |
radius | the radius of sphere for regularpacking |
gui::Menu::Menu | ( | std::string | inputfile, |
std::string | positionfile, | ||
double | length, | ||
double | radius, | ||
double | distance | ||
) |
Constructor
inputfile | the configation of generating the random spheres |
positionfile | the file store the position of spheres for randompacking |
length | the edage length of cubic for regularpacking |
radius | the radius of sphere for regularpacking |
distance | the minimal distance between sphere and edge of domain |
gui::Menu::~Menu | ( | ) | [virtual] |
Destructor
void gui::Menu::MainMenu | ( | ) |
Trigger the interface
double gui::Menu::distance [private] |
std::string gui::Menu::inputfile [private] |
double gui::Menu::length [private] |
std::string gui::Menu::positionfile [private] |
double gui::Menu::radius [private] |