diff --git a/src/meshlabplugins/meshfilter/meshfilter.h b/src/meshlabplugins/meshfilter/meshfilter.h index 7849987b0..c9140959e 100644 --- a/src/meshlabplugins/meshfilter/meshfilter.h +++ b/src/meshlabplugins/meshfilter/meshfilter.h @@ -30,6 +30,8 @@ #include #include "refinedialog.h" #include "decimatordialog.h" +#include "transformdialog.h" + #include "../../meshlab/GLLogStream.h" class ExtraMeshFilterPlugin : public QObject, public MeshFilterInterface @@ -43,8 +45,9 @@ class ExtraMeshFilterPlugin : public QObject, public MeshFilterInterface - name of the plugin separated by _ */ enum FilterType { FP_LOOP_SS, FP_BUTTERFLY_SS, FP_REMOVE_UNREFERENCED_VERTEX, - FP_REMOVE_DUPLICATED_VERTEX, FP_REMOVE_NULL_FACES, - FP_LAPLACIAN_SMOOTH, FP_DECIMATOR, FP_MIDPOINT, FP_REORIENT ,FP_INVERT_FACES} ; + FP_REMOVE_DUPLICATED_VERTEX, FP_REMOVE_NULL_FACES, + FP_LAPLACIAN_SMOOTH, FP_DECIMATOR, FP_MIDPOINT, FP_REORIENT ,FP_INVERT_FACES, + FP_TRANSFORM } ; const QString ST(FilterType filter); @@ -62,6 +65,7 @@ protected: QList actionList; RefineDialog *refineDialog; DecimatorDialog *decimatorDialog; + TransformDialog *transformDialog; }; #endif diff --git a/src/meshlabplugins/meshfilter/meshfilter.pro b/src/meshlabplugins/meshfilter/meshfilter.pro index 1f394c1fe..13af024e5 100644 --- a/src/meshlabplugins/meshfilter/meshfilter.pro +++ b/src/meshlabplugins/meshfilter/meshfilter.pro @@ -1,14 +1,14 @@ TEMPLATE = lib CONFIG += plugin INCLUDEPATH += ../.. ../../../../sf ../../../../code/lib/glew/include -HEADERS = meshfilter.h refinedialog.h decimatordialog.h ../../meshlab/interfaces.h -SOURCES = meshfilter.cpp +HEADERS = meshfilter.h refinedialog.h transformdialog.h decimatordialog.h ../../meshlab/interfaces.h +SOURCES = meshfilter.cpp ../../meshlab/GLLogStream.cpp TARGET = meshfilter DESTDIR = ../../meshlab/plugins # the following line is needed to avoid mismatch between # the awful min/max macros of windows and the limits max win32:DEFINES += NOMINMAX -FORMS = refine.ui decimator.ui +FORMS = refine.ui decimator.ui transform.ui QT += opengl unix{ QMAKE_CC = gcc-3.3