surfaceDeformationDockTab.h 852 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
#ifndef _SURFACE_DEFORMATION_DOCK_TAB_H_
#define _SURFACE_DEFORMATION_DOCK_TAB_H_

#include "ui_surfaceDeformation.h"

namespace CGoGN
{

namespace SCHNApps
{

class Window;
class SurfaceDeformationPlugin;
14
struct ParameterSet;
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32

class SurfaceDeformationDockTab : public QWidget, public Ui::SurfaceDeformationWidget
{
	Q_OBJECT

public:
	SurfaceDeformationDockTab(Window* w, SurfaceDeformationPlugin* p);

private:
	Window* m_window;
	SurfaceDeformationPlugin* m_plugin;
	ParameterSet* m_currentParams;
	bool b_refreshingUI;

public slots:
	void refreshUI(ParameterSet* params);

	void selectedMapChanged();
33

34 35 36
	void positionAttributeChanged(int index);
	void selectLockedVertices(bool b);
	void selectHandleVertices(bool b);
37

38 39 40 41 42 43 44 45
	void addAttributeToList(unsigned int orbit, const QString& nameAttr);
};

} // namespace SCHNApps

} // namespace CGoGN

#endif