Implémentation de RipplingMath.h
[GPU.git] / WCudaMSE / API_Bilat_Graph2D / INC / view / GLCurveAnalytic.h
1 #ifndef GLCURVE_H_
2 #define GLCURVE_H_
3
4 #include "GLFigure.h"
5 #include "CurveAnalytic.h"
6 #include "VertexBufferObject.h"
7
8
9 /*----------------------------------------------------------------------*\
10 |* Declaration *|
11 \*---------------------------------------------------------------------*/
12
13 /*--------------------------------------*\
14 |* Public *|
15 \*-------------------------------------*/
16
17 class CBI_GRAPH GLCurveAnalytic: public GLFigure
18 {
19 public:
20 GLCurveAnalytic(CurveAnalytic* ptrCurve, Domaine* ptrGraphDomaine);
21 virtual ~GLCurveAnalytic();
22
23 CurveAnalytic* getCurve() const;
24
25 void init(Panel_A &panel);
26 void reshape(Panel_A &panel, const Viewport &viewport);
27 void display(Panel_A &panel);
28 void release(Panel_A &panel);
29 void updateGL(Panel_A &panel,const Domaine &domaineGraph);
30 protected:
31 void fillTabPoint(Point* ptrTabPoint,int nbPoint);
32 private:
33 // Inputs
34 Domaine* ptrGraphDomaine;
35
36 // Tools
37 unsigned int nbPoint;
38
39 // OpenGL
40 VertexBufferObject* vboVertex;
41 };
42
43 #endif
44
45 /*----------------------------------------------------------------------*\
46 |* End *|
47 \*---------------------------------------------------------------------*/