square.cpp 1.05 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 5


Sylvain Thery's avatar
Sylvain Thery committed
6 7
using namespace CGoGN;
#include "Algo/Tiling/Surface/square.h"
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
	typedef EmbeddedMap2 MAP;
Sylvain Thery's avatar
Sylvain Thery committed
13 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
	typedef EmbeddedMap2 MAP;
Sylvain Thery's avatar
Sylvain Thery committed
18 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
	typedef EmbeddedGMap2 MAP;
Sylvain Thery's avatar
Sylvain Thery committed
23 24 25
};


Sylvain Thery's avatar
Sylvain Thery committed
26 27 28 29
template Algo::Surface::Tilings::Square::Grid<PFP1>;
template Algo::Surface::Tilings::Square::Cylinder<PFP1>;
template Algo::Surface::Tilings::Square::Cube<PFP1>;
template Algo::Surface::Tilings::Square::Tore<PFP1>;
Sylvain Thery's avatar
Sylvain Thery committed
30

Sylvain Thery's avatar
Sylvain Thery committed
31 32 33 34
template Algo::Surface::Tilings::Square::Grid<PFP2>;
template Algo::Surface::Tilings::Square::Cylinder<PFP2>;
template Algo::Surface::Tilings::Square::Cube<PFP2>;
template Algo::Surface::Tilings::Square::Tore<PFP2>;
Sylvain Thery's avatar
Sylvain Thery committed
35

Sylvain Thery's avatar
Sylvain Thery committed
36 37 38 39
template Algo::Surface::Tilings::Square::Grid<PFP3>;
template Algo::Surface::Tilings::Square::Cylinder<PFP3>;
template Algo::Surface::Tilings::Square::Cube<PFP3>;
template Algo::Surface::Tilings::Square::Tore<PFP3>;
Sylvain Thery's avatar
Sylvain Thery committed
40 41


Sylvain Thery's avatar
Sylvain Thery committed
42 43 44 45
int test_square()
{
	return 0;
}
Sylvain Thery's avatar
Sylvain Thery committed
46