Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

types.h 1.27 KB
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _TYPES_H_
#define _TYPES_H_

#include <QMap>
#include <QString>

#include "Topology/generic/parameters.h"
#include "Topology/map/embeddedMap2.h"
#include "Topology/map/embeddedMap3.h"

namespace CGoGN
{

namespace Utils
{
class VBO;
class GLSLShader;
}

20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifdef SCHNAPPS_USE_DOUBLE

struct PFP2: public PFP_DOUBLE
{
	typedef EmbeddedMap2 MAP;
};

struct PFP3: public PFP_DOUBLE
{
	typedef EmbeddedMap3 MAP;
};

#else

Pierre Kraemer's avatar
Pierre Kraemer committed
34
35
36
37
38
39
40
41
42
43
struct PFP2: public PFP_STANDARD
{
	typedef EmbeddedMap2 MAP;
};

struct PFP3: public PFP_STANDARD
{
	typedef EmbeddedMap3 MAP;
};

44
45
#endif

Pierre Kraemer's avatar
Pierre Kraemer committed
46
47
48
49
50
51
52
53
54
55
namespace SCHNApps
{

class SCHNApps;
class Plugin;
class PluginInteraction;
class PluginProcessing;
class View;
class Camera;
class MapHandlerGen;
56
class CellSelectorGen;
Pierre Kraemer's avatar
Pierre Kraemer committed
57
struct Texture;
Lionel Untereiner's avatar
Lionel Untereiner committed
58
class ObjectHandlerGen;
Pierre Kraemer's avatar
Pierre Kraemer committed
59
60
61
62
63
64
65

typedef QMap<QString, Plugin*> PluginSet;
typedef QMap<QString, View*> ViewSet;
typedef QMap<QString, Camera*> CameraSet;
typedef QMap<QString, MapHandlerGen*> MapSet;
typedef QMap<QString, Utils::VBO*> VBOSet;
typedef QMap<QString, QString> AttributeSet;
66
typedef QMap<QString, CellSelectorGen*> CellSelectorSet;
Pierre Kraemer's avatar
Pierre Kraemer committed
67
68
69
70
typedef QMap<QString, Utils::GLSLShader*> ShaderSet;

typedef QMap<QString, Texture*> TextureSet;

Lionel Untereiner's avatar
Lionel Untereiner committed
71
72
typedef QMap<QString, ObjectHandlerGen*> ObjectSet;

Pierre Kraemer's avatar
Pierre Kraemer committed
73
74
75
76
77
} // namespace SCHNApps

} // namespace CGoGN

#endif