BALL  1.5.0
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
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 
28  : public QDialog,
29  public Ui_ContourSurfaceDialogData
30 {
31  Q_OBJECT
32 
33  public:
34  ContourSurfaceDialog( QWidget* parent = 0, const char* name = "ContourSurfaceDialog");
36 
37  void setGrid(Dataset* grid);
39  double getThreshold() const;
40  void setController(DatasetController* controller) {controller_ = controller;}
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::ContourSurfaceDialog::getThreshold
double getThreshold() const
global.h
BALL::VIEW::ContourSurfaceDialog::getGrid
Dataset * getGrid()
QDialog
BALL
Definition: constants.h:13
BALL::VIEW::DatasetController
Definition: dataset.h:193
QWidget
BALL::VIEW::ContourSurfaceDialog::valuesChanged
virtual void valuesChanged()
BALL::VIEW::ColorRGBA
Definition: colorRGBA.h:32
BALL::VIEW::ContourSurfaceDialog
Definition: contourSurfaceDialog.h:30
BALL::VIEW::ContourSurfaceDialog::exec
virtual int exec()
BALL::VIEW::ContourSurfaceDialog::setGrid
void setGrid(Dataset *grid)
BALL::VIEW::ContourSurfaceDialog::~ContourSurfaceDialog
~ContourSurfaceDialog()
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition: COMMON/global.h:52
BALL::VIEW::Dataset
Definition: dataset.h:61
colorRGBA.h
BALL::VIEW::ContourSurfaceDialog::chooseColor
virtual void chooseColor()
BALL::VIEW::ContourSurfaceDialog::ContourSurfaceDialog
ContourSurfaceDialog(QWidget *parent=0, const char *name="ContourSurfaceDialog")
BALL::VIEW::ContourSurfaceDialog::getColor
ColorRGBA getColor()
BALL::VIEW::ContourSurfaceDialog::setController
void setController(DatasetController *controller)
Definition: contourSurfaceDialog.h:40