// called in VMDupdate, this updates the values of numDisplayable[23]D // this is called by the parent! int CaveScene::prepare() { // check if the ESC key is being pressed; if so, quit // note: THIS IS A HACK, just for Bill Sherman ;-) if(CAVEgetbutton(CAVE_ESCKEY)) { CAVEExit(); app->VMDexit("Exiting due to Cave escape key being pressed.", 10, 4); } return Scene::prepare(); // call regular scene prepare method }
void VMDshutdown() { vmd_finalize_tcl(); // after all VMDApp instances are deleted #ifdef VMDCAVE if (DISPLAY_USES_CAVE(which_display)) { // call the CAVE specific exit CAVEExit(); } #endif #ifdef VMDFREEVR if (DISPLAY_USES_FREEVR(which_display)) { // call the FreeVR specific exit vrExit(); } #endif #ifdef VMDMPI vmd_mpi_fini(); #endif }
void vrlib_exit (void) { CAVEExit (); return; }