20 #ifndef Tulip_GLLAYER_H
21 #define Tulip_GLLAYER_H
23 #include <tulip/tulipconf.h>
24 #include <tulip/GlComposite.h>
31 class GlGraphComposite;
61 GlLayer(
const std::string& name,
bool workingLayer=
false);
70 GlLayer(
const std::string& name,
Camera *camera,
bool workingLayer=
false);
95 void setCamera(
Camera* camera);
101 void setSharedCamera(
Camera *camera);
118 void setVisible(
bool visible);
124 return composite.isVisible();
137 void addGraph(
tlp::Graph* graph,
const std::string& name);
143 void deleteGlEntity(
const std::string &key);
159 const std::map<std::string, GlSimpleEntity*> &getGlEntities()
const;
174 composite.reset(
false);
196 void getXML(std::string &outString);
201 void getXMLOnlyForCameras(std::string &outString);
206 void setWithXML(
const std::string &inString,
unsigned int ¤tPosition);
225 void acceptVisitor(GlSceneVisitor *visitor);
254 #endif // Tulip_GLLAYER_H