SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::simulation::tree Namespace Reference

Classes

struct  animateTask
 
struct  CleanupCheck
 
struct  collideTask
 
struct  doCollideTask
 
class  ExportDotVisitor
 
class  GNode
 
class  GNodeMultiMappingElement
 
class  GNodeVisitor
 
struct  MainLoopTask
 
class  SMPSimulation
 
class  TreeSimulation
 
struct  visuTask
 

Functions

SOFA_SIMULATION_TREE_API void init ()
 Initialize the SofaSimulationTree library, as well as its dependencies: SofaSimulationCommon, SofaCore, SofaDefaultType, SofaHelper. More...
 
SOFA_SIMULATION_TREE_API bool isInitialized ()
 Return true if and only if the SofaSimulationTree library has been initialized. More...
 
SOFA_SIMULATION_TREE_API void cleanup ()
 Clean up the resources used by the SofaSimulationTree library, as well as its dependencies: SofaSimulationCommon, SofaCore, SofaDefaultType, SofaHelper. More...
 
SOFA_SIMULATION_TREE_API bool isCleanedUp ()
 Return true if and only if the SofaSimulationTree library has been cleaned up. More...
 
SimulationgetSimulation ()
 

Variables

helper::Creator< sofa::simulation::xml::BaseElement::NodeFactory, GNodeMultiMappingElementGNodeMultiMappingClass ("GNodeMultiMapping")
 
Node_root =NULL
 
double _dt
 
int SMPSimulationClass = core::RegisterObject ( "Main simulation algorithm" ) .add< SMPSimulation >()
 

Function Documentation

SOFA_SIMULATION_TREE_API void sofa::simulation::tree::cleanup ( )

Clean up the resources used by the SofaSimulationTree library, as well as its dependencies: SofaSimulationCommon, SofaCore, SofaDefaultType, SofaHelper.

SOFA_SIMULATION_TREE_API Simulation * sofa::simulation::tree::getSimulation ( )

Get the (unique) simulation which controls the scene. Automatically creates one if no Simulation has been set.

SOFA_SIMULATION_TREE_API void sofa::simulation::tree::init ( )

Initialize the SofaSimulationTree library, as well as its dependencies: SofaSimulationCommon, SofaCore, SofaDefaultType, SofaHelper.

SOFA_SIMULATION_TREE_API bool sofa::simulation::tree::isCleanedUp ( )

Return true if and only if the SofaSimulationTree library has been cleaned up.

SOFA_SIMULATION_TREE_API bool sofa::simulation::tree::isInitialized ( )

Return true if and only if the SofaSimulationTree library has been initialized.

Variable Documentation

double sofa::simulation::tree::_dt
Node* sofa::simulation::tree::_root =NULL
helper::Creator<sofa::simulation::xml::BaseElement::NodeFactory, GNodeMultiMappingElement> sofa::simulation::tree::GNodeMultiMappingClass("GNodeMultiMapping")
int sofa::simulation::tree::SMPSimulationClass = core::RegisterObject ( "Main simulation algorithm" ) .add< SMPSimulation >()