Computer Assited Medical Intervention Tool Kit  version 4.0
NonInteractiveMonitoringManager.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * $CAMITK_LICENCE_BEGIN$
3  *
4  * CamiTK - Computer Assisted Medical Intervention ToolKit
5  * (c) 2001-2016 Univ. Grenoble Alpes, CNRS, TIMC-IMAG UMR 5525 (GMCAO)
6  *
7  * Visit http://camitk.imag.fr for more information
8  *
9  * This file is part of CamiTK.
10  *
11  * CamiTK is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * CamiTK is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Lesser General Public License version 3 for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public License
21  * version 3 along with CamiTK. If not, see <http://www.gnu.org/licenses/>.
22  *
23  * $CAMITK_LICENCE_END$
24  ****************************************************************************/
25 
26 #ifndef MANAGER_NONINTERACTIVEMANAGER_H
27 #define MANAGER_NONINTERACTIVEMANAGER_H
28 
29 #include <memory> // std::auto_ptr
30 #include <vector>
31 
32 // Monitor includes
33 #include <MonitorIn.hxx>
34 #include <MonitorOut.hxx>
35 #include "MonitoringManager.h"
36 #include "Monitor.h"
37 
38 // Simulator includes
48 public:
54  NonInteractiveMonitoringManager(const char* mml);
55 
58 
62  bool doCalc();
64  bool init();
66  void end();
68  void doMove();
70  bool checkStop();
71 
72 private:
74  int maxStep;
77 
78 
79 
80 };
81 
82 #endif // MANAGER_NONINTERACTIVEMANAGER_H
An interactive simulator is a simulator that we cannot control step by step (ex: Ansys) Entire simula...
Definition: NonInteractiveSimulator.h:38
~NonInteractiveMonitoringManager()
destructor
Definition: NonInteractiveMonitoringManager.cpp:41
NonInteractiveMonitoringManager(const char *mml)
constructor
Definition: NonInteractiveMonitoringManager.cpp:36
bool checkStop()
Check if simulation is finished.
Definition: NonInteractiveMonitoringManager.cpp:90
NonInteractiveSimulator * simul
the simulator used for simualtion
Definition: NonInteractiveMonitoringManager.h:76
Manager of the benchmark tests.
Definition: MonitoringManager.h:50
bool doCalc()
make computation of all steps with the simulator
Definition: NonInteractiveMonitoringManager.cpp:78
void end()
End manager.
Definition: NonInteractiveMonitoringManager.cpp:73
void doMove()
postprocess a simulation step, doCalc must have been done before
Definition: NonInteractiveMonitoringManager.cpp:83
NonInteractice managers are managers linked with an non interactive simulator.
Definition: NonInteractiveMonitoringManager.h:47
bool init()
Initialize manager.
Definition: NonInteractiveMonitoringManager.cpp:59
int maxStep
the number of step unsed for simulation
Definition: NonInteractiveMonitoringManager.h:74