mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-16 17:44:36 +00:00
deleted old mask exporter obj
This commit is contained in:
parent
9ad63b715d
commit
d121b08adb
@ -1,76 +0,0 @@
|
||||
/****************************************************************************
|
||||
* MeshLab o o *
|
||||
* An extendible mesh processor o o *
|
||||
* _ O _ *
|
||||
* Copyright(C) 2005, 2006 \/)\/ *
|
||||
* 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
|
||||
|
||||
$Log$
|
||||
Revision 1.6 2006/01/19 11:21:14 fmazzant
|
||||
deleted old savemaskobj & old MaskObj
|
||||
|
||||
Revision 1.5 2006/01/10 16:52:19 fmazzant
|
||||
update ply::PlyMask -> io::Mask
|
||||
|
||||
Revision 1.4 2006/01/04 16:48:37 fmazzant
|
||||
changed PM_VERTTEXCOORD in PM_WEDGTEXCOORD
|
||||
|
||||
Revision 1.3 2005/12/13 14:02:50 fmazzant
|
||||
added the rescue of the materials of the obj
|
||||
|
||||
Revision 1.2 2005/12/11 00:34:22 fmazzant
|
||||
bug-fix: added the type of return of the MaskObj method::MaskObjToInt()
|
||||
|
||||
Revision 1.1 2005/12/09 16:37:20 fmazzant
|
||||
maskobj for select element to save
|
||||
|
||||
|
||||
*****************************************************************************/
|
||||
|
||||
|
||||
//#include "maskobj.h"
|
||||
//#include <wrap/io_trimesh/io_mask.h>
|
||||
//
|
||||
//MaskObj::MaskObj()
|
||||
//{
|
||||
// this->isfirst=true;
|
||||
//
|
||||
// this->faces = true;
|
||||
// this->vertexs = true;
|
||||
//
|
||||
// this->binary = false;
|
||||
// this->colorV = false;
|
||||
// this->colorF = false;
|
||||
// this->normal = false;
|
||||
// this->texture = false;
|
||||
//}
|
||||
//
|
||||
//int MaskObj::MaskObjToInt()
|
||||
//{
|
||||
// int mask=0;
|
||||
// if(faces) {mask |= vcg::tri::io::Mask::IOM_FACEQUALITY;}
|
||||
// if(vertexs) {mask |= vcg::tri::io::Mask::IOM_VERTQUALITY;}
|
||||
// if(colorV) {mask |= vcg::tri::io::Mask::IOM_VERTCOLOR;}
|
||||
// if(colorF) {mask |= vcg::tri::io::Mask::IOM_FACECOLOR;}
|
||||
// if(normal) {mask |= vcg::tri::io::Mask::IOM_VERTNORMAL;}
|
||||
// if(texture) {mask |= vcg::tri::io::Mask::IOM_WEDGTEXCOORD;}
|
||||
// return mask;
|
||||
//}
|
||||
@ -1,54 +0,0 @@
|
||||
/****************************************************************************
|
||||
* MeshLab o o *
|
||||
* An extendible mesh processor o o *
|
||||
* _ O _ *
|
||||
* Copyright(C) 2005, 2006 \/)\/ *
|
||||
* 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
|
||||
|
||||
$Log$
|
||||
Revision 1.3 2006/01/19 11:21:14 fmazzant
|
||||
deleted old savemaskobj & old MaskObj
|
||||
|
||||
Revision 1.2 2005/12/13 14:02:50 fmazzant
|
||||
added the rescue of the materials of the obj
|
||||
|
||||
Revision 1.1 2005/12/09 16:37:20 fmazzant
|
||||
maskobj for select element to save
|
||||
|
||||
|
||||
*****************************************************************************/
|
||||
|
||||
//class MaskObj
|
||||
//{
|
||||
//public:
|
||||
// MaskObj();
|
||||
//
|
||||
// int MaskObjToInt();
|
||||
//
|
||||
// bool isfirst;
|
||||
// bool vertexs;
|
||||
// bool faces;
|
||||
// bool texture;
|
||||
// bool normal;
|
||||
// bool binary;
|
||||
// bool colorV;
|
||||
// bool colorF;
|
||||
//};
|
||||
@ -1,184 +0,0 @@
|
||||
<ui version="4.0" >
|
||||
<author></author>
|
||||
<comment></comment>
|
||||
<exportmacro></exportmacro>
|
||||
<class>SaveMaskObjDialog</class>
|
||||
<widget class="QDialog" name="SaveMaskObjDialog" >
|
||||
<property name="geometry" >
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>359</width>
|
||||
<height>152</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle" >
|
||||
<string>Dialog</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="okButton" >
|
||||
<property name="geometry" >
|
||||
<rect>
|
||||
<x>250</x>
|
||||
<y>90</y>
|
||||
<width>101</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>OK</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="cancelButton" >
|
||||
<property name="geometry" >
|
||||
<rect>
|
||||
<x>250</x>
|
||||
<y>120</y>
|
||||
<width>101</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>Cancel</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="groupBox_2" >
|
||||
<property name="geometry" >
|
||||
<rect>
|
||||
<x>250</x>
|
||||
<y>0</y>
|
||||
<width>95</width>
|
||||
<height>78</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="title" >
|
||||
<string>Type Save</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" >
|
||||
<property name="margin" >
|
||||
<number>8</number>
|
||||
</property>
|
||||
<property name="spacing" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QRadioButton" name="binaryButton" >
|
||||
<property name="text" >
|
||||
<string>Binary Obj</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QRadioButton" name="asciiButton" >
|
||||
<property name="text" >
|
||||
<string>ASCII Obj</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="groupBox_3" >
|
||||
<property name="geometry" >
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>0</y>
|
||||
<width>231</width>
|
||||
<height>141</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="title" >
|
||||
<string>Options Save</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" >
|
||||
<property name="margin" >
|
||||
<number>8</number>
|
||||
</property>
|
||||
<property name="spacing" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item row="0" column="0" >
|
||||
<widget class="QCheckBox" name="vertexCheck" >
|
||||
<property name="enabled" >
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>Vertexs</string>
|
||||
</property>
|
||||
<property name="checked" >
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0" >
|
||||
<widget class="QCheckBox" name="colorFaceCheck" >
|
||||
<property name="text" >
|
||||
<string>Color Faces</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0" >
|
||||
<widget class="QCheckBox" name="textureCheck" >
|
||||
<property name="text" >
|
||||
<string>Texture Coords</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1" >
|
||||
<widget class="QCheckBox" name="faceCheck" >
|
||||
<property name="enabled" >
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>Faces</string>
|
||||
</property>
|
||||
<property name="checked" >
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1" >
|
||||
<widget class="QCheckBox" name="normalCheck" >
|
||||
<property name="text" >
|
||||
<string>Normals Vertex</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<pixmapfunction></pixmapfunction>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>cancelButton</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>SaveMaskObjDialog</receiver>
|
||||
<slot>reject()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel" >
|
||||
<x>369</x>
|
||||
<y>253</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel" >
|
||||
<x>179</x>
|
||||
<y>282</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>okButton</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>SaveMaskObjDialog</receiver>
|
||||
<slot>accept()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel" >
|
||||
<x>278</x>
|
||||
<y>253</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel" >
|
||||
<x>96</x>
|
||||
<y>254</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
||||
Loading…
x
Reference in New Issue
Block a user