Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Graph2D / INC / view / GLCurveParametric.h
1 #ifndef GLPOLYLINES_H_
2 #define GLPOLYLINES_H_
3
4 #include "GLFigure.h"
5 #include "CurveParametric.h"
6 #include "VertexBufferObject.h"
7
8 /*----------------------------------------------------------------------*\
9 |* Declaration *|
10 \*---------------------------------------------------------------------*/
11
12 /*--------------------------------------*\
13 |* Public *|
14 \*-------------------------------------*/
15
16 class CBI_GRAPH GLCurveParametric: public GLFigure
17 {
18 public:
19 GLCurveParametric(CurveParametric* ptrPolyline);
20 virtual ~GLCurveParametric();
21
22 CurveParametric* getPolyline() const;
23
24 void init(Panel_A &panel);
25 void reshape(Panel_A &panel, const Viewport &viewport);
26 void display(Panel_A &panel);
27 void release(Panel_A &panel);
28 protected:
29 void updateGL(Panel_A &panel,const Domaine &domaineGraph);
30 private:
31
32 // OpenGL
33 VertexBufferObject* vboVertex;
34 };
35
36 #endif
37
38 /*----------------------------------------------------------------------*\
39 |* End *|
40 \*---------------------------------------------------------------------*/