SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::helper::testing::BaseSimulationTest::SceneInstance Class Reference

#include <BaseSimulationTest.h>

Public Attributes

Node::SPtr root
 
Simulationsimulation {nullptr}
 

Public Member Functions

 SceneInstance (const std::string &rootname="root")
 
 SceneInstance (const std::string &type, const std::string &memory)
 
 ~SceneInstance ()
 
void initScene ()
 
void simulate (const double timestep)
 

Static Public Member Functions

static SceneInstance LoadFromFile (const std::string &filename)
 Create a new scene instance from the content of the filename using the factory. More...
 

Attribute details

Node::SPtr sofa::helper::testing::BaseSimulationTest::SceneInstance::root
Simulation* sofa::helper::testing::BaseSimulationTest::SceneInstance::simulation {nullptr}

Constructor details

sofa::helper::testing::BaseSimulationTest::SceneInstance::SceneInstance ( const std::string &  rootname = "root")
sofa::helper::testing::BaseSimulationTest::SceneInstance::SceneInstance ( const std::string &  type,
const std::string &  memory 
)
sofa::helper::testing::BaseSimulationTest::SceneInstance::~SceneInstance ( )

Function details

void sofa::helper::testing::BaseSimulationTest::SceneInstance::initScene ( )
BaseSimulationTest::SceneInstance sofa::helper::testing::BaseSimulationTest::SceneInstance::LoadFromFile ( const std::string &  filename)
static

Create a new scene instance from the content of the filename using the factory.

void sofa::helper::testing::BaseSimulationTest::SceneInstance::simulate ( const double  timestep)