GLUTCallbackFunctions.h

Go to the documentation of this file.
00001 //----------------------------------------------------------------------------- 00004 00005 // Last Change: 2004/06/13 00006 // Version: 0.1 00007 00008 #ifndef _GLUT_CALLBACK_FUNCTIONS_H_ 00009 #define _GLUT_CALLBACK_FUNCTIONS_H_ 00010 00011 //--------------------------------------------------------------------includes- 00012 #include "../src/main.h" 00013 #include "../src/Graph.h" 00014 #include "../src/RadialLayout.h" 00015 00016 //------------------------------------------------------------createGLUTWindow- 00024 void createGLUTWindow(Graph *graph, RadialLayout *radial_layout, 00025 GLuint screen_width, GLuint screen_height); 00026 00027 //------------------------------------------------------------------createGLUI- 00031 void createGLUI(); 00032 00033 //--------------------------------------------------------------myGLUTIdleFunc- 00037 void myGLUTIdleFunc(); 00038 00039 //-----------------------------------------------------------myGLUTReshapeFunc- 00043 void myGLUTReshapeFunc(GLint screen_width, GLint screen_height); 00044 00045 //-------------------------------------------------------myGLUTRenderSceneFunc- 00049 void renderScene(); 00050 00051 //------------------------------------------------------------updateRenderMode- 00055 void updateRenderMode(); 00056 00057 //------------------------------------------------------------updateRenderMode- 00061 void startDemoMode(); 00062 00063 //-----------------------------------------------------myGLUTKeyboardEventFunc- 00070 void myGLUTKeyboardEventFunc(unsigned char key, int x_pos, int y_pos); 00071 00072 //--------------------------------------------------------myGLUTMouseEventFunc- 00080 void myGLUTMouseEventFunc(int button, int state, int x_pos, 00081 int y_pos); 00082 00083 //------------------------------------------------------------retrieveObjectID- 00090 int retrieveObjectID(int x_coord, int y_coord); 00091 00092 //----------------------------------------------------------------myGlutMotion- 00098 void myGlutMotion(int x_pos, int y_pos); 00099 00100 //----------------------------------------------------------resetSceneRotation- 00104 void resetSceneRotation(); 00105 00106 //--------------------------------------------------------toggleCaptionEnabling- 00111 void toggleCaptionEnabling(); 00112 00113 00114 #endif // _GLUT_CALLBACK_FUNCTIONS_H_ 00115 00116 // eof

Generated on Mon Jun 14 12:48:56 2004 for InfoVis by doxygen 1.3.7