mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-18 18:44:39 +00:00
*** empty log message ***
This commit is contained in:
parent
ecfe4f8dba
commit
3f35fa2c0c
@ -1 +1,2 @@
|
||||
12.45 15/01/2008 aggiungere i riferimenti ai nuovi files del progetto al file .pro MAL
|
||||
12.45 15/01/2008 aggiungere i riferimenti ai nuovi files del progetto al file .pro MAL
|
||||
22.44 15/01/2008 convertire le QSpinBox per la TranferFunction in double ones
|
||||
@ -55,6 +55,8 @@ QualityMapperPlugin::QualityMapperPlugin()
|
||||
QAction *editAction;
|
||||
foreach(editAction, actionList)
|
||||
editAction->setCheckable(true);
|
||||
|
||||
_qualityMapperDialog = 0;
|
||||
}
|
||||
|
||||
QList<QAction *> QualityMapperPlugin::actions() const
|
||||
@ -90,7 +92,26 @@ void QualityMapperPlugin::Decorate(QAction * /*ac*/, MeshModel &m, GLArea * gla)
|
||||
|
||||
void QualityMapperPlugin::StartEdit(QAction * /*mode*/, MeshModel &/*m*/, GLArea *gla )
|
||||
{
|
||||
gla->setCursor(QCursor(QPixmap(":/images/cur_info.png"),1,1));
|
||||
// gla->setCursor(QCursor(QPixmap(":/images/cur_info.png"),1,1));
|
||||
|
||||
|
||||
|
||||
if(_qualityMapperDialog==0)
|
||||
{
|
||||
//_qualityMapperDialog=new _qualityMapperDialog(gla->parentWidget()->parentWidget());
|
||||
_qualityMapperDialog = new QualityMapperDialog(gla->window());
|
||||
// connect(_qualityMapperDialog->ui.icpParamButton,SIGNAL(clicked()),this,SLOT(alignParam()));
|
||||
// connect(_qualityMapperDialog->ui.icpButton,SIGNAL(clicked()),this,SLOT(process()));
|
||||
// connect(_qualityMapperDialog->ui.manualAlignButton,SIGNAL(clicked()),this,SLOT(glueManual()));
|
||||
// connect(_qualityMapperDialog->ui.pointBasedAlignButton,SIGNAL(clicked()),this,SLOT(glueByPicking()));
|
||||
// connect(_qualityMapperDialog->ui.glueHereButton,SIGNAL(clicked()),this,SLOT(glueHere()));
|
||||
// connect(_qualityMapperDialog->ui.glueHereAllButton,SIGNAL(clicked()),this,SLOT(glueHereAll()));
|
||||
// connect(_qualityMapperDialog->ui.falseColorCB, SIGNAL(clicked(bool)) , _gla->window(), SLOT(updateGL() ) );
|
||||
|
||||
}
|
||||
// _qualityMapperDialog->edit=this;
|
||||
// _qualityMapperDialog->setTree(& meshTree, meshTree.nodeList.front());
|
||||
_qualityMapperDialog->show();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -46,22 +46,25 @@ Beginning
|
||||
//#include <vcg/space/triangle3.h>
|
||||
#include <vcg/complex/trimesh/update/color.h> //<-- contains VertexQuality method
|
||||
|
||||
#include "qualitymapperdialog.h"
|
||||
|
||||
|
||||
class QualityMapperPlugin : public QObject, public MeshEditInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(MeshEditInterface)
|
||||
|
||||
QList <QAction *> actionList;
|
||||
|
||||
private:
|
||||
QualityMapperDialog *_qualityMapperDialog;
|
||||
|
||||
QList <QAction *> actionList;
|
||||
Histogramf _histogram;
|
||||
|
||||
public:
|
||||
QualityMapperPlugin();
|
||||
~QualityMapperPlugin(){};
|
||||
|
||||
virtual const QString Info(QAction *);
|
||||
const QString Info(QAction *);
|
||||
// Generic Info about the plug in version and author.
|
||||
const PluginInfo &Info();
|
||||
QList<QAction *> actions() const ;
|
||||
|
||||
@ -5,13 +5,31 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>502</width>
|
||||
<height>607</height>
|
||||
<width>500</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>500</width>
|
||||
<height>600</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize" >
|
||||
<size>
|
||||
<width>500</width>
|
||||
<height>600</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="windowTitle" >
|
||||
<string>Quality Mapper Dialog</string>
|
||||
</property>
|
||||
<property name="windowIcon" >
|
||||
<iconset resource="qualitymapper.qrc" >:/images/qualitymapper.png</iconset>
|
||||
</property>
|
||||
<property name="toolTip" >
|
||||
<string>gne gne gne!</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="layoutWidget" >
|
||||
<property name="geometry" >
|
||||
<rect>
|
||||
@ -93,7 +111,11 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1" >
|
||||
<widget class="QSpinBox" name="xSpinBox" />
|
||||
<widget class="QSpinBox" name="xSpinBox" >
|
||||
<property name="maximum" >
|
||||
<number>1</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0" >
|
||||
<widget class="QLabel" name="yLabel" >
|
||||
@ -387,7 +409,6 @@
|
||||
<resources>
|
||||
<include location="" />
|
||||
<include location="qualitymapper.qrc" />
|
||||
<include location="qualitymapper.qrc" />
|
||||
</resources>
|
||||
<connections>
|
||||
<connection>
|
||||
@ -397,12 +418,12 @@
|
||||
<slot>showMenu()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel" >
|
||||
<x>584</x>
|
||||
<y>188</y>
|
||||
<x>466</x>
|
||||
<y>152</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel" >
|
||||
<x>555</x>
|
||||
<y>186</y>
|
||||
<x>466</x>
|
||||
<y>152</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading ui file 'qualitymapperdialog.ui'
|
||||
**
|
||||
** Created: Tue 15. Jan 17:45:53 2008
|
||||
** Created: Tue 15. Jan 23:05:07 2008
|
||||
** by: Qt User Interface Compiler version 4.3.2
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling ui file!
|
||||
@ -86,7 +86,10 @@ public:
|
||||
{
|
||||
if (QualityMapperDialogClass->objectName().isEmpty())
|
||||
QualityMapperDialogClass->setObjectName(QString::fromUtf8("QualityMapperDialogClass"));
|
||||
QualityMapperDialogClass->resize(502, 607);
|
||||
QualityMapperDialogClass->resize(500, 600);
|
||||
QualityMapperDialogClass->setMinimumSize(QSize(500, 600));
|
||||
QualityMapperDialogClass->setMaximumSize(QSize(500, 600));
|
||||
QualityMapperDialogClass->setWindowIcon(QIcon(QString::fromUtf8(":/images/qualitymapper.png")));
|
||||
layoutWidget = new QWidget(QualityMapperDialogClass);
|
||||
layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
|
||||
layoutWidget->setGeometry(QRect(10, 10, 482, 585));
|
||||
@ -159,6 +162,7 @@ public:
|
||||
|
||||
xSpinBox = new QSpinBox(selectedPointBox);
|
||||
xSpinBox->setObjectName(QString::fromUtf8("xSpinBox"));
|
||||
xSpinBox->setMaximum(1);
|
||||
|
||||
gridLayout1->addWidget(xSpinBox, 0, 1, 1, 1);
|
||||
|
||||
@ -359,6 +363,7 @@ public:
|
||||
void retranslateUi(QDialog *QualityMapperDialogClass)
|
||||
{
|
||||
QualityMapperDialogClass->setWindowTitle(QApplication::translate("QualityMapperDialogClass", "Quality Mapper Dialog", 0, QApplication::UnicodeUTF8));
|
||||
QualityMapperDialogClass->setToolTip(QApplication::translate("QualityMapperDialogClass", "gne gne gne!", 0, QApplication::UnicodeUTF8));
|
||||
transferFunctionGroupBox->setTitle(QApplication::translate("QualityMapperDialogClass", "Transfer Function", 0, QApplication::UnicodeUTF8));
|
||||
transferFunctionEditBox->setTitle(QApplication::translate("QualityMapperDialogClass", "Transfer Function Edit", 0, QApplication::UnicodeUTF8));
|
||||
channelBox->setToolTip(QApplication::translate("QualityMapperDialogClass", "Choose the channel to edit", 0, QApplication::UnicodeUTF8));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user