if ((e.getKeyChar() == 'p') || (e.getKeyChar() == 'P')) {
// Change the projection policy
scene.changeProjection();
} else if (( e.getKeyChar() == 'r') || (e.getKeyChar() == 'R')){
scene.reset();
} else if ( e.getKeyChar() == '\n') {
// enter for auto-zoom
scene.autoZoom();
}
}