|
Blender
V2.59
|
00001 00029 #ifndef LOD_GhostTestApp_h 00030 #define LOD_GhostTestApp_h 00031 00032 #include "GHOST_IEventConsumer.h" 00033 #include "MT_Vector3.h" 00034 #include <vector> 00035 00036 class GHOST_IWindow; 00037 class GHOST_ISystem; 00038 00039 00040 class LOD_GhostTestApp : 00041 public GHOST_IEventConsumer 00042 { 00043 public : 00044 // Construct an instance of the application; 00045 00046 LOD_GhostTestApp( 00047 ); 00048 00049 // initialize the applicaton 00050 00051 bool 00052 InitApp( 00053 ); 00054 00055 // Run the application untill internal return. 00056 void 00057 Run( 00058 ); 00059 00060 ~LOD_GhostTestApp( 00061 ); 00062 00063 private : 00064 00065 void 00066 UpdateFrame( 00067 ); 00068 00069 // inherited from GHOST_IEventConsumer 00070 // maps events to GlutXXXHandlers() 00071 00072 bool 00073 processEvent( 00074 GHOST_IEvent* event 00075 ); 00076 00077 GHOST_IWindow *m_window; 00078 GHOST_ISystem *m_system; 00079 00080 bool m_finish_me_off; 00081 }; 00082 00083 #endif 00084