20 #ifndef _Tulip_GLGRID_H_
21 #define _Tulip_GLGRID_H_
23 #include <tulip/Coord.h>
24 #include <tulip/Color.h>
25 #include <tulip/Size.h>
27 #include <tulip/GlSimpleEntity.h>
54 GlGrid(
const Coord &frontTopLeft,
const Coord &backBottomRight,
const Size &cell,
55 const Color &color,
bool displays[3]);
77 void getXML(std::string &outString)
override;
82 void setWithXML(
const std::string &inString,
unsigned int ¤tPosition)
override;
Tulip OpenGL camera object.
General class used to render grids as GlSimpleEntity.
void draw(float lod, Camera *camera) override
Virtual function used to draw the grid.
GlGrid(const Coord &frontTopLeft, const Coord &backBottomRight, const Size &cell, const Color &color, bool displays[3])
Constructor.
void setWithXML(const std::string &inString, unsigned int ¤tPosition) override
Function to set data with inString (in XML format)
void setDisplayDim(bool displayDim[3])
Accessor in writing to the dimensions to display.
void translate(const Coord &mouvement) override
Translate entity.
void getXML(std::string &outString) override
Function to export data in outString (in XML format)
void getDisplayDim(bool displayDim[3]) const
Accessor in reading to the dimensions to display.
Base class for all Tulip OpenGL entities.