BALL
1.5.0
include
BALL
VIEW
DIALOGS
exportGeometryDialog.h
Go to the documentation of this file.
1
#ifndef BALL_VIEW_DIALOGS_EXPORTGEOMETRYDIALOG_H
2
#define BALL_VIEW_DIALOGS_EXPORTGEOMETRYDIALOG_H
3
4
#ifndef BALL_COMMON_GLOBAL_H
5
# include <
BALL/COMMON/global.h
>
6
#endif
7
8
#ifndef BALL_VIEW_KERNEL_CLIPPING_PLANE_H
9
# include <
BALL/VIEW/KERNEL/clippingPlane.h
>
10
#endif
11
12
#include <BALL/VIEW/UIC/ui_exportGeometryDialog.h>
13
14
#include <QtWidgets/QDialog>
15
16
namespace
BALL
17
{
18
namespace
VIEW
19
{
20
21
class
BALL_VIEW_EXPORT
ExportGeometryDialog
22
:
public
QDialog
,
23
public
Ui_ExportGeometryDialogData
24
{
25
Q_OBJECT
26
27
public
:
28
29
//Constructor
30
ExportGeometryDialog
(
QWidget
*parent = NULL,
const
char
*name =
"ExportGeometryDialog"
);
31
32
//Destructor
33
virtual
~
ExportGeometryDialog
();
34
38
void
setFilename
(QString filename) {filename_ = filename;}
39
40
QString
getFilename
() {
return
filename_; }
41
45
BALL_DEPRECATED
bool
export_vrml
() {
return
false
; };
46
51
BALL_DEPRECATED
bool
export_stl
() {
return
true
; };
52
55
bool
split();
56
59
// bool* reps() {return reps;}
60
63
// bool* basestats() {return basestats;}
64
65
bool
reps[100];
66
67
bool
basestats[100];
68
69
public
Q_SLOTS:
70
73
int
exec();
74
76
void
accept();
77
79
82
83
protected
Q_SLOTS:
84
87
void
browseFiles();
88
91
void
protomode();
92
95
void
viewmode();
96
97
98
private
:
101
QString filename_;
102
103
bool
split_;
104
105
};
106
107
} }
// namespaces
108
109
#endif // BALL_VIEW_DIALOGS_EXPORTGEOMETRYDIALOG_H
global.h
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition:
COMMON/global.h:52
BALL::VIEW::ExportGeometryDialog
Definition:
exportGeometryDialog.h:21
QWidget
BALL::VIEW::ExportGeometryDialog::export_vrml
BALL_DEPRECATED bool export_vrml()
Definition:
exportGeometryDialog.h:45
BALL
Definition:
constants.h:12
BALL::VIEW::ExportGeometryDialog::export_stl
BALL_DEPRECATED bool export_stl()
Definition:
exportGeometryDialog.h:51
BALL_DEPRECATED
#define BALL_DEPRECATED
Definition:
COMMON/global.h:64
clippingPlane.h
BALL::VIEW::ExportGeometryDialog::getFilename
QString getFilename()
Definition:
exportGeometryDialog.h:40
QDialog
BALL::VIEW::ExportGeometryDialog::setFilename
void setFilename(QString filename)
Definition:
exportGeometryDialog.h:38
Generated by
1.8.13