Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
SceneGL.hh
1 #ifndef _SceneGL_hh_
2 #define _SceneGL_hh_
3 
4 #include <Gui/OpenGLCanvas.hh>
5 
6 namespace BIAS {
7 
8  /** @class SceneGL
9  @brief Simple interface for GL calls
10 
11  Common object oriented interface for a simple Display function
12  firing GL calls.
13  @author Jan Woetzel */
14  class BIASSimpleGLApp_EXPORT SceneGL {
15  public:
16 
17  virtual ~SceneGL(){};
18 
19  SceneGL() : pc(NULL)
20  {};
21 
22  SceneGL(BIAS::OpenGLCanvas * pParenCanvasGL) : pc(pParenCanvasGL)
23  {};
24 
25  /// main interface
26  virtual void Display() = 0;
27 
28  BIAS::OpenGLCanvas * pc; //< pointer to parent canvas
29  };
30 
31 }
32 
33 #endif
Simple interface for GL calls.
Definition: SceneGL.hh:14
OpenGL canvases with additinal event handling (JW)
Definition: OpenGLCanvas.hh:68
BIAS::OpenGLCanvas * pc
Definition: SceneGL.hh:28
SceneGL(BIAS::OpenGLCanvas *pParenCanvasGL)
Definition: SceneGL.hh:22
virtual ~SceneGL()
Definition: SceneGL.hh:17