renderTopoSurfaceDockTab.h 1.01 KB
Newer Older
1 2
#ifndef _RENDER_TOPO_SURFACE_DOCK_TAB_H_
#define _RENDER_TOPO_SURFACE_DOCK_TAB_H_
untereiner's avatar
untereiner committed
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

#include "ui_renderTopoSurface.h"

namespace CGoGN
{

namespace SCHNApps
{

class Window;
class RenderTopoSurfacePlugin;
struct ParameterSet;

class RenderTopoSurfaceDockTab : public QWidget, public Ui::RenderTopoSurfaceDockWidget
{
	Q_OBJECT

public:
	RenderTopoSurfaceDockTab(Window* w, RenderTopoSurfacePlugin* p);

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

public slots:
	void refreshUI(ParameterSet* params);

	void selectedMapChanged();
	void positionAttributeChanged(int index);
34
	void drawDartsChanged(bool b);
Pierre Kraemer's avatar
Pierre Kraemer committed
35
	void dartsColorChanged(int);
36
	void drawPhi1Changed(bool b);
Pierre Kraemer's avatar
Pierre Kraemer committed
37
	void phi1ColorChanged(int);
38
	void drawPhi2Changed(bool b);
Pierre Kraemer's avatar
Pierre Kraemer committed
39
	void phi2ColorChanged(int);
untereiner's avatar
untereiner committed
40 41
	void edgesScaleFactorChanged(int i);
	void facesScaleFactorChanged(int i);
42

43
	void addAttributeToList(unsigned int orbit, const QString& nameAttr);
untereiner's avatar
untereiner committed
44 45 46 47 48 49 50
};

} // namespace SCHNApps

} // namespace CGoGN

#endif