added Apply transform

This commit is contained in:
Paolo Cignoni cignoni 2006-01-15 13:57:25 +00:00
parent b558b2fff0
commit 2750ab83eb
2 changed files with 9 additions and 5 deletions

View File

@ -30,6 +30,8 @@
#include <meshlab/interfaces.h>
#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 <QAction *> actionList;
RefineDialog *refineDialog;
DecimatorDialog *decimatorDialog;
TransformDialog *transformDialog;
};
#endif

View File

@ -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