- rename module template parameters

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@650 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Matthias Möller
2012-08-08 15:15:17 +00:00
parent 54fafe054b
commit a093b541c3
13 changed files with 68 additions and 68 deletions

View File

@@ -74,11 +74,11 @@ namespace Decimater {
*
* No continuous mode
*/
template<class DecimaterT>
class ModHausdorffT: public ModBaseT<DecimaterT> {
template<class MeshT>
class ModHausdorffT: public ModBaseT<MeshT> {
public:
DECIMATING_MODULE( ModHausdorffT, DecimaterT, Roundness );
DECIMATING_MODULE( ModHausdorffT, MeshT, Roundness );
typedef typename Mesh::Scalar Scalar;
typedef typename Mesh::Point Point;
@@ -86,8 +86,8 @@ class ModHausdorffT: public ModBaseT<DecimaterT> {
typedef std::vector<Point> Points;
/// Constructor
ModHausdorffT(DecimaterT& _dec, Scalar _error_tolerance = FLT_MAX) :
Base(_dec, true), mesh_(Base::mesh()), tolerance_(_error_tolerance) {
ModHausdorffT(MeshT& _mesh, Scalar _error_tolerance = FLT_MAX) :
Base(_mesh, true), mesh_(Base::mesh()), tolerance_(_error_tolerance) {
mesh_.add_property(points_);
}