Commit c67517a7 authored by Pierre Kraemer's avatar Pierre Kraemer

some CellMarker template arguments

parent d0565b60
......@@ -36,7 +36,6 @@ namespace Algo
namespace Decimation
{
/**
* Example of Edge_Critera class parameter
* Will be used as edge embedding
......
......@@ -40,7 +40,7 @@ void statModele(typename PFP::MAP& map, const typename PFP::TVEC3& position)
int nbFaces = 0;
int nbVertex = 0;
CellMarker mVertex(map, VERTEX);
CellMarker<VERTEX> mVertex(map);
float ratioMinMax = 0;
int nbEdgePerVertex = 0;
......
......@@ -729,7 +729,7 @@ Dart subdivideVolume(typename PFP::MAP& map, Dart d, typename PFP::TVEC3& positi
*/
DartMarkerStore mf(map); // Lock a face marker to save one dart per face
CellMarker mv(map, VERTEX);
CellMarker<VERTEX> mv(map);
typename PFP::VEC3 volCenter;
unsigned count = 0 ;
......@@ -1102,7 +1102,7 @@ Dart subdivideVolumeGen(typename PFP::MAP& map, Dart d, typename PFP::TVEC3& pos
*/
DartMarkerStore mf(map); // Lock a face marker to save one dart per face
CellMarker mv(map, VERTEX);
CellMarker<VERTEX> mv(map);
typename PFP::VEC3 volCenter;
unsigned count = 0 ;
......@@ -1344,7 +1344,7 @@ Dart subdivideVolumeGen(typename PFP::MAP& map, Dart d, typename PFP::TVEC3& pos
//std::cout << "1ere etape finished" << std::endl;
CellMarker mtf(map, FACE);
CellMarker<FACE> mtf(map);
//Etape 2
for (std::vector<std::pair<Dart,Dart> >::iterator edges = subdividedfacesT.begin(); edges != subdividedfacesT.end(); ++edges)
......
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