gem-graph-client/doc/html/d7/d04/graphics_8h.html

1094 lines
52 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Gem-graph: include/graphics.h File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="../../logo icon mini.png"/></td>
<td id="projectalign">
<div id="projectname">Gem-graph<span id="projectnumber">&#160;0.1.0</span>
</div>
<div id="projectbrief">A modelling tool based on rewriting of geometric graphs.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a> </div>
<div class="headertitle"><div class="title">graphics.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<p>graphics header
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="../../d3/d0a/base_8h.html">base.h</a>&quot;</code><br />
<code>#include &lt;epoxy/gl.h&gt;</code><br />
<code>#include &lt;GL/glu.h&gt;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d0e/structgraphics__stack__t.html">graphics_stack_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Structure describing a gl_area and its parameters, used to create a table of Gem-graph client current gl_areas. <a href="../../dd/d0e/structgraphics__stack__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a80757f1a53908b5582a9ba77c133c079" id="r_a80757f1a53908b5582a9ba77c133c079"><td class="memItemLeft" align="right" valign="top"><a id="a80757f1a53908b5582a9ba77c133c079" name="a80757f1a53908b5582a9ba77c133c079"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VERTEX_SHADER_FILE</b>&#160;&#160;&#160;&quot;src/shader.vert&quot;</td></tr>
<tr class="memdesc:a80757f1a53908b5582a9ba77c133c079"><td class="mdescLeft">&#160;</td><td class="mdescRight">phantom documentation <br /></td></tr>
<tr class="separator:a80757f1a53908b5582a9ba77c133c079"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1be094b2f34d6c013cc36d0c0e9a2bb" id="r_ad1be094b2f34d6c013cc36d0c0e9a2bb"><td class="memItemLeft" align="right" valign="top"><a id="ad1be094b2f34d6c013cc36d0c0e9a2bb" name="ad1be094b2f34d6c013cc36d0c0e9a2bb"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>FRAG_SHADER_FILE</b>&#160;&#160;&#160;&quot;src/shader.frag&quot;</td></tr>
<tr class="memdesc:ad1be094b2f34d6c013cc36d0c0e9a2bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">phantom documentation <br /></td></tr>
<tr class="separator:ad1be094b2f34d6c013cc36d0c0e9a2bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60413e8e518bdcc170ed34d8cfb6b018" id="r_a60413e8e518bdcc170ed34d8cfb6b018"><td class="memItemLeft" align="right" valign="top"><a id="a60413e8e518bdcc170ed34d8cfb6b018" name="a60413e8e518bdcc170ed34d8cfb6b018"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GL_TARGET_MAJOR_VERSION</b>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:a60413e8e518bdcc170ed34d8cfb6b018"><td class="mdescLeft">&#160;</td><td class="mdescRight">phantom documentation <br /></td></tr>
<tr class="separator:a60413e8e518bdcc170ed34d8cfb6b018"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacde4e0c52ad0f34009b753d288e385c" id="r_aacde4e0c52ad0f34009b753d288e385c"><td class="memItemLeft" align="right" valign="top"><a id="aacde4e0c52ad0f34009b753d288e385c" name="aacde4e0c52ad0f34009b753d288e385c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GL_TARGET_MINOR_VERSION</b>&#160;&#160;&#160;4</td></tr>
<tr class="memdesc:aacde4e0c52ad0f34009b753d288e385c"><td class="mdescLeft">&#160;</td><td class="mdescRight">phantom documentation <br /></td></tr>
<tr class="separator:aacde4e0c52ad0f34009b753d288e385c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ada591592a6e751eed5810aed710edeb2" id="r_ada591592a6e751eed5810aed710edeb2"><td class="memItemLeft" align="right" valign="top"><a id="ada591592a6e751eed5810aed710edeb2" name="ada591592a6e751eed5810aed710edeb2"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>graphics_render_stack</b> (GtkWidget *container_widget)</td></tr>
<tr class="memdesc:ada591592a6e751eed5810aed710edeb2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Structure describing a gl_area and its parameters, used to create a table of Gem-graph client current gl_areas. <br /></td></tr>
<tr class="separator:ada591592a6e751eed5810aed710edeb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa186797d420d2d8b445613407dc33146" id="r_aa186797d420d2d8b445613407dc33146"><td class="memItemLeft" align="right" valign="top"><a id="aa186797d420d2d8b445613407dc33146" name="aa186797d420d2d8b445613407dc33146"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>graphics_setup_glarea</b> (int target_mode, GtkWidget *target_widget)</td></tr>
<tr class="memdesc:aa186797d420d2d8b445613407dc33146"><td class="mdescLeft">&#160;</td><td class="mdescRight">phantom documentation <br /></td></tr>
<tr class="separator:aa186797d420d2d8b445613407dc33146"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a4ed7438a755777b162fc37e84ba93a" id="r_a5a4ed7438a755777b162fc37e84ba93a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d04/graphics_8h.html#a5a4ed7438a755777b162fc37e84ba93a">graphics_init</a> (void *error_buffer)</td></tr>
<tr class="memdesc:a5a4ed7438a755777b162fc37e84ba93a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a gl_area. <br /></td></tr>
<tr class="separator:a5a4ed7438a755777b162fc37e84ba93a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66c9c80dbf46ac2168827bf8a0dfb7ee" id="r_a66c9c80dbf46ac2168827bf8a0dfb7ee"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d04/graphics_8h.html#a66c9c80dbf46ac2168827bf8a0dfb7ee">graphics_draw</a> (const int graphics_stack_id)</td></tr>
<tr class="memdesc:a66c9c80dbf46ac2168827bf8a0dfb7ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the current buffer to a gl_area. <br /></td></tr>
<tr class="separator:a66c9c80dbf46ac2168827bf8a0dfb7ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae99e9cf190970a730fdb3d8df8682188" id="r_ae99e9cf190970a730fdb3d8df8682188"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d04/graphics_8h.html#ae99e9cf190970a730fdb3d8df8682188">graphics_shutdown</a> (const int graphics_stack_id, void *error_buffer)</td></tr>
<tr class="memdesc:ae99e9cf190970a730fdb3d8df8682188"><td class="mdescLeft">&#160;</td><td class="mdescRight">Shutdowns a gl_area. <br /></td></tr>
<tr class="separator:ae99e9cf190970a730fdb3d8df8682188"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5ba153022c8589d2cd83442197e163e" id="r_ac5ba153022c8589d2cd83442197e163e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d04/graphics_8h.html#ac5ba153022c8589d2cd83442197e163e">graphics_init_shaders</a> (const int graphics_stack_id)</td></tr>
<tr class="memdesc:ac5ba153022c8589d2cd83442197e163e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the shaders of a gl_area and link them to a program. <br /></td></tr>
<tr class="separator:ac5ba153022c8589d2cd83442197e163e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad207a8ab8be624215cdb332438f88dce" id="r_ad207a8ab8be624215cdb332438f88dce"><td class="memItemLeft" align="right" valign="top"><a id="ad207a8ab8be624215cdb332438f88dce" name="ad207a8ab8be624215cdb332438f88dce"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>graphics_init_graphics_stack</b> (void *container_widget, GError *error_buffer)</td></tr>
<tr class="memdesc:ad207a8ab8be624215cdb332438f88dce"><td class="mdescLeft">&#160;</td><td class="mdescRight">phantom documentation <br /></td></tr>
<tr class="separator:ad207a8ab8be624215cdb332438f88dce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e90af55bafb9b4c934eb7f60d888e73" id="r_a8e90af55bafb9b4c934eb7f60d888e73"><td class="memItemLeft" align="right" valign="top"><a id="a8e90af55bafb9b4c934eb7f60d888e73" name="a8e90af55bafb9b4c934eb7f60d888e73"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>graphics_shutdown_graphics_stack</b> (void *container_widget, GError *error_buffer)</td></tr>
<tr class="memdesc:a8e90af55bafb9b4c934eb7f60d888e73"><td class="mdescLeft">&#160;</td><td class="mdescRight">phantom documentation <br /></td></tr>
<tr class="separator:a8e90af55bafb9b4c934eb7f60d888e73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa149b6ac65d1cdf5880ce6e1da303472" id="r_aa149b6ac65d1cdf5880ce6e1da303472"><td class="memItemLeft" align="right" valign="top"><a id="aa149b6ac65d1cdf5880ce6e1da303472" name="aa149b6ac65d1cdf5880ce6e1da303472"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>graphics_update_axis_stack</b> (GtkWidget *container_widget, int axis, int value)</td></tr>
<tr class="memdesc:aa149b6ac65d1cdf5880ce6e1da303472"><td class="mdescLeft">&#160;</td><td class="mdescRight">phantom documentation <br /></td></tr>
<tr class="separator:aa149b6ac65d1cdf5880ce6e1da303472"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa86924f99e2a17fcb4e33b22b8987a95" id="r_aa86924f99e2a17fcb4e33b22b8987a95"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d04/graphics_8h.html#aa86924f99e2a17fcb4e33b22b8987a95">graphics_init_buffers</a> (const int graphics_stack_id)</td></tr>
<tr class="memdesc:aa86924f99e2a17fcb4e33b22b8987a95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the buffer of a gl_area Calls according to the user preferences. <br /></td></tr>
<tr class="separator:aa86924f99e2a17fcb4e33b22b8987a95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2c4ec98f5bf9942092ff385e9fac72f" id="r_aa2c4ec98f5bf9942092ff385e9fac72f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d04/graphics_8h.html#aa2c4ec98f5bf9942092ff385e9fac72f">graphics_draw_vertex</a> (const int graphics_stack_id, GLfloat x, GLfloat y, GLfloat z)</td></tr>
<tr class="memdesc:aa2c4ec98f5bf9942092ff385e9fac72f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a vertex (x, y, z) if (console) prints (x, y, z) values to console. <br /></td></tr>
<tr class="separator:aa2c4ec98f5bf9942092ff385e9fac72f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad0766ae2eda7ded12984d0061f1da89" id="r_aad0766ae2eda7ded12984d0061f1da89"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d04/graphics_8h.html#aad0766ae2eda7ded12984d0061f1da89">graphics_draw_line</a> (const int graphics_stack_id, GLuint a, GLuint b)</td></tr>
<tr class="memdesc:aad0766ae2eda7ded12984d0061f1da89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes values to describe a line from a to b into the line buffer. <br /></td></tr>
<tr class="separator:aad0766ae2eda7ded12984d0061f1da89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb83b572ba51cecca0db17db6d046546" id="r_afb83b572ba51cecca0db17db6d046546"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d04/graphics_8h.html#afb83b572ba51cecca0db17db6d046546">graphics_draw_plan</a> (const int graphics_stack_id, GLuint a, GLuint b, GLuint c)</td></tr>
<tr class="memdesc:afb83b572ba51cecca0db17db6d046546"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes values to describe an (a,b,c) plan (triangle) into the plan buffer. <br /></td></tr>
<tr class="separator:afb83b572ba51cecca0db17db6d046546"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2be40f60f1a100f87730178ea20a5b6f" id="r_a2be40f60f1a100f87730178ea20a5b6f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d04/graphics_8h.html#a2be40f60f1a100f87730178ea20a5b6f">graphics_draw_color</a> (const int graphics_stack_id, GLfloat r, GLfloat g, GLfloat b)</td></tr>
<tr class="memdesc:a2be40f60f1a100f87730178ea20a5b6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the color (r, g, b) associated to a vertex if (console) prints (r, g, b) values to console. <br /></td></tr>
<tr class="separator:a2be40f60f1a100f87730178ea20a5b6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76f5c593f1d55ebbc838437d9240ad8a" id="r_a76f5c593f1d55ebbc838437d9240ad8a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d04/graphics_8h.html#a76f5c593f1d55ebbc838437d9240ad8a">graphics_model_setup</a> (const int graphics_stack_id)</td></tr>
<tr class="memdesc:a76f5c593f1d55ebbc838437d9240ad8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">graphics_model_setup <br /></td></tr>
<tr class="separator:a76f5c593f1d55ebbc838437d9240ad8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f1525659a25e5f22f6f864f77df0394" id="r_a9f1525659a25e5f22f6f864f77df0394"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d04/graphics_8h.html#a9f1525659a25e5f22f6f864f77df0394">graphics_draw_one_arrow_vertex</a> (const int graphics_stack_id, int space_X, int space_Y, int space_Z, int weight, int site, int x, int y, int z)</td></tr>
<tr class="memdesc:a9f1525659a25e5f22f6f864f77df0394"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws one arrow vertex (x, y, z) if (console) prints (x, y, z) values to console. <br /></td></tr>
<tr class="separator:a9f1525659a25e5f22f6f864f77df0394"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5b64ca813b8230a386db3f197773839" id="r_ac5b64ca813b8230a386db3f197773839"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d04/graphics_8h.html#ac5b64ca813b8230a386db3f197773839">graphics_draw_one_arrow_line</a> (const int graphics_stack_id, int offset_vertex)</td></tr>
<tr class="memdesc:ac5b64ca813b8230a386db3f197773839"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws one arrow vertex (x, y, z) if (console) prints (x, y, z) values to console. <br /></td></tr>
<tr class="separator:ac5b64ca813b8230a386db3f197773839"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79778df22a59f6bdfb2ef1be40999988" id="r_a79778df22a59f6bdfb2ef1be40999988"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d04/graphics_8h.html#a79778df22a59f6bdfb2ef1be40999988">graphics_draw_space_ridges_vertex</a> (const int graphics_stack_id, long offset_vertex, long x, long y, long z)</td></tr>
<tr class="memdesc:a79778df22a59f6bdfb2ef1be40999988"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes grid ridges to vertex and color buffers. <br /></td></tr>
<tr class="separator:a79778df22a59f6bdfb2ef1be40999988"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae06bc782cdd144a15166e1a3087ca07c" id="r_ae06bc782cdd144a15166e1a3087ca07c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d04/graphics_8h.html#ae06bc782cdd144a15166e1a3087ca07c">graphics_draw_space_ridges_lines</a> (const int graphics_stack_id)</td></tr>
<tr class="memdesc:ae06bc782cdd144a15166e1a3087ca07c"><td class="mdescLeft">&#160;</td><td class="mdescRight">draw_space_ridges_lines <br /></td></tr>
<tr class="separator:ae06bc782cdd144a15166e1a3087ca07c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0e0b868182a402d520d3443909bd40b" id="r_aa0e0b868182a402d520d3443909bd40b"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d04/graphics_8h.html#aa0e0b868182a402d520d3443909bd40b">graphics_draw_grids_on_space_faces_vertex</a> (const int graphics_stack_id, long x, long y, long z)</td></tr>
<tr class="memdesc:aa0e0b868182a402d520d3443909bd40b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes grid lines on space faces. <br /></td></tr>
<tr class="separator:aa0e0b868182a402d520d3443909bd40b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b522c9dc5b1ba15444956adb1c08cf5" id="r_a4b522c9dc5b1ba15444956adb1c08cf5"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d04/graphics_8h.html#a4b522c9dc5b1ba15444956adb1c08cf5">graphics_draw_grids_on_space_faces_lines</a> (const int graphics_stack_id, long offset_vertex, long x, long y, long z)</td></tr>
<tr class="memdesc:a4b522c9dc5b1ba15444956adb1c08cf5"><td class="mdescLeft">&#160;</td><td class="mdescRight">phantom documentation used to test the functioning of doxygen <br /></td></tr>
<tr class="separator:a4b522c9dc5b1ba15444956adb1c08cf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a8069bea50642d8e4d582194cf7c014" id="r_a6a8069bea50642d8e4d582194cf7c014"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d04/graphics_8h.html#a6a8069bea50642d8e4d582194cf7c014">graphics_set_arrow</a> (int graphics_stack_id, int arrows_nb, int space_X, int space_Y, int space_Z, int requested_weight, int site, int arrow_x, int arrow_y, int arrow_z)</td></tr>
<tr class="memdesc:a6a8069bea50642d8e4d582194cf7c014"><td class="mdescLeft">&#160;</td><td class="mdescRight">set_arrow <br /></td></tr>
<tr class="separator:a6a8069bea50642d8e4d582194cf7c014"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ad2cd7fe4849c259e9dedcc6e7e795aaf" id="r_ad2cd7fe4849c259e9dedcc6e7e795aaf"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="../../dd/d0e/structgraphics__stack__t.html">graphics_stack_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d04/graphics_8h.html#ad2cd7fe4849c259e9dedcc6e7e795aaf">graphics_stack</a></td></tr>
<tr class="memdesc:ad2cd7fe4849c259e9dedcc6e7e795aaf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dynamic array of ptrs to dynamically allocated gl_area_entry. <br /></td></tr>
<tr class="separator:ad2cd7fe4849c259e9dedcc6e7e795aaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>graphics header </p>
<p>This file is part of Gem-graph. </p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="a66c9c80dbf46ac2168827bf8a0dfb7ee" name="a66c9c80dbf46ac2168827bf8a0dfb7ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a66c9c80dbf46ac2168827bf8a0dfb7ee">&#9670;&#160;</a></span>graphics_draw()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void graphics_draw </td>
<td>(</td>
<td class="paramtype">const int&#160;</td>
<td class="paramname"><em>stack_id</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws the current buffer to a gl_area. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">graphics_stack_id</td><td></td></tr>
<tr><td class="paramname">stack_id</td><td>gl_area, ptr to the gl_area widget </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a2be40f60f1a100f87730178ea20a5b6f" name="a2be40f60f1a100f87730178ea20a5b6f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2be40f60f1a100f87730178ea20a5b6f">&#9670;&#160;</a></span>graphics_draw_color()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void graphics_draw_color </td>
<td>(</td>
<td class="paramtype">const int&#160;</td>
<td class="paramname"><em>stack_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLfloat&#160;</td>
<td class="paramname"><em>r</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLfloat&#160;</td>
<td class="paramname"><em>g</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLfloat&#160;</td>
<td class="paramname"><em>b</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws the color (r, g, b) associated to a vertex if (console) prints (r, g, b) values to console. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">graphics_stack_id</td><td></td></tr>
<tr><td class="paramname">r</td><td></td></tr>
<tr><td class="paramname">g</td><td></td></tr>
<tr><td class="paramname">b</td><td></td></tr>
</table>
</dd>
</dl>
<p>Draws the color (r, g, b) associated to a vertex if (console) prints (r, g, b) values to console.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stack_id</td><td></td></tr>
<tr><td class="paramname">r</td><td></td></tr>
<tr><td class="paramname">g</td><td></td></tr>
<tr><td class="paramname">b</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a4b522c9dc5b1ba15444956adb1c08cf5" name="a4b522c9dc5b1ba15444956adb1c08cf5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b522c9dc5b1ba15444956adb1c08cf5">&#9670;&#160;</a></span>graphics_draw_grids_on_space_faces_lines()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">long graphics_draw_grids_on_space_faces_lines </td>
<td>(</td>
<td class="paramtype">const int&#160;</td>
<td class="paramname"><em>graphics_stack_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">long&#160;</td>
<td class="paramname"><em>offset_vertex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">long&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">long&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">long&#160;</td>
<td class="paramname"><em>z</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>phantom documentation used to test the functioning of doxygen </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">graphics_stack_id</td><td></td></tr>
<tr><td class="paramname">offset_vertex</td><td></td></tr>
<tr><td class="paramname">x</td><td></td></tr>
<tr><td class="paramname">y</td><td></td></tr>
<tr><td class="paramname">z</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>l </dd></dl>
</div>
</div>
<a id="aa0e0b868182a402d520d3443909bd40b" name="aa0e0b868182a402d520d3443909bd40b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0e0b868182a402d520d3443909bd40b">&#9670;&#160;</a></span>graphics_draw_grids_on_space_faces_vertex()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">long graphics_draw_grids_on_space_faces_vertex </td>
<td>(</td>
<td class="paramtype">const int&#160;</td>
<td class="paramname"><em>stack_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">long&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">long&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">long&#160;</td>
<td class="paramname"><em>z</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes grid lines on space faces. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">graphics_stack_id</td><td></td></tr>
<tr><td class="paramname">x</td><td></td></tr>
<tr><td class="paramname">y</td><td></td></tr>
<tr><td class="paramname">z</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>l</dd></dl>
<p>Writes grid lines on space faces. </p>
</div>
</div>
<a id="aad0766ae2eda7ded12984d0061f1da89" name="aad0766ae2eda7ded12984d0061f1da89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad0766ae2eda7ded12984d0061f1da89">&#9670;&#160;</a></span>graphics_draw_line()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void graphics_draw_line </td>
<td>(</td>
<td class="paramtype">const int&#160;</td>
<td class="paramname"><em>stack_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLuint&#160;</td>
<td class="paramname"><em>a</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLuint&#160;</td>
<td class="paramname"><em>b</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes values to describe a line from a to b into the line buffer. </p>
<p>@use liste de fonctions GTK</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">coords</td><td>GLuint (a,b)</td></tr>
<tr><td class="paramname">graphics_stack_id</td><td></td></tr>
<tr><td class="paramname">a</td><td></td></tr>
<tr><td class="paramname">b</td><td></td></tr>
<tr><td class="paramname">stack_id</td><td></td></tr>
<tr><td class="paramname">a</td><td></td></tr>
<tr><td class="paramname">b</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ac5b64ca813b8230a386db3f197773839" name="ac5b64ca813b8230a386db3f197773839"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5b64ca813b8230a386db3f197773839">&#9670;&#160;</a></span>graphics_draw_one_arrow_line()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int graphics_draw_one_arrow_line </td>
<td>(</td>
<td class="paramtype">const int&#160;</td>
<td class="paramname"><em>graphics_stack_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>offset_vertex</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws one arrow vertex (x, y, z) if (console) prints (x, y, z) values to console. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">graphics_stack_id</td><td></td></tr>
<tr><td class="paramname">offset_vertex</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>i </dd></dl>
</div>
</div>
<a id="a9f1525659a25e5f22f6f864f77df0394" name="a9f1525659a25e5f22f6f864f77df0394"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f1525659a25e5f22f6f864f77df0394">&#9670;&#160;</a></span>graphics_draw_one_arrow_vertex()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int graphics_draw_one_arrow_vertex </td>
<td>(</td>
<td class="paramtype">const int&#160;</td>
<td class="paramname"><em>graphics_stack_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>space_X</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>space_Y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>space_Z</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>weight</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>site</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>z</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws one arrow vertex (x, y, z) if (console) prints (x, y, z) values to console. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">graphics_stack_id</td><td></td></tr>
<tr><td class="paramname">space_X</td><td></td></tr>
<tr><td class="paramname">space_Y</td><td></td></tr>
<tr><td class="paramname">space_Z</td><td></td></tr>
<tr><td class="paramname">weight</td><td></td></tr>
<tr><td class="paramname">site</td><td></td></tr>
<tr><td class="paramname">x</td><td></td></tr>
<tr><td class="paramname">y</td><td></td></tr>
<tr><td class="paramname">z</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>i </dd></dl>
</div>
</div>
<a id="afb83b572ba51cecca0db17db6d046546" name="afb83b572ba51cecca0db17db6d046546"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb83b572ba51cecca0db17db6d046546">&#9670;&#160;</a></span>graphics_draw_plan()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void graphics_draw_plan </td>
<td>(</td>
<td class="paramtype">const int&#160;</td>
<td class="paramname"><em>stack_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLuint&#160;</td>
<td class="paramname"><em>a</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLuint&#160;</td>
<td class="paramname"><em>b</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLuint&#160;</td>
<td class="paramname"><em>c</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes values to describe an (a,b,c) plan (triangle) into the plan buffer. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">coords</td><td>GLuint (a,b,c)</td></tr>
<tr><td class="paramname">graphics_stack_id</td><td></td></tr>
<tr><td class="paramname">a</td><td></td></tr>
<tr><td class="paramname">b</td><td></td></tr>
<tr><td class="paramname">c</td><td></td></tr>
<tr><td class="paramname">stack_id</td><td></td></tr>
<tr><td class="paramname">a</td><td></td></tr>
<tr><td class="paramname">b</td><td></td></tr>
<tr><td class="paramname">c</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ae06bc782cdd144a15166e1a3087ca07c" name="ae06bc782cdd144a15166e1a3087ca07c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae06bc782cdd144a15166e1a3087ca07c">&#9670;&#160;</a></span>graphics_draw_space_ridges_lines()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int graphics_draw_space_ridges_lines </td>
<td>(</td>
<td class="paramtype">const int&#160;</td>
<td class="paramname"><em>stack_id</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>draw_space_ridges_lines </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">graphics_stack_id</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>i</dd></dl>
<p>draw_space_ridges_lines </p>
</div>
</div>
<a id="a79778df22a59f6bdfb2ef1be40999988" name="a79778df22a59f6bdfb2ef1be40999988"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79778df22a59f6bdfb2ef1be40999988">&#9670;&#160;</a></span>graphics_draw_space_ridges_vertex()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int graphics_draw_space_ridges_vertex </td>
<td>(</td>
<td class="paramtype">const int&#160;</td>
<td class="paramname"><em>stack_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">long&#160;</td>
<td class="paramname"><em>offset_vertex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">long&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">long&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">long&#160;</td>
<td class="paramname"><em>z</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes grid ridges to vertex and color buffers. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">graphics_stack_id</td><td></td></tr>
<tr><td class="paramname">offset_vertex</td><td></td></tr>
<tr><td class="paramname">x</td><td></td></tr>
<tr><td class="paramname">y</td><td></td></tr>
<tr><td class="paramname">z</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>i</dd></dl>
<p>Writes grid ridges to vertex and color buffers. </p>
</div>
</div>
<a id="aa2c4ec98f5bf9942092ff385e9fac72f" name="aa2c4ec98f5bf9942092ff385e9fac72f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2c4ec98f5bf9942092ff385e9fac72f">&#9670;&#160;</a></span>graphics_draw_vertex()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void graphics_draw_vertex </td>
<td>(</td>
<td class="paramtype">const int&#160;</td>
<td class="paramname"><em>stack_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLfloat&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLfloat&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLfloat&#160;</td>
<td class="paramname"><em>z</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws a vertex (x, y, z) if (console) prints (x, y, z) values to console. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">GLfloat</td><td>x, GLfloat y, GLfloat z</td></tr>
<tr><td class="paramname">graphics_stack_id</td><td></td></tr>
<tr><td class="paramname">x</td><td></td></tr>
<tr><td class="paramname">y</td><td></td></tr>
<tr><td class="paramname">z</td><td></td></tr>
</table>
</dd>
</dl>
<p>Draws a vertex (x, y, z) if (console) prints (x, y, z) values to console.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stack_id</td><td></td></tr>
<tr><td class="paramname">x</td><td></td></tr>
<tr><td class="paramname">y</td><td></td></tr>
<tr><td class="paramname">z</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a5a4ed7438a755777b162fc37e84ba93a" name="a5a4ed7438a755777b162fc37e84ba93a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a4ed7438a755777b162fc37e84ba93a">&#9670;&#160;</a></span>graphics_init()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int graphics_init </td>
<td>(</td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>error_buffer</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Initializes a gl_area. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">*error_buffer</td><td>gl_area, ptr to the gl_area widget</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if initialized</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">*error_buffer</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if initialized </dd></dl>
</div>
</div>
<a id="aa86924f99e2a17fcb4e33b22b8987a95" name="aa86924f99e2a17fcb4e33b22b8987a95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa86924f99e2a17fcb4e33b22b8987a95">&#9670;&#160;</a></span>graphics_init_buffers()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void graphics_init_buffers </td>
<td>(</td>
<td class="paramtype">const int&#160;</td>
<td class="paramname"><em>stack_id</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Initializes the buffer of a gl_area Calls according to the user preferences. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">gl_area,ptr</td><td>to the gl_area widget</td></tr>
<tr><td class="paramname">graphics_stack_id</td><td>gl_area, ptr to the gl_area widget</td></tr>
<tr><td class="paramname">stack_id</td><td></td></tr>
</table>
</dd>
</dl>
<p>gl_area, ptr to the gl_area widget </p>
</div>
</div>
<a id="ac5ba153022c8589d2cd83442197e163e" name="ac5ba153022c8589d2cd83442197e163e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5ba153022c8589d2cd83442197e163e">&#9670;&#160;</a></span>graphics_init_shaders()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool graphics_init_shaders </td>
<td>(</td>
<td class="paramtype">const int&#160;</td>
<td class="paramname"><em>stack_id</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Initializes the shaders of a gl_area and link them to a program. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">graphics_stack_id</td><td>gl_area, ptr to the gl_area widget</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if initialized</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">gl_area,ptr</td><td>to the gl_area widget</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if initialized</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stack_id</td><td></td></tr>
</table>
</dd>
</dl>
<p>gl_area, ptr to the gl_area widget</p>
<dl class="section return"><dt>Returns</dt><dd>true if initialized </dd></dl>
</div>
</div>
<a id="a76f5c593f1d55ebbc838437d9240ad8a" name="a76f5c593f1d55ebbc838437d9240ad8a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76f5c593f1d55ebbc838437d9240ad8a">&#9670;&#160;</a></span>graphics_model_setup()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void graphics_model_setup </td>
<td>(</td>
<td class="paramtype">const int&#160;</td>
<td class="paramname"><em>graphics_stack_id</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>graphics_model_setup </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">graphics_stack_id</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a6a8069bea50642d8e4d582194cf7c014" name="a6a8069bea50642d8e4d582194cf7c014"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a8069bea50642d8e4d582194cf7c014">&#9670;&#160;</a></span>graphics_set_arrow()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int graphics_set_arrow </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>graphics_stack_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>arrows_nb</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>space_X</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>space_Y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>space_Z</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>requested_weight</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>site</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>arrow_x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>arrow_y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>arrow_z</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>set_arrow </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">graphics_stack_id</td><td></td></tr>
<tr><td class="paramname">arrows_nb</td><td></td></tr>
<tr><td class="paramname">space_X</td><td></td></tr>
<tr><td class="paramname">space_Y</td><td></td></tr>
<tr><td class="paramname">space_Z</td><td></td></tr>
<tr><td class="paramname">requested_weight</td><td></td></tr>
<tr><td class="paramname">site</td><td></td></tr>
<tr><td class="paramname">x</td><td></td></tr>
<tr><td class="paramname">y</td><td></td></tr>
<tr><td class="paramname">z</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>i </dd></dl>
</div>
</div>
<a id="ae99e9cf190970a730fdb3d8df8682188" name="ae99e9cf190970a730fdb3d8df8682188"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae99e9cf190970a730fdb3d8df8682188">&#9670;&#160;</a></span>graphics_shutdown()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool graphics_shutdown </td>
<td>(</td>
<td class="paramtype">const int&#160;</td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>error_buffer</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Shutdowns a gl_area. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">graphics_stack_id</td><td></td></tr>
<tr><td class="paramname">*error_buffer</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if success</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">gl_area,ptr</td><td>to the gl_area widget</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if success</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">id</td><td></td></tr>
<tr><td class="paramname">*error_buffer</td><td></td></tr>
</table>
</dd>
</dl>
<p>gl_area, ptr to the gl_area widget</p>
<dl class="section return"><dt>Returns</dt><dd>true if success </dd></dl>
</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="ad2cd7fe4849c259e9dedcc6e7e795aaf" name="ad2cd7fe4849c259e9dedcc6e7e795aaf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2cd7fe4849c259e9dedcc6e7e795aaf">&#9670;&#160;</a></span>graphics_stack</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">struct <a class="el" href="../../dd/d0e/structgraphics__stack__t.html">graphics_stack_t</a>* graphics_stack</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Dynamic array of ptrs to dynamically allocated gl_area_entry. </p>
<p>Dynamic array of ptrs to dynamically allocated gl_area_entry. </p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>