BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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);
38  Dataset* getGrid();
39  double getThreshold() const;
40  void setController(DatasetController* controller) {controller_ = controller;}
42 
43  public slots:
44  virtual bool exec();
45 
46  protected 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
void setController(DatasetController *controller)
#define BALL_VIEW_EXPORT
Definition: COMMON/global.h:52
BALL_VIEW_EXPORT ColorRGBA getColor(const QLabel *label)
BALL_VIEW_EXPORT QColor chooseColor(QLabel *label)