Computer Assited Medical Intervention Tool Kit
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
components
physicalmodel
PMManagerDCPopup.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* $CAMITK_LICENCE_BEGIN$
3
*
4
* CamiTK - Computer Assisted Medical Intervention ToolKit
5
* (c) 2001-2013 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 PHYSICALMODELDCPOPUP_H
27
#define PHYSICALMODELDCPOPUP_H
28
29
#include <
ComponentPopupMenu.h
>
30
using namespace
camitk;
31
32
class
StructuralComponent;
33
class
LoadsManager
;
34
43
class
PMManagerDCPopup
:
public
ComponentPopupMenu
{
44
45
Q_OBJECT
46
47
public
:
49
PMManagerDCPopup
(
camitk::Component
*, QWidget*);
50
52
void
updateMenuActions();
53
54
public
slots:
56
void
openLoads();
57
59
void
saveLoads();
60
62
void
saveAsLoads();
63
65
void
closeLoads();
66
68
void
previewLoads();
69
71
void
editLoads();
72
74
void
displayLoads();
75
77
void
atomDataDisplay(QAction *);
78
80
void
openReferencePML();
81
83
void
setAtomDataScale();
84
86
void
simulation();
87
88
/*TODO fix import/export
90
void vtkImport();
91
*/
92
94
void
openRecentLoad();
95
96
private
:
98
QAction *save, *saveAs, *close, *preview, *edit, *showLoads, *hideAtomData, *showAddOnAtomData, *showDisplacements, *showDistances, *
showRENError
, *fixAtomDataScale;
99
101
unsigned
int
maxNrOfRecents
;
102
104
unsigned
int
nrOfRecents
;
105
107
QMenu *
recentLoads
;
108
110
void
updateRecentLoads();
111
113
QStringList
recentLoadFiles
;
114
116
void
addRecentLoads(QString);
117
119
void
saveRecentLoads();
120
122
void
openLoads(QString);
123
125
LoadsManager
*
myLM
;
126
};
127
128
129
#endif
Generated on Tue Feb 26 2013 20:57:33 for Computer Assited Medical Intervention Tool Kit by
1.8.3.1