21 #ifndef _Tulip_GLGRID_H_
22 #define _Tulip_GLGRID_H_
24 #include <tulip/Coord.h>
25 #include <tulip/Color.h>
26 #include <tulip/Size.h>
28 #include <tulip/GlSimpleEntity.h>
56 GlGrid(
const Coord& frontTopLeft,
const Coord& backBottomRight,
57 const Size& cell,
const Color& color,
bool displays[3]);
61 virtual void draw(
float lod,
Camera *camera);
65 void getDisplayDim(
bool displayDim[3])
const;
69 void setDisplayDim(
bool displayDim[3]);
74 virtual void translate(
const Coord& mouvement);
79 virtual void getXML(std::string &outString);
84 virtual void setWithXML(
const std::string &inString,
unsigned int ¤tPosition);
Base class for all Tulip OpenGL entities.
General class used to render grids as GlSimpleEntity.
Tulip OpenGL camera object.