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
#pragma once

#include <QWidget>

namespace Ui {
class NURBSTools;
}

class nurbs_plugin;

class NURBSTools : public QWidget
{
    Q_OBJECT
    
public:
    explicit NURBSTools(nurbs_plugin * usePlugin, QWidget *parent = 0);
    ~NURBSTools();
    
    nurbs_plugin * plugin;

	int uCount();
	int vCount();

	double resolution();

	int contractIterations();

	bool isRemesh();
	bool isVoxelize();
	bool isUseMedial();
	bool isProtectSmallFeatures();

	double remeshParamter();
	double voxelParamter();

public slots:
	void selectionChanged();
	void fillList();
	QStringList selectedGroups();

	void convertToCurve();
	void convertToSheet();

	void modifyGraph();

	void flipU();
	void flipV();

private:
    Ui::NURBSTools *ui;
};