Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
SimpleGLCanvas.hh
1 #ifndef _SImpleGLCanvas_hh_628163_
2 #define _SImpleGLCanvas_hh_628163_
3 
4 #include <Gui/OpenGLCanvas.hh>
5 #include <Utils/DrawTextGL.hh>
6 #include "SceneGL.hh"
7 
8 //#include <Gui/SimpleGLFrame.hh>
9 // forwrad decl:
10 class SimpleGLFrame;
11 
12 namespace BIAS {
13 
14  /** @bref Helper canvas for SimpleGLApp
15  @author Jan Woetzel */
16  class BIASSimpleGLApp_EXPORT SimpleGLCanvas : public BIAS::OpenGLCanvas {
17  public:
18  SimpleGLCanvas(wxFrame * parent);
19 
20  /// constructor using a shared context
21  SimpleGLCanvas(wxFrame * parent, wxGLContext * sharedContext,
22  wxWindowID id = -1, const wxPoint & pos =
23  wxDefaultPosition, const wxSize & size =
24  wxDefaultSize, long style = 0, const wxString & name =
25  _T("SimpleGLCanvas"), int *attribList =
26  0, const wxPalette & palette = wxNullPalette);
27 
28  // override to fire our own Display calls:
29  virtual void DisplayCalls();
30 
31 
32  /// data members
34  //BIAS::DrawTextGL font;
35 
36  //BIAS::SimpleGLFrame * pFrame; //< pointer to parent frame
37 
38  };
39 } // namespace
40 #endif
Simple interface for GL calls.
Definition: SceneGL.hh:14
OpenGL canvases with additinal event handling (JW)
Definition: OpenGLCanvas.hh:68
BIAS::SceneGL * pScene
data members
Helper canvas for SimpleGLApp