mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-14 08:34:37 +00:00
68 lines
2.9 KiB
C++
68 lines
2.9 KiB
C++
/****************************************************************************
|
|
* MeshLab o o *
|
|
* A versatile mesh processing toolbox o o *
|
|
* _ O _ *
|
|
* Copyright(C) 2005 \/)\/ *
|
|
* Visual Computing Lab /\/| *
|
|
* ISTI - Italian National Research Council | *
|
|
* \ *
|
|
* All rights reserved. *
|
|
* *
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
* it under the terms of the GNU General Public License as published by *
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
* (at your option) any later version. *
|
|
* *
|
|
* This program is distributed in the hope that it will be useful, *
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt) *
|
|
* for more details. *
|
|
* *
|
|
****************************************************************************/
|
|
/****************************************************************************
|
|
History
|
|
Revision 1.0 2008/02/20 Alessandro Maione, Federico Bellucci
|
|
FIRST RELEASE
|
|
|
|
****************************************************************************/
|
|
|
|
#ifndef _QUALITY_MAPPER_PLUGIN_H_
|
|
#define _QUALITY_MAPPER_PLUGIN_H_
|
|
|
|
#include <QObject>
|
|
#include <QAction>
|
|
#include <QList>
|
|
|
|
#include <common/plugins/interfaces/edit_plugin.h>
|
|
#include "qualitymapperdialog.h"
|
|
|
|
//This class defines the plugin interface
|
|
class QualityMapperPlugin : public QObject, public EditPlugin
|
|
{
|
|
Q_OBJECT
|
|
MESHLAB_EDIT_PLUGIN
|
|
Q_INTERFACES(EditPlugin)
|
|
|
|
private:
|
|
QualityMapperDialog *_qualityMapperDialog;
|
|
|
|
public:
|
|
QualityMapperPlugin(void);
|
|
~QualityMapperPlugin(void) {};
|
|
|
|
static const QString info();
|
|
bool startEdit(MeshModel&, GLArea*, MLSceneGLSharedDataContext* cont);
|
|
void endEdit(MeshModel&, GLArea*, MLSceneGLSharedDataContext* cont);
|
|
void suggestedRenderingData(MeshModel &/*m*/, MLRenderingData& /*dt*/);
|
|
//virtual void Decorate(MeshModel&, GLArea*);
|
|
void mousePressEvent(QMouseEvent*, MeshModel&, GLArea*) {};
|
|
void mouseMoveEvent(QMouseEvent*, MeshModel&, GLArea*) {};
|
|
void mouseReleaseEvent(QMouseEvent *, MeshModel&, GLArea*){};
|
|
|
|
QPoint cur;
|
|
bool haveToPick;
|
|
};
|
|
|
|
#endif
|