types.h 937 Bytes
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1 2 3 4
#ifndef _TYPES_H_
#define _TYPES_H_

#include <QHash>
5
#include <QMap>
Pierre Kraemer's avatar
Pierre Kraemer committed
6 7
#include <QString>

8 9 10 11
#include "Topology/generic/parameters.h"
#include "Topology/map/embeddedMap2.h"
#include "Topology/map/embeddedMap3.h"

Pierre Kraemer's avatar
Pierre Kraemer committed
12 13 14 15 16 17 18 19 20
namespace CGoGN
{

namespace Utils
{
class VBO;
class GLSLShader;
}

21 22 23 24 25 26 27 28 29 30
struct PFP2: public PFP_STANDARD
{
	typedef EmbeddedMap2 MAP;
};

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

Pierre Kraemer's avatar
Pierre Kraemer committed
31 32 33
namespace SCHNApps
{

Pierre Kraemer's avatar
Pierre Kraemer committed
34
class Plugin;
Pierre Kraemer's avatar
Pierre Kraemer committed
35 36
class View;
class Camera;
37
class MapHandlerGen;
38
struct Texture;
Pierre Kraemer's avatar
Pierre Kraemer committed
39

Pierre Kraemer's avatar
Pierre Kraemer committed
40
typedef QHash<QString, Plugin*> PluginHash;
Pierre Kraemer's avatar
Pierre Kraemer committed
41 42 43
typedef QHash<QString, View*> ViewHash;
typedef QHash<QString, Camera*> CameraHash;

44
typedef QHash<QString, MapHandlerGen*> MapHash;
45 46
typedef QHash<QString, Utils::VBO*> VBOHash;
typedef QHash<QString, QString> AttributeHash;
Pierre Kraemer's avatar
Pierre Kraemer committed
47
typedef QHash<QString, Utils::GLSLShader*> ShaderHash;
Pierre Kraemer's avatar
Pierre Kraemer committed
48

49 50
typedef QHash<QString, Texture*> TextureHash;

Pierre Kraemer's avatar
Pierre Kraemer committed
51 52 53
} // namespace SCHNApps

} // namespace CGoGN
Pierre Kraemer's avatar
Pierre Kraemer committed
54 55

#endif