added QGLContext pointer to the filter's interface.

This commit is contained in:
Guido Ranzuglia granzuglia 2010-10-07 14:11:52 +00:00
parent 2fb2eac98a
commit 4c70053e34

View File

@ -28,6 +28,8 @@
#include <QtCore>
#include <QApplication>
#include <QAction>
#include <QGLContext>
#include <QGLFormat>
#include <QMessageBox>
#include <QTabletEvent>
#include "filterparameter.h"
@ -246,7 +248,9 @@ public:
};
MeshFilterInterface() : MeshLabInterface() {}
MeshFilterInterface() : MeshLabInterface()
{
}
virtual ~MeshFilterInterface() {}
/** The long, formatted string describing each filtering action.
@ -382,6 +386,7 @@ public:
virtual QList<QAction *> actions() const { return actionList;}
virtual QList<FilterIDType> types() const { return typeList;}
QString generatedScriptCode;
QGLContext* glContext;
protected:
// Each plugins exposes a set of filtering possibilities.
// Each filtering procedure corresponds to a single QAction with a corresponding FilterIDType id.