colorPerVertexApproximator.cpp 534 Bytes
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/colorPerVertexApproximator.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 26



Sylvain Thery's avatar
Sylvain Thery committed
27
template class Algo::Surface::Decimation::Approximator_ColorNaive<PFP1>;
Sylvain Thery's avatar
Sylvain Thery committed
28 29


Sylvain Thery's avatar
Sylvain Thery committed
30
int test_colorPerVertexApproximator()
Sylvain Thery's avatar
Sylvain Thery committed
31 32
{

Sylvain Thery's avatar
Sylvain Thery committed
33 34
	return 0;
}
Sylvain Thery's avatar
Sylvain Thery committed
35