SpherePackingScenarioGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
gui::Menu Class Reference

#include <Menu.h>

Collaboration diagram for gui::Menu:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Class Menu implements an interface to user


Constructor & Destructor Documentation

gui::Menu::Menu ( std::string  inputfile,
std::string  positionfile,
double  length,
double  radius 
)

Constructor

Parameters:
inputfilethe configation of generating the random spheres
positionfilethe file store the position of spheres for randompacking
lengththe edage length of cubic for regularpacking
radiusthe radius of sphere for regularpacking
gui::Menu::Menu ( std::string  inputfile,
std::string  positionfile,
double  length,
double  radius,
double  distance 
)

Constructor

Parameters:
inputfilethe configation of generating the random spheres
positionfilethe file store the position of spheres for randompacking
lengththe edage length of cubic for regularpacking
radiusthe radius of sphere for regularpacking
distancethe minimal distance between sphere and edge of domain
gui::Menu::~Menu ( ) [virtual]

Destructor


Member Function Documentation

Trigger the interface


Member Data Documentation

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]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines