Commit 456a26b3 authored by Matthias Möller's avatar Matthias Möller

add mixed and multiple choice decimater

refs #999

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15342 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c80ac571
This diff is collapsed.
......@@ -65,6 +65,8 @@
#include "DecimaterToolbarWidget.hh"
#include <OpenMesh/Tools/Decimater/DecimaterT.hh>
#include <OpenMesh/Tools/Decimater/McDecimaterT.hh>
#include <OpenMesh/Tools/Decimater/MixedDecimaterT.hh>
#include <OpenMesh/Tools/Decimater/ModQuadricT.hh>
#include <OpenMesh/Tools/Decimater/ModNormalFlippingT.hh>
#include <OpenMesh/Tools/Decimater/ModHausdorffT.hh>
......@@ -144,7 +146,10 @@ private :
DecimaterToolbarWidget* tool_;
QIcon* toolIcon_;
typedef OpenMesh::Decimater::DecimaterT< TriMesh > DecimaterType;
typedef OpenMesh::Decimater::BaseDecimaterT< TriMesh > BaseDecimaterType;
typedef OpenMesh::Decimater::DecimaterT< TriMesh > DecimaterType;
typedef OpenMesh::Decimater::McDecimaterT< TriMesh > McDecimaterType;
typedef OpenMesh::Decimater::MixedDecimaterT< TriMesh > MixedDecimaterType;
typedef OpenMesh::Decimater::ModAspectRatioT< TriMesh >::Handle ModAspectRatioH;
typedef OpenMesh::Decimater::ModEdgeLengthT< TriMesh >::Handle ModEdgeLengthH;
......@@ -177,6 +182,9 @@ private slots:
void slotUpdateNumVertices();
void slotUpdateNumTriangles();
void slotMixedCounterValueChanged(double);
void slotMixedSliderValueChanged(int);
//===========================================================================
/** @name Scripting Functions
* @{ */
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment