22 #ifndef Tulip_GLSCENEOBSERVER_H
23 #define Tulip_GLSCENEOBSERVER_H
28 #include <tulip/tulipconf.h>
30 #include <tulip/Observable.h>
41 class TLP_GL_SCOPE GlSceneEvent :
public Event {
44 enum GlSceneEventType {TLP_ADDLAYER=0, TLP_DELLAYER, TLP_MODIFYLAYER, TLP_MODIFYENTITY};
46 GlSceneEvent(
const GlScene &scene,GlSceneEventType sceneEventType,
const std::string &layerName,GlLayer *layer);
48 GlSceneEvent(
const GlScene &scene,GlSimpleEntity *entity);
50 GlSimpleEntity *getGlSimpleEntity();
52 std::string getLayerName();
58 GlSceneEventType sceneEventType;
59 std::string layerName;
61 GlSimpleEntity *glSimpleEntity;