1 #ifndef GLGRAPHRUNNABLE_H_
2 #define GLGRAPHRUNNABLE_H_
7 /*----------------------------------------------------------------------*\
9 \*---------------------------------------------------------------------*/
11 /*--------------------------------------*\
13 \*-------------------------------------*/
15 class CBI_GRAPH GLGraphRunnable
18 virtual ~GLGraphRunnable()
21 virtual void run(Panel_A
&panel
)=0;
28 class CBI_GRAPH GLGraphRelease
: public GLGraphRunnable
31 GLGraphRelease(GLFigure
* ptrGLFigure
);
32 virtual ~GLGraphRelease();
33 virtual void run(Panel_A
&panel
);
35 GLFigure
* ptrGLFigure
;
40 * call reshape GLFigure with given viewport
42 class CBI_GRAPH GLGraphInit
: public GLGraphRunnable
45 GLGraphInit(GLFigure
* ptrGLFigure
, Viewport
* ptrViewport
);
46 virtual ~GLGraphInit();
47 virtual void run(Panel_A
&panel
);
49 GLFigure
* ptrGLFigure
;
50 Viewport
* ptrViewport
;
55 /*----------------------------------------------------------------------*\
57 \*---------------------------------------------------------------------*/