00001 00006 // Contributed by Richard Kaszeta <bofh@me.umn.edu>, started October 1999. 00007 // 00008 // This library is free software; you can redistribute it and/or 00009 // modify it under the terms of the GNU Library General Public 00010 // License as published by the Free Software Foundation; either 00011 // version 2 of the License, or (at your option) any later version. 00012 // 00013 // This library is distributed in the hope that it will be useful, 00014 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 // Library General Public License for more details. 00017 // 00018 // You should have received a copy of the GNU General Public License 00019 // along with this program; if not, write to the Free Software 00020 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00021 // 00022 // $Id: screen-dump_8hxx_source.html,v 1.3 2010/02/23 22:10:16 curt Exp $ 00023 00024 #ifndef SG_SCREEN_DUMP_HXX 00025 #define SG_SCREEN_DUMP_HXX 00026 00027 #include <simgear/compiler.h> 00028 00029 #include <osg/GL> 00030 00037 bool sg_glDumpWindow( const char *filename, int win_width, int win_height ); 00038 00039 00048 bool sg_glWritePPMFile( const char *filename, GLubyte *buffer, int win_width, 00049 int win_height, int mode); 00050 00051 #endif // of SG_SCREEN_DUMP_HXX