Public Member Functions | |
Constructor / Destructor | |
OpenGL_Application () | |
Constructor. | |
virtual | ~OpenGL_Application () throw () |
Destructor. | |
Protected Member Functions | |
AboutBox | |
virtual CPLAT::CP_String | GetAboutBoxDescription () const |
Commands | |
virtual void | HandleOpenApplication () |
Protected Attributes | |
float | speed |
GLint | w_win |
GLint | h_win |
GLint | count |
Private Types | |
typedef CPLAT::CP_Application< CPLAT::CP_DocumentPolicy_None, CPLAT::CP_PrintPolicy_Print, CPLAT::CP_UndoPolicy_None > | inherited |
Private Member Functions | |
Drawing | |
void | DrawGLContent (CPLAT::CP_DataValueHolder &inValue, CPLAT::OSStatus &) |
OpenGL Drawing | |
void | InitGLDrawing () |
double | tnow () |
double | filter (double in, double *save) |
void | SetCamera () |
void | do_display () |
Timer | |
void | TimerTask (CPLAT::CP_DataValueHolder &inDataValue, CPLAT::OSStatus &inOSStatus) |
|
|
|
Constructor.
|
|
Destructor.
|
|
Return the string that describes the purpose of the application in the AboutBox.
|
|
Called when the application is starting up. We take this opportunity to create our initial window and views. In this demo, we create a single window and using OpenGL draw some stuff into it.
|
|
Slot called to draw some content into the OpenGL view.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|