21 #ifndef Tulip_GLSCENEOBSERVER_H 22 #define Tulip_GLSCENEOBSERVER_H 26 #include <tulip/tulipconf.h> 27 #include <tulip/Observable.h> 38 class TLP_GL_SCOPE GlSceneEvent :
public Event {
40 enum GlSceneEventType {
48 GlSceneEvent(
const GlScene &scene, GlSceneEventType sceneEventType,
const std::string &layerName,
51 GlSceneEvent(
const GlScene &scene, GlSceneEventType sceneEventType, GlSimpleEntity *entity);
53 GlSimpleEntity *getGlSimpleEntity()
const;
55 std::string getLayerName()
const;
57 GlLayer *getLayer()
const;
59 GlSceneEventType getSceneEventType()
const;
62 GlSceneEventType sceneEventType;
63 std::string layerName;
65 GlSimpleEntity *glSimpleEntity;