Computer Assisted Medical Intervention Tool Kit  version 5.1
AnsysWidget.h
Go to the documentation of this file.
1/*****************************************************************************
2 * $CAMITK_LICENCE_BEGIN$
3 *
4 * CamiTK - Computer Assisted Medical Intervention ToolKit
5 * (c) 2001-2023 Univ. Grenoble Alpes, CNRS, Grenoble INP, TIMC, 38000 Grenoble, France
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 SIMULATOR_SIMULATORS_ANSYS_SOFAWIDGET_H
27#define SIMULATOR_SIMULATORS_ANSYS_SOFAWIDGET_H
28
29#include <QProcess>
30
31#include "SimulatorWidget.h"
32#include "AnsysSimulator.h"
33
34#include "ui_AnsysWidget.h"
35
43 Q_OBJECT
44
45public:
47 AnsysWidget(QWidget* parent = 0, AnsysSimulator* sofaSimulator = NULL);
50
52 void writeBatch(QString path);
53
54
55public slots:
57 void applyChanges();
58
59private:
60
62 Ui::AnsysWidget ui;
64 std::string batchFile;
66 AnsysSimulator* ansysSimulator;
67
68};
69
70#endif
Simulator class to use Ansys as simulation engine.
Definition: AnsysSimulator.h:40
TODO Comment class here.
Definition: AnsysWidget.h:42
void writeBatch(QString path)
write text of QTextEdit into file in path
Definition: AnsysWidget.cpp:62
AnsysWidget(QWidget *parent=0, AnsysSimulator *sofaSimulator=NULL)
constructor
Definition: AnsysWidget.cpp:34
void applyChanges()
slot called when apply changes is pressed
Definition: AnsysWidget.cpp:52
~AnsysWidget()
destructor
Definition: AnsysWidget.cpp:49
A widget specific of the simulator to add in the gui all simulator widget have to derive from this cl...
Definition: SimulatorWidget.h:40