edgeSelector.cpp 1.27 KB
Newer Older
Sylvain Thery's avatar
Sylvain Thery committed
1 2 3
#include "Topology/generic/parameters.h"
#include "Topology/map/embeddedMap2.h"
#include "Topology/gmap/embeddedGMap2.h"
Sylvain Thery's avatar
Sylvain Thery committed
4

Sylvain Thery's avatar
Sylvain Thery committed
5
#include "Algo/Decimation/edgeSelector.h"
Sylvain Thery's avatar
Sylvain Thery committed
6

Sylvain Thery's avatar
Sylvain Thery committed
7
using namespace CGoGN;
Sylvain Thery's avatar
Sylvain Thery committed
8 9


Sylvain Thery's avatar
Sylvain Thery committed
10
struct PFP1 : public PFP_STANDARD
Sylvain Thery's avatar
Sylvain Thery committed
11
{
Sylvain Thery's avatar
Sylvain Thery committed
12 13
	typedef EmbeddedMap2 MAP;
};
Sylvain Thery's avatar
Sylvain Thery committed
14

Sylvain Thery's avatar
Sylvain Thery committed
15
struct PFP2 : public PFP_DOUBLE
Sylvain Thery's avatar
Sylvain Thery committed
16
{
Sylvain Thery's avatar
Sylvain Thery committed
17 18
	typedef EmbeddedMap2 MAP;
};
Sylvain Thery's avatar
Sylvain Thery committed
19

Sylvain Thery's avatar
Sylvain Thery committed
20
struct PFP3 : public PFP_DOUBLE
Sylvain Thery's avatar
Sylvain Thery committed
21
{
Sylvain Thery's avatar
Sylvain Thery committed
22 23
	typedef EmbeddedGMap2 MAP;
};
Sylvain Thery's avatar
Sylvain Thery committed
24 25


Sylvain Thery's avatar
Sylvain Thery committed
26 27 28 29 30 31 32 33 34 35 36 37
template class Algo::Surface::Decimation::EdgeSelector_MapOrder<PFP1>;
template class Algo::Surface::Decimation::EdgeSelector_Random<PFP1>;
template class Algo::Surface::Decimation::EdgeSelector_Length<PFP1>;
template class Algo::Surface::Decimation::EdgeSelector_QEM<PFP1>;
template class Algo::Surface::Decimation::EdgeSelector_QEMml<PFP1>;
template class Algo::Surface::Decimation::EdgeSelector_NormalArea<PFP1>;
template class Algo::Surface::Decimation::EdgeSelector_Curvature<PFP1>;
template class Algo::Surface::Decimation::EdgeSelector_CurvatureTensor<PFP1>;
template class Algo::Surface::Decimation::EdgeSelector_MinDetail<PFP1>;
template class Algo::Surface::Decimation::EdgeSelector_ColorNaive<PFP1>;
template class Algo::Surface::Decimation::EdgeSelector_GeomColOptGradient<PFP1>;
template class Algo::Surface::Decimation::EdgeSelector_QEMextColor<PFP1>;
Sylvain Thery's avatar
Sylvain Thery committed
38 39 40



Sylvain Thery's avatar
Sylvain Thery committed
41
int test_edgeSelector()
Sylvain Thery's avatar
Sylvain Thery committed
42 43
{

Sylvain Thery's avatar
Sylvain Thery committed
44 45
	return 0;
}