sphore 0.0.1
SPH openGL rendering engine
|
00001 /******************************************************************** 00002 * sphore - SPH Opengl Rendering Engine 00003 * 00004 * This file is (or was) part of sphore. 00005 * sphore comes with ABSOLUTELY NO WARRANTY. 00006 * This is free software; and you are welcome to redistribute 00007 * it under the terms of the GNU General Public License 00008 * (see LICENSE file for details) and the provision that 00009 * this notice remains intact. If you modify this file, please 00010 * note section 2a) of the GPLv2 states that: 00011 * 00012 * a) You must cause the modified files to carry prominent notices 00013 * stating that you changed the files and the date of any change. 00014 * 00015 * Copyright (C) 2011 James Wetter. All rights reserved. 00016 * Contact: wetter.j@gmail.com 00017 * 00018 ********************************************************************/ 00025 #ifndef PLOT_H 00026 #define PLOT_H 00027 #include "sphore.h" 00028 #include "data.h" 00029 #include "viewport.h" 00030 00036 typedef struct _plot plot_t; 00037 00043 plot_t *plot_create (); 00044 00050 void plot_destroy (plot_t * plot); 00051 00059 SRErenderMode plot_get_render_mode (plot_t * plot); 00060 00067 void plot_set_data (plot_t * plot, data_t * data); 00068 00076 data_t *plot_get_data (plot_t * plot); 00077 00087 const float *plot_get_clear_colour (plot_t * plot); 00088 00096 viewport_t *plot_get_viewport (plot_t * plot); 00097 #endif