the normal deviation module now also is a priority module in the commandlineDecimater tool
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@829 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -296,6 +296,7 @@ decimate(const std::string &_ifname,
|
|||||||
decimater.add(modND);
|
decimater.add(modND);
|
||||||
if (_opt.ND.has_value())
|
if (_opt.ND.has_value())
|
||||||
decimater.module( modND ).set_normal_deviation( _opt.ND );
|
decimater.module( modND ).set_normal_deviation( _opt.ND );
|
||||||
|
decimater.module( modND ).set_binary(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
typename OpenMesh::Decimater::ModNormalFlippingT<Mesh>::Handle modNF;
|
typename OpenMesh::Decimater::ModNormalFlippingT<Mesh>::Handle modNF;
|
||||||
@@ -549,7 +550,7 @@ void usage_and_exit(int xcode)
|
|||||||
std::cerr << " EL[:legth] - ModEdgeLength*\n";
|
std::cerr << " EL[:legth] - ModEdgeLength*\n";
|
||||||
std::cerr << " HD[:distance] - ModHausdorff\n";
|
std::cerr << " HD[:distance] - ModHausdorff\n";
|
||||||
std::cerr << " IS - ModIndependentSets\n";
|
std::cerr << " IS - ModIndependentSets\n";
|
||||||
std::cerr << " ND[:angle] - ModNormalDeviation\n";
|
std::cerr << " ND[:angle] - ModNormalDeviation*\n";
|
||||||
std::cerr << " NF[:angle] - ModNormalFlipping\n";
|
std::cerr << " NF[:angle] - ModNormalFlipping\n";
|
||||||
std::cerr << " PM[:file name] - ModProgMesh\n";
|
std::cerr << " PM[:file name] - ModProgMesh\n";
|
||||||
std::cerr << " Q[:error] - ModQuadric*\n";
|
std::cerr << " Q[:error] - ModQuadric*\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user