Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
SimpleGLCanvas.cpp
1 #ifdef WIN32
2 # pragma warning (disable: 4005) // for VS8 + WX
3 #endif
4 
5 #include "SimpleGLCanvas.hh"
6 #include "SimpleGLFrame.hh"
7 
8 using namespace std;
9 using namespace BIAS;
10 
11 
13 : BIAS::OpenGLCanvas(parent, -1)
14 ,pScene(NULL)
15 //,pFrame(NULL)
16 {}
17 
18 
20 {
21  if (this->pScene != NULL)
22  this->pScene->Display();
23  else {
24  //cout<<"-";
25  BIASERR("pScene NULL");
26  BIASBREAK;
27  }
28 }
OpenGL canvases with additinal event handling (JW)
Definition: OpenGLCanvas.hh:68
virtual void DisplayCalls()
SimpleGLCanvas(wxFrame *parent)