Blender V2.61 - r43446

LOD_GhostTestApp.h

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