BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
minimizationDialog.h
Go to the documentation of this file.
1 // -*- Mode: C++; tab-width: 2; -*-
2 // vi: set ts=2:
3 //
4 
5 #ifndef BALL_VIEW_DIALOGS_MINIMIZATIONDIALOG_H
6 #define BALL_VIEW_DIALOGS_MINIMIZATIONDIALOG_H
7 
8 #ifndef BALL_COMMON_GLOBAL_H
9 # include <BALL/COMMON/global.h>
10 #endif
11 
12 #ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
14 #endif
15 
16 #include <BALL/VIEW/UIC/ui_minimizationDialog.h>
17 
18 namespace BALL
19 {
20  namespace VIEW
21  {
22  class AmberConfigurationDialog;
23  class CharmmConfigurationDialog;
24  class MMFF94ConfigurationDialog;
25 
30  : public QDialog,
31  public Ui_MinimizationDialogData,
32  public PreferencesEntry
33  {
34  Q_OBJECT
35 
36  public:
37 
39  MinimizationDialog(QWidget* parent = NULL, const char* name = "MinimizationDialog");
40 
42  virtual ~MinimizationDialog();
43 
45  Size getMaxIterations() const;
46 
48  void setMaxIterations(Size n);
49 
51  Size getRefresh() const;
52 
54  void setRefresh(Size n);
55 
57  double getMaxGradient() const;
58 
60  void setMaxGradient(double max_gradient);
61 
63  double getEnergyDifference() const;
64 
66  void setEnergyDifference(double energy_difference);
67 
69  bool getUseStrangLBFGS() const;
70 
72  void setUseStrangLBFGS(bool use_LBFGS);
73 
75  bool getUseShiftedLVMM() const;
76 
78  void setUseShiftedLVMM(bool use_shifted);
79 
81  bool getUseConjugateGradient() const;
82 
84  void setUseConjugateGradient(bool use_CG);
85 
89  void setAmberDialog(AmberConfigurationDialog* amber_dialog);
90 
94  void setCharmmDialog(CharmmConfigurationDialog* charmm_dialog);
95 
97  void setMMFF94Dialog(MMFF94ConfigurationDialog* dialog);
98 
100  void selectForceField(Position nr);
101 
103  Position selectedForceField() const;
104 
105  public slots:
106 
108  virtual void accept();
109 
111  void advancedOptions();
112 
113  private:
117  };
118 
119  } // namespace VIEW
120 } // namespace BALL
121 
122 #endif