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

Sylvain Thery's avatar
Sylvain Thery committed
6
#include "Algo/Topo/basic.h"
Sylvain Thery's avatar
Sylvain Thery committed
7

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

Sylvain Thery's avatar
Sylvain Thery committed
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
template unsigned int Algo::Topo::getNbOrbits<VERTEX, EmbeddedMap2>(const EmbeddedMap2& map);
template unsigned int Algo::Topo::getNbOrbits<EDGE, EmbeddedMap2>(const EmbeddedMap2& map);
template unsigned int Algo::Topo::getNbOrbits<FACE, EmbeddedMap2>(const EmbeddedMap2& map);
template unsigned int Algo::Topo::getNbOrbits<VOLUME, EmbeddedMap2>(const EmbeddedMap2& map);

template unsigned int Algo::Topo::getNbOrbits<VERTEX, EmbeddedGMap2>(const EmbeddedGMap2& map);
template unsigned int Algo::Topo::getNbOrbits<EDGE, EmbeddedGMap2>(const EmbeddedGMap2& map);
template unsigned int Algo::Topo::getNbOrbits<FACE, EmbeddedGMap2>(const EmbeddedGMap2& map);
template unsigned int Algo::Topo::getNbOrbits<VOLUME, EmbeddedGMap2>(const EmbeddedGMap2& map);

template unsigned int Algo::Topo::getNbOrbits<VERTEX, EmbeddedMap3>(const EmbeddedMap3& map);
template unsigned int Algo::Topo::getNbOrbits<EDGE, EmbeddedMap3>(const EmbeddedMap3& map);
template unsigned int Algo::Topo::getNbOrbits<FACE, EmbeddedMap3>(const EmbeddedMap3& map);
template unsigned int Algo::Topo::getNbOrbits<VOLUME, EmbeddedMap3>(const EmbeddedMap3& map);



template unsigned int Algo::Topo::getNbOrbits<EmbeddedMap2>(const EmbeddedMap2& map, unsigned int orbit);
template unsigned int Algo::Topo::getNbOrbits<EmbeddedGMap2>(const EmbeddedGMap2& map, unsigned int orbit);
template unsigned int Algo::Topo::getNbOrbits<EmbeddedMap3>(const EmbeddedMap3& map, unsigned int orbit);


template void Algo::Topo::initAllOrbitsEmbedding<VERTEX, EmbeddedMap2>(EmbeddedMap2& map, bool realloc);
template void Algo::Topo::initAllOrbitsEmbedding<EDGE, EmbeddedMap2>(EmbeddedMap2& map, bool realloc);
template void Algo::Topo::initAllOrbitsEmbedding<FACE, EmbeddedMap2>(EmbeddedMap2& map, bool realloc);
template void Algo::Topo::initAllOrbitsEmbedding<VOLUME, EmbeddedMap2>(EmbeddedMap2& map, bool realloc);

template void Algo::Topo::initAllOrbitsEmbedding<VERTEX, EmbeddedGMap2>(EmbeddedGMap2& map, bool realloc);
template void Algo::Topo::initAllOrbitsEmbedding<EDGE, EmbeddedGMap2>(EmbeddedGMap2& map, bool realloc);
template void Algo::Topo::initAllOrbitsEmbedding<FACE, EmbeddedGMap2>(EmbeddedGMap2& map, bool realloc);
template void Algo::Topo::initAllOrbitsEmbedding<VOLUME, EmbeddedGMap2>(EmbeddedGMap2& map, bool realloc);

template void Algo::Topo::initAllOrbitsEmbedding<VERTEX, EmbeddedMap3>(EmbeddedMap3& map, bool realloc);
template void Algo::Topo::initAllOrbitsEmbedding<EDGE, EmbeddedMap3>(EmbeddedMap3& map, bool realloc);
template void Algo::Topo::initAllOrbitsEmbedding<FACE, EmbeddedMap3>(EmbeddedMap3& map, bool realloc);
template void Algo::Topo::initAllOrbitsEmbedding<VOLUME, EmbeddedMap3>(EmbeddedMap3& map, bool realloc);
Sylvain Thery's avatar
Sylvain Thery committed
46

Sylvain Thery's avatar
Sylvain Thery committed
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81

template unsigned int Algo::Topo::computeIndexCells<VERTEX, EmbeddedMap2>(EmbeddedMap2& map, AttributeHandler<unsigned int, VERTEX, EmbeddedMap2>& idx);
template unsigned int Algo::Topo::computeIndexCells<EDGE, EmbeddedMap2>(EmbeddedMap2& map, AttributeHandler<unsigned int, EDGE, EmbeddedMap2>& idx);
template unsigned int Algo::Topo::computeIndexCells<FACE, EmbeddedMap2>(EmbeddedMap2& map, AttributeHandler<unsigned int, FACE, EmbeddedMap2>& idx);
template unsigned int Algo::Topo::computeIndexCells<VOLUME, EmbeddedMap2>(EmbeddedMap2& map, AttributeHandler<unsigned int, VOLUME, EmbeddedMap2>& idx);

template unsigned int Algo::Topo::computeIndexCells<VERTEX, EmbeddedGMap2>(EmbeddedGMap2& map, AttributeHandler<unsigned int, VERTEX, EmbeddedGMap2>& idx);
template unsigned int Algo::Topo::computeIndexCells<EDGE, EmbeddedGMap2>(EmbeddedGMap2& map, AttributeHandler<unsigned int, EDGE, EmbeddedGMap2>& idx);
template unsigned int Algo::Topo::computeIndexCells<FACE, EmbeddedGMap2>(EmbeddedGMap2& map, AttributeHandler<unsigned int, FACE, EmbeddedGMap2>& idx);
template unsigned int Algo::Topo::computeIndexCells<VOLUME, EmbeddedGMap2>(EmbeddedGMap2& map, AttributeHandler<unsigned int, VOLUME, EmbeddedGMap2>& idx);

template unsigned int Algo::Topo::computeIndexCells<VERTEX, EmbeddedMap3>(EmbeddedMap3& map, AttributeHandler<unsigned int, VERTEX, EmbeddedMap3>& idx);
template unsigned int Algo::Topo::computeIndexCells<EDGE, EmbeddedMap3>(EmbeddedMap3& map, AttributeHandler<unsigned int, EDGE, EmbeddedMap3>& idx);
template unsigned int Algo::Topo::computeIndexCells<FACE, EmbeddedMap3>(EmbeddedMap3& map, AttributeHandler<unsigned int, FACE, EmbeddedMap3>& idx);
template unsigned int Algo::Topo::computeIndexCells<VOLUME, EmbeddedMap3>(EmbeddedMap3& map, AttributeHandler<unsigned int, VOLUME, EmbeddedMap3>& idx);


template void Algo::Topo::bijectiveOrbitEmbedding<VERTEX, EmbeddedMap2>(EmbeddedMap2& map);
template void Algo::Topo::bijectiveOrbitEmbedding<EDGE, EmbeddedMap2>(EmbeddedMap2& map);
template void Algo::Topo::bijectiveOrbitEmbedding<FACE, EmbeddedMap2>(EmbeddedMap2& map);
template void Algo::Topo::bijectiveOrbitEmbedding<VOLUME, EmbeddedMap2>(EmbeddedMap2& map);

template void Algo::Topo::bijectiveOrbitEmbedding<VERTEX, EmbeddedGMap2>(EmbeddedGMap2& map);
template void Algo::Topo::bijectiveOrbitEmbedding<EDGE, EmbeddedGMap2>(EmbeddedGMap2& map);
template void Algo::Topo::bijectiveOrbitEmbedding<FACE, EmbeddedGMap2>(EmbeddedGMap2& map);
template void Algo::Topo::bijectiveOrbitEmbedding<VOLUME, EmbeddedGMap2>(EmbeddedGMap2& map);

template void Algo::Topo::bijectiveOrbitEmbedding<VERTEX, EmbeddedMap3>(EmbeddedMap3& map);
template void Algo::Topo::bijectiveOrbitEmbedding<EDGE, EmbeddedMap3>(EmbeddedMap3& map);
template void Algo::Topo::bijectiveOrbitEmbedding<FACE, EmbeddedMap3>(EmbeddedMap3& map);
template void Algo::Topo::bijectiveOrbitEmbedding<VOLUME, EmbeddedMap3>(EmbeddedMap3& map);



int test_basic()
Sylvain Thery's avatar
Sylvain Thery committed
82 83
{
	return 0;
Sylvain Thery's avatar
Sylvain Thery committed
84
}