Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Graph2D / INC / view / GLCurveAnalytic.h
diff --git a/WCudaMSE/API_Bilat_Graph2D/INC/view/GLCurveAnalytic.h b/WCudaMSE/API_Bilat_Graph2D/INC/view/GLCurveAnalytic.h
new file mode 100755 (executable)
index 0000000..46d3619
--- /dev/null
@@ -0,0 +1,47 @@
+#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