|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef MANAGER_NONINTERACTIVEMANAGER_H
27 #define MANAGER_NONINTERACTIVEMANAGER_H
33 #include <MonitorIn.hxx>
34 #include <MonitorOut.hxx>
82 #endif // MANAGER_NONINTERACTIVEMANAGER_H
void doMove() override
postprocess a simulation step, doCalc must have been done before
Definition: NonInteractiveMonitoringManager.cpp:85
int step
current step
Definition: MonitoringManager.h:177
virtual bool doCalc()=0
make entire simulation ans store results of all step
bool checkStop() override
Check if simulation is finished.
Definition: NonInteractiveMonitoringManager.cpp:92
void end() override
End manager.
Definition: NonInteractiveMonitoringManager.cpp:75
void saveMonitors()
Save save monitors' state for the current time.
Definition: MonitoringManager.cpp:200
NonInteractice managers are managers linked with an non interactive simulator.
Definition: NonInteractiveMonitoringManager.h:47
double currentTime
time at current moment
Definition: MonitoringManager.h:179
void end() override=0
end simultor
NonInteractiveSimulator * simul
the simulator used for simualtion
Definition: NonInteractiveMonitoringManager.h:99
~NonInteractiveMonitoringManager() override
destructor
Definition: NonInteractiveMonitoringManager.cpp:41
bool init() override
Initialize manager.
Definition: NonInteractiveMonitoringManager.cpp:60
Manager of the benchmark tests. Do simulation loop and tests.
Definition: MonitoringManager.h:50
Simulator * simul
the simulator used for simualtion
Definition: MonitoringManager.h:185
virtual int getMaxStep()=0
get the number of steps after simulation
NonInteractiveMonitoringManager(const char *mml)
constructor
Definition: NonInteractiveMonitoringManager.cpp:36
void init() override=0
initialize simulator
int maxStep
the number of step unsed for simulation
Definition: NonInteractiveMonitoringManager.h:97
void updatePositions()
update all current positions and store last positions
Definition: Simulator.cpp:44
virtual double getTime(int step)=0
get the time of simulation of a given step
void incStep()
increment step by one
Definition: MonitoringManager.cpp:330
An interactive simulator is a simulator that we cannot control step by step (ex: Ansys) Entire simula...
Definition: NonInteractiveSimulator.h:38
bool doCalc()
make computation of all steps with the simulator
Definition: NonInteractiveMonitoringManager.cpp:80