blob: 5b68575512524af21399d10271e32c6250402e74 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#ifndef FRACTURESLICESETTINGSPANEL_H
#define FRACTURESLICESETTINGSPANEL_H
#include <QtWidgets/QWidget>
#include "ProjectParams.h"
namespace Ui {
class FractureSliceSettingsPanel;
}
class FractureGeneralPanel;
class FractureSliceSettingsPanel : public QWidget
{
Q_OBJECT
public:
explicit FractureSliceSettingsPanel(QWidget *parent = 0);
~FractureSliceSettingsPanel();
void updateValues();
void setFractureGeneralPanel(FractureGeneralPanel* generalPanel) { _generalPanel = generalPanel; }
private slots:
void on_spinBoxNumSlicesX_valueChanged(int arg1);
void on_spinBoxNumSlicesY_valueChanged(int arg1);
void on_spinBoxNumSlicesZ_valueChanged(int arg1);
void on_spinBoxOffsetVariation_valueChanged(double arg1);
void on_spinBoxRotationVariation_valueChanged(double arg1);
void on_spinBoxNoiseAmplitude_valueChanged(double arg1);
void on_spinBoxNoiseFrequency_valueChanged(double arg1);
void on_spinBoxNoiseOctaveNumber_valueChanged(int arg1);
void on_spinBoxNoiseSeed_valueChanged(int arg1);
void on_spinBoxSurfaceResolution_valueChanged(int arg1);
void on_btnApplyFracture_clicked();
private:
BPPSlice* _getBPPSlice();
private:
Ui::FractureSliceSettingsPanel *ui;
bool _updateData;
FractureGeneralPanel* _generalPanel;
};
#endif // FRACTURESLICESETTINGSPANEL_H
|