- 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

@@ -83,12 +83,12 @@ namespace Decimater {
*
* In continuous mode the maximal deviation is returned
*/
template <class DecimaterT>
class ModNormalDeviationT : public ModBaseT< DecimaterT >
template <class MeshT>
class ModNormalDeviationT : public ModBaseT< MeshT >
{
public:
DECIMATING_MODULE( ModNormalDeviationT, DecimaterT, NormalDeviation );
DECIMATING_MODULE( ModNormalDeviationT, MeshT, NormalDeviation );
typedef typename Mesh::Scalar Scalar;
typedef typename Mesh::Point Point;
@@ -103,8 +103,8 @@ public:
public:
/// Constructor
ModNormalDeviationT(DecimaterT& _dec, float _max_dev = 180.0)
: Base(_dec, true), mesh_(Base::mesh())
ModNormalDeviationT(MeshT& _mesh, float _max_dev = 180.0)
: Base(_mesh, true), mesh_(Base::mesh())
{
set_normal_deviation(_max_dev);
mesh_.add_property(normal_cones_);