23 #include <tulip/Coord.h>
24 #include <tulip/Color.h>
25 #include <tulip/Size.h>
27 #include <tulip/GlSimpleEntity.h>
28 #include <tulip/GlTextureManager.h>
55 GlBox(
const Coord& position,
const Size &size,
const Color& fillColor,
const Color &outlineColor,
bool filled=
true,
bool outlined=
true,
const std::string &textureName=
"",
float outlineSize=1.);
62 virtual void draw(
float lod,
Camera *camera);
72 void setSize(
const Size& size);
77 Coord* getPosition()
const;
82 void setPosition(
const Coord& position);
87 Color getFillColor()
const;
92 void setFillColor(
const Color& color);
97 Color getOutlineColor()
const;
102 void setOutlineColor(
const Color& color);
107 float getOutlineSize()
const;
112 void setOutlineSize(
float size);
117 std::string getTextureName()
const;
122 void setTextureName(
const std::string& textureName);
127 virtual void translate(
const Coord& mouvement);
132 virtual void getXML(std::string &outString);
137 virtual void setWithXML(
const std::string &inString,
unsigned int ¤tPosition);
141 virtual void clearGenerated();
149 std::string textureName;
152 float *newCubeCoordArrays;