+#ifndef GLCURVE_H_\r
+#define GLCURVE_H_\r
+\r
+#include "GLFigure.h"\r
+#include "CurveAnalytic.h"\r
+#include "VertexBufferObject.h"\r
+\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |* Declaration *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |* Public *|\r
+ \*-------------------------------------*/\r
+\r
+class CBI_GRAPH GLCurveAnalytic: public GLFigure\r
+ {\r
+ public:\r
+ GLCurveAnalytic(CurveAnalytic* ptrCurve, Domaine* ptrGraphDomaine);\r
+ virtual ~GLCurveAnalytic();\r
+\r
+ CurveAnalytic* getCurve() const;\r
+\r
+ void init(Panel_A &panel);\r
+ void reshape(Panel_A &panel, const Viewport &viewport);\r
+ void display(Panel_A &panel);\r
+ void release(Panel_A &panel);\r
+ void updateGL(Panel_A &panel,const Domaine &domaineGraph);\r
+ protected:\r
+ void fillTabPoint(Point* ptrTabPoint,int nbPoint);\r
+ private:\r
+ // Inputs\r
+ Domaine* ptrGraphDomaine;\r
+\r
+ // Tools\r
+ unsigned int nbPoint;\r
+\r
+ // OpenGL\r
+ VertexBufferObject* vboVertex;\r
+ };\r
+\r
+#endif \r
+\r
+/*----------------------------------------------------------------------*\\r
+ |* End *|\r
+ \*---------------------------------------------------------------------*/\r