Namespaces | |
| namespace | xml |
| XML I/O classes. | |
Data Structures | |
| class | CleanupVisitor |
| class | DeleteVisitor |
| class | ExportDotVisitor |
| class | GNode |
| Define the structure of the scene. More... | |
| class | GNodeVisitor |
| Base class for the Visitors which deal with GNodes specifically rather than Node. More... | |
| class | MutationListener |
| class | ParallelVisitorScheduler |
| Specialized VisitorScheduler for parallel implementations. More... | |
| class | Simulation |
| Main controller of the scene. More... | |
Functions | |
| void | setSimulation (Simulation *) |
| Set the (unique) simulation which controls the scene. | |
| Simulation * | getSimulation () |
| Get the (unique) simulation which controls the scene. | |
| SOFA_DECL_CLASS (Simulation) | |
Variables | |
| helper::Creator < xml::NodeElement::Factory, GNode > | GNodeClass ("default") |
| Simulation * | theSimulation = NULL |
| The (unique) simulation which controls the scene. | |
| int | SimulationClass |
| Simulation * sofa::simulation::tree::getSimulation | ( | ) |
Get the (unique) simulation which controls the scene.
Automatically creates one if no Simulation has been set.
Definition at line 77 of file Simulation.cpp.
References theSimulation.
Referenced by apply(), sofa::filemanager::pml::PMLReader::BuildStructure(), sofa::gui::qt::viewer::qt::QtViewer::calcProjection(), sofa::gui::glut::SimpleGUI::calcProjection(), sofa::gui::qt::RealGUI::changeInstrument(), sofa::component::collision::SubsetContactMapper< TCollisionModel, DataTypes >::cleanup(), sofa::component::collision::RigidContactMapper< TCollisionModel, DataTypes >::cleanup(), sofa::gui::qt::RealGUI::clearGraph(), sofa::gui::qt::GraphModeler::deleteComponent(), sofa::gui::qt::viewer::qt::QtViewer::DisplayOBJs(), sofa::gui::qt::viewer::qgl::QtGLViewer::DisplayOBJs(), sofa::gui::glut::SimpleGUI::DisplayOBJs(), sofa::gui::qt::RealGUI::editGnuplotDirectory(), sofa::gui::qt::RealGUI::exportOBJ(), sofa::gui::glut::SimpleGUI::exportOBJ(), sofa::gui::qt::RealGUI::fileOpen(), sofa::gui::qt::SofaModeler::fileSave(), sofa::gui::qt::RealGUI::fileSaveAs(), sofa::gui::qt::RealGUI::graphRemoveObject(), sofa::gui::glut::SimpleGUI::keyPressEvent(), sofa::gui::qt::RealGUI::loadSimulation(), main(), sofa::gui::BatchGUI::mainLoop(), sofa::gui::qt::viewer::SofaViewer::moveLaparoscopic(), sofa::simulation::tree::Simulation::processXML(), sofa::gui::qt::RealGUI::resetScene(), sofa::gui::glut::SimpleGUI::resetScene(), sofa::gui::qt::SofaModeler::runInSofa(), sofa::gui::qt::GraphModeler::saveNode(), sofa::gui::qt::RealGUI::saveXML(), sofa::gui::qt::RealGUI::setExportGnuplot(), sofa::gui::glut::SimpleGUI::setExportGnuplot(), sofa::gui::qt::viewer::qt::QtViewer::setScene(), sofa::gui::qt::RealGUI::setViewer(), sofa::gui::glut::SimpleGUI::showBehavior(), sofa::gui::glut::SimpleGUI::showBoundingCollision(), sofa::gui::glut::SimpleGUI::showCollision(), sofa::gui::qt::viewer::qtogre::QtOgreViewer::showEntireScene(), sofa::gui::glut::SimpleGUI::showForceField(), sofa::gui::qt::RealGUI::showhideElements(), sofa::gui::glut::SimpleGUI::showInteractionForceField(), sofa::gui::glut::SimpleGUI::showMapping(), sofa::gui::glut::SimpleGUI::showMechanicalMapping(), sofa::gui::glut::SimpleGUI::showNormals(), sofa::gui::glut::SimpleGUI::showVisual(), sofa::gui::glut::SimpleGUI::showWireFrame(), sofa::gui::qt::RealGUI::step(), sofa::gui::glut::SimpleGUI::step(), sofa::gui::qt::viewer::qgl::QtGLViewer::viewAll(), and sofa::gui::qt::GraphModeler::~GraphModeler().
| void sofa::simulation::tree::setSimulation | ( | Simulation * | s | ) |
Set the (unique) simulation which controls the scene.
Definition at line 72 of file Simulation.cpp.
References theSimulation.
Referenced by sofa::simulation::tree::Simulation::processXML(), and sofa::simulation::tree::Simulation::~Simulation().
| sofa::simulation::tree::SOFA_DECL_CLASS | ( | Simulation | ) |
Initial value:
core::RegisterObject ( "Main simulation algorithm" )
.add< Simulation >()
Definition at line 473 of file Simulation.cpp.
The (unique) simulation which controls the scene.
Definition at line 70 of file Simulation.cpp.
Referenced by getSimulation(), and setSimulation().
1.5.7.1