BALL
1.5.0
include
BALL
VIEW
DIALOGS
contourSurfaceDialog.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
#ifndef BALL_VIEW_DIALOGS_CONTOURSURFACEDIALOG_H
5
#define BALL_VIEW_DIALOGS_CONTOURSURFACEDIALOG_H
6
7
#ifndef BALL_COMMON_GLOBAL_H
8
# include <
BALL/COMMON/global.h
>
9
#endif
10
11
#ifndef BALL_VIEW_DATATYPE_COLORRGBA_H
12
# include <
BALL/VIEW/DATATYPE/colorRGBA.h
>
13
#endif
14
15
#include <BALL/VIEW/UIC/ui_contourSurfaceDialog.h>
16
17
namespace
BALL
18
{
19
namespace
VIEW
20
{
21
class
DatasetController;
22
class
Dataset;
23
27
class
BALL_VIEW_EXPORT
ContourSurfaceDialog
28
:
public
QDialog
,
29
public
Ui_ContourSurfaceDialogData
30
{
31
Q_OBJECT
32
33
public
:
34
ContourSurfaceDialog
(
QWidget
* parent = 0,
const
char
* name =
"ContourSurfaceDialog"
);
35
~
ContourSurfaceDialog
();
36
37
void
setGrid(
Dataset
* grid);
38
Dataset
* getGrid();
39
double
getThreshold()
const
;
40
void
setController
(
DatasetController
* controller) {controller_ = controller;}
41
ColorRGBA
getColor
();
42
43
public
Q_SLOTS:
44
virtual
int
exec();
45
46
protected
Q_SLOTS:
47
virtual
void
valuesChanged();
48
virtual
void
chooseColor
();
49
50
private
:
51
Dataset
* grid_;
52
DatasetController
* controller_;
53
};
54
55
} }
// namespaces
56
#endif // CONTOURSURFACEDIALOG_H
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition:
COMMON/global.h:52
BALL::VIEW::ContourSurfaceDialog::setController
void setController(DatasetController *controller)
Definition:
contourSurfaceDialog.h:40
QWidget
BALL::VIEW::DatasetController
Definition:
dataset.h:190
QDialog
BALL::VIEW::Dataset
Definition:
dataset.h:60
BALL::VIEW::chooseColor
BALL_VIEW_EXPORT QColor chooseColor(QLabel *label)
BALL
Definition:
constants.h:12
BALL::VIEW::ContourSurfaceDialog
Definition:
contourSurfaceDialog.h:27
BALL::VIEW::ColorRGBA
Definition:
colorRGBA.h:31
colorRGBA.h
global.h
BALL::VIEW::getColor
BALL_VIEW_EXPORT ColorRGBA getColor(const QLabel *label)
Generated by
1.8.16