20 #ifndef Tulip_GLSIMPLEENTITY_H
21 #define Tulip_GLSIMPLEENTITY_H
25 #include <tulip/GlEntity.h>
26 #include <tulip/Coord.h>
27 #include <tulip/GlSceneVisitor.h>
28 #include <tulip/BoundingBox.h>
78 virtual void setVisible(
bool visible);
95 this->stencil = stencil;
111 virtual void draw(
float lod,
Camera *camera) = 0;
127 virtual void getXML(std::string &outString) = 0;
134 virtual void setWithXML(
const std::string &inString,
unsigned int ¤tPosition) = 0;
141 void acceptVisitor(GlSceneVisitor *visitor)
override {
142 visitor->visit(
this);
148 void addParent(GlComposite *composite);
153 void removeParent(GlComposite *composite);
158 virtual void translate(
const Coord &) {}
160 GlComposite *getParent()
const {
173 BoundingBox boundingBox;
175 std::vector<GlComposite *> parents;
179 #endif // Tulip_GLSIMPLEENTITY_H