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>
30 #include <QStringList>
31 #include <QVariantList>
82 virtual void setVisible(
bool visible);
98 this->stencil=stencil;
114 virtual void draw(
float lod,
Camera* camera) = 0;
130 virtual void getXML(std::string &outString) =0;
137 virtual void setWithXML(
const std::string &inString,
unsigned int ¤tPosition) =0;
144 virtual void acceptVisitor(GlSceneVisitor *visitor) {
145 visitor->visit(
this);
151 void addParent(GlComposite *composite);
156 void removeParent(GlComposite *composite);
166 virtual QStringList propertiesNames()
const;
176 virtual QVariantList propertiesQVariant()
const;
189 virtual void setProperty(
const QString &name,
const QVariant &value);
194 virtual void translate(
const Coord &) {}
196 GlComposite* getParent()
const {
210 BoundingBox boundingBox;
212 std::vector<GlComposite*> parents;
218 #endif // Tulip_GLSIMPLEENTITY_H