surface_selection_dockTab.h 900 Bytes
Newer Older
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
#ifndef _SURFACE_SELECTION_DOCK_TAB_H_
#define _SURFACE_SELECTION_DOCK_TAB_H_

#include "ui_surface_selection.h"

namespace CGoGN
{

namespace SCHNApps
{

class SCHNApps;
class Surface_Selection_Plugin;
struct MapParameters;

class Surface_Selection_DockTab : public QWidget, public Ui::Surface_Selection_TabWidget
{
	Q_OBJECT

	friend class Surface_Selection_Plugin;

public:
	Surface_Selection_DockTab(SCHNApps* s, Surface_Selection_Plugin* p);

private:
	SCHNApps* m_schnapps;
	Surface_Selection_Plugin* m_plugin;
	bool b_updatingUI;

private slots:
	void positionAttributeChanged(int index);
32
	void normalAttributeChanged(int index);
33
	void selectionMethodChanged(int index);
Sylvain Thery's avatar
Sylvain Thery committed
34 35
	void verticesScaleFactorChanged(int i);
	void verticesScaleFactorPressed();
36 37

private:
38
	void addVertexAttribute(const QString& name);
39 40 41 42 43 44 45 46 47

	void updateMapParameters();
};

} // namespace SCHNApps

} // namespace CGoGN

#endif