Computer Assited Medical Intervention Tool Kit
version 3.3
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
modeling
libraries
mml
monitoring
simulator
simulators
Ansys
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-2014 UJF-Grenoble 1, 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 SIMULATOR_SIMULATORS_ANSYS_SOFAWIDGET_H
27
#define SIMULATOR_SIMULATORS_ANSYS_SOFAWIDGET_H
28
29
#include <QProcess>
30
31
#include "
simulator/SimulatorWidget.h
"
32
#include "
AnsysSimulator.h
"
33
34
#include "ui_AnsysWidget.h"
35
42
class
AnsysWidget
:
public
SimulatorWidget
{
43
Q_OBJECT
44
45
public
:
47
AnsysWidget
(QWidget* parent = 0,
AnsysSimulator
* sofaSimulator=NULL);
49
~AnsysWidget
();
50
52
void
writeBatch
(QString path);
53
54
55
public
slots:
57
void
applyChanges
();
58
59
private
:
60
62
Ui::AnsysWidget
ui
;
64
std::string
batchFile
;
66
AnsysSimulator
*
ansysSimulator
;
67
68
};
69
70
#endif
AnsysWidget::writeBatch
void writeBatch(QString path)
write text of QTextEdit into file in path
AnsysWidget
TODO Comment class here.
Definition:
AnsysWidget.h:42
AnsysWidget::AnsysWidget
AnsysWidget(QWidget *parent=0, AnsysSimulator *sofaSimulator=NULL)
constructor
SimulatorWidget.h
AnsysWidget::batchFile
std::string batchFile
sofa scn file
Definition:
AnsysWidget.h:64
AnsysSimulator.h
AnsysWidget::~AnsysWidget
~AnsysWidget()
destructor
SimulatorWidget
A widget specific of the simulator to add in the gui all simulator widget have to derive from this cl...
Definition:
SimulatorWidget.h:40
AnsysWidget::ansysSimulator
AnsysSimulator * ansysSimulator
the ansys simulator
Definition:
AnsysWidget.h:66
AnsysWidget::ui
Ui::AnsysWidget ui
the ui widget designed in qtdesigner
Definition:
AnsysWidget.h:62
AnsysWidget::applyChanges
void applyChanges()
slot called when apply changes is pressed
AnsysSimulator
Simulator class to use Ansys as simulation engine.
Definition:
AnsysSimulator.h:40
Generated on Tue Sep 23 2014 12:37:50 for Computer Assited Medical Intervention Tool Kit by
1.8.8