21 #ifndef Tulip_GLGRAPHLOWDETAILSRENDERER_H 
   22 #define Tulip_GLGRAPHLOWDETAILSRENDERER_H 
   28 #if defined(__APPLE__) 
   29 #include <OpenGL/gl.h> 
   30 #include <OpenGL/glu.h> 
   38 #include <tulip/Observable.h> 
   39 #include <tulip/GlGraphRenderer.h> 
   48 class BooleanProperty;
 
   60 class TLP_GL_SCOPE GlGraphLowDetailsRenderer : 
public GlGraphRenderer, 
public Observable {
 
   64   GlGraphLowDetailsRenderer(
const GlGraphInputData *inputData);
 
   66   ~GlGraphLowDetailsRenderer();
 
   68   virtual void draw(
float lod,Camera* camera);
 
   70   void initSelectionRendering(RenderingEntitiesFlag ,std::map<unsigned int, SelectedEntity> &,
unsigned int &) {
 
   76   void initEdgesArray();
 
   77   void initTexArray(
unsigned int glyph, Vec2f tex[4]);
 
   78   void initNodesArray();
 
   81   void removeObservers();
 
   82   void updateObservers();
 
   83   void treatEvent(
const Event &ev);
 
   89   std::vector<Vec2f>   points;
 
   90   std::vector<Color>   colors;
 
   91   std::vector<GLuint>  indices;
 
   93   std::vector<Vec2f>   quad_points;
 
   94   std::vector<Color>   quad_colors;
 
   95   std::vector<GLuint>  quad_indices;
 
   98   LayoutProperty *observedLayoutProperty;
 
   99   ColorProperty *observedColorProperty;
 
  100   SizeProperty *observedSizeProperty;
 
  101   BooleanProperty *observedSelectionProperty;