#include <BatchGUI.h>


Public Member Functions | |
methods each GUI must implement | |
| BatchGUI () | |
| void | setScene (sofa::simulation::Node *groot, const char *filename="") |
| int | mainLoop () |
| void | redraw () |
| int | closeGUI () |
| sofa::simulation::Node * | currentSimulation () |
Static Public Member Functions | |
registration of each GUI | |
| static int | InitGUI (const char *name, const std::vector< std::string > &options) |
| static SofaGUI * | CreateGUI (const char *name, const std::vector< std::string > &options, sofa::simulation::Node *groot=NULL, const char *filename=NULL) |
Protected Member Functions | |
| ~BatchGUI () | |
| The destructor should not be called directly. Use the closeGUI() method instead. | |
Protected Attributes | |
| sofa::simulation::Node * | groot |
| std::string | filename |
| int | nbIter |
Definition at line 39 of file BatchGUI.h.
| sofa::gui::BatchGUI::BatchGUI | ( | ) |
| sofa::gui::BatchGUI::~BatchGUI | ( | ) | [protected] |
The destructor should not be called directly. Use the closeGUI() method instead.
Definition at line 41 of file BatchGUI.cpp.
| int sofa::gui::BatchGUI::closeGUI | ( | ) | [virtual] |
| SofaGUI * sofa::gui::BatchGUI::CreateGUI | ( | const char * | name, | |
| const std::vector< std::string > & | options, | |||
| sofa::simulation::Node * | groot = NULL, |
|||
| const char * | filename = NULL | |||
| ) | [static] |
Definition at line 88 of file BatchGUI.cpp.
References BatchGUI(), sofa::gui::qt::gui, and setScene().
| sofa::simulation::Node * sofa::gui::BatchGUI::currentSimulation | ( | ) | [virtual] |
| int sofa::gui::BatchGUI::InitGUI | ( | const char * | name, | |
| const std::vector< std::string > & | options | |||
| ) | [static] |
Definition at line 83 of file BatchGUI.cpp.
| int sofa::gui::BatchGUI::mainLoop | ( | ) | [virtual] |
Implements sofa::gui::SofaGUI.
Definition at line 45 of file BatchGUI.cpp.
References sofa::simulation::tree::getSimulation(), groot, and nbIter.
| void sofa::gui::BatchGUI::redraw | ( | ) | [virtual] |
| void sofa::gui::BatchGUI::setScene | ( | sofa::simulation::Node * | groot, | |
| const char * | filename = "" | |||
| ) |
std::string sofa::gui::BatchGUI::filename [protected] |
Definition at line 72 of file BatchGUI.h.
sofa::simulation::Node* sofa::gui::BatchGUI::groot [protected] |
int sofa::gui::BatchGUI::nbIter [protected] |
1.5.7.1