collector.cpp 3.06 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/Selection/collector.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
template class Algo::Surface::Selection::Collector_OneRing<PFP1>;
template class Algo::Surface::Selection::Collector_OneRing_AroundEdge<PFP1>;
template class Algo::Surface::Selection::Collector_WithinSphere<PFP1>;
template class Algo::Surface::Selection::Collector_NormalAngle<PFP1>;
template class Algo::Surface::Selection::Collector_NormalAngle_Triangles<PFP1>;
template class Algo::Surface::Selection::CollectorCriterion_VertexNormalAngle<PFP1>;
template class Algo::Surface::Selection::CollectorCriterion_TriangleNormalAngle<PFP1>;
template class Algo::Surface::Selection::CollectorCriterion_VertexWithinSphere<PFP1>;
template class Algo::Surface::Selection::Collector_Vertices<PFP1>;
template class Algo::Surface::Selection::Collector_Triangles<PFP1>;
template class Algo::Surface::Selection::Collector_Dijkstra_Vertices<PFP1>;
template class Algo::Surface::Selection::Collector_Dijkstra<PFP1>;

template class Algo::Surface::Selection::Collector_OneRing<PFP2>;
template class Algo::Surface::Selection::Collector_OneRing_AroundEdge<PFP2>;
template class Algo::Surface::Selection::Collector_WithinSphere<PFP2>;
template class Algo::Surface::Selection::Collector_NormalAngle<PFP2>;
template class Algo::Surface::Selection::Collector_NormalAngle_Triangles<PFP2>;
template class Algo::Surface::Selection::CollectorCriterion_VertexNormalAngle<PFP2>;
template class Algo::Surface::Selection::CollectorCriterion_TriangleNormalAngle<PFP2>;
template class Algo::Surface::Selection::CollectorCriterion_VertexWithinSphere<PFP2>;
template class Algo::Surface::Selection::Collector_Vertices<PFP2>;
template class Algo::Surface::Selection::Collector_Triangles<PFP2>;
template class Algo::Surface::Selection::Collector_Dijkstra_Vertices<PFP2>;
template class Algo::Surface::Selection::Collector_Dijkstra<PFP2>;
Sylvain Thery's avatar
Sylvain Thery committed
51

Sylvain Thery's avatar
Sylvain Thery committed
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71

template class Algo::Surface::Selection::Collector_OneRing<PFP3>;
template class Algo::Surface::Selection::Collector_OneRing_AroundEdge<PFP3>;
template class Algo::Surface::Selection::Collector_WithinSphere<PFP3>;
template class Algo::Surface::Selection::Collector_NormalAngle<PFP3>;
template class Algo::Surface::Selection::Collector_NormalAngle_Triangles<PFP3>;
template class Algo::Surface::Selection::CollectorCriterion_VertexNormalAngle<PFP3>;
template class Algo::Surface::Selection::CollectorCriterion_TriangleNormalAngle<PFP3>;
template class Algo::Surface::Selection::CollectorCriterion_VertexWithinSphere<PFP3>;
template class Algo::Surface::Selection::Collector_Vertices<PFP3>;
template class Algo::Surface::Selection::Collector_Triangles<PFP3>;
template class Algo::Surface::Selection::Collector_Dijkstra_Vertices<PFP3>;
template class Algo::Surface::Selection::Collector_Dijkstra<PFP3>;


int test_collector()
{

	return 0;
}
Sylvain Thery's avatar
Sylvain Thery committed
72
73