![]() |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
An interactive simulator is a simulator that we can control step by step (ex: Sofa) More...
#include <InteractiveSimulator.h>
Inherits Simulator.
Inherited by SofaSimulator.
Public Member Functions | |
| void | createPml (const char *inputFile, const char *pmlFile)=0 |
| Create a pml file from an imput file. More... | |
| virtual void | doMove (double dt)=0 |
| ask the simulator do to one step of the simulation More... | |
| void | end ()=0 |
| end simultor More... | |
| void | getPosition (int index, double position[3])=0 |
| get current position for one atom More... | |
| void | init ()=0 |
| initialize the simulator More... | |
| InteractiveSimulator (MonitoringManager *monitoringManager) | |
| constructor More... | |
| InteractiveSimulator (MonitoringManager *monitoringManager, const char *file) | |
| constructor More... | |
| ~InteractiveSimulator () override=default | |
| destructor More... | |
Public Member Functions inherited from Simulator | |
| virtual void | getForce (int index, double force[3])=0 |
| get current force for one atom More... | |
| Simulator (MonitoringManager *monitoringManager) | |
| default constructor build a simulation from context provided by monitoringManager More... | |
| Simulator (MonitoringManager *monitoringManager, const char *file) | |
| constructor with simulator file build a simulation from context provided by monitoringManager and physical model provided by a simulator specific input file More... | |
| void | updatePositions () |
| update all current positions and store last positions More... | |
| virtual | ~Simulator ()=default |
| destructor More... | |
Additional Inherited Members | |
Protected Attributes inherited from Simulator | |
| MonitoringManager * | monitoringManager |
| monitoring manager More... | |
An interactive simulator is a simulator that we can control step by step (ex: Sofa)
| InteractiveSimulator::InteractiveSimulator | ( | MonitoringManager * | monitoringManager | ) |
constructor
| InteractiveSimulator::InteractiveSimulator | ( | MonitoringManager * | monitoringManager, |
| const char * | file | ||
| ) |
constructor
|
overridedefault |
destructor
|
pure virtual |
|
pure virtual |
ask the simulator do to one step of the simulation
| dt | integration step |
Implemented in SofaSimulator.
Referenced by InteractiveMonitoringManager::doMove().
|
pure virtual |
end simultor
Implements Simulator.
Implemented in SofaSimulator.
Referenced by InteractiveMonitoringManager::end().
|
pure virtual |
|
pure virtual |
initialize the simulator
Implements Simulator.
Implemented in SofaSimulator.
Referenced by InteractiveMonitoringManager::init().
1.8.13