202 lines
50 KiB
HTML
202 lines
50 KiB
HTML
<!-- HTML header for doxygen 1.8.8-->
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<!-- For Mobile Devices -->
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta name="generator" content="Doxygen 1.8.12"/>
|
|
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
|
<title>Ewol Game engine (based on bullet lib): framework/atria-soft/ege/ege/elements/Element.hpp Source File</title>
|
|
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
|
<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" />
|
|
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
|
<script type="text/javascript" src="doxy-boot.js"></script>
|
|
</head>
|
|
<body>
|
|
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<a class="navbar-brand">Ewol Game engine (based on bullet lib) 0.3.0</a>
|
|
</div>
|
|
<div id="navbar" class="navbar-collapse collapse">
|
|
<ul class="nav navbar-nav">
|
|
<li><a href="index.html">Main Page</a></li>
|
|
<li><a href="pages.html">Related Pages</a></li>
|
|
<li><a href="namespaces.html">Namespaces</a></li>
|
|
<li><a href="annotated.html">Classes</a></li>
|
|
<li><a href="files.html">Files</a></li>
|
|
</ul>
|
|
<ul class="nav navbar-nav navbar-right">
|
|
<li class="dropdown">
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
|
Link-libs<span class="caret"></span>
|
|
</a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
|
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
|
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
|
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
|
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
|
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
|
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
|
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
|
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
|
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
|
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
|
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
|
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
|
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
|
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
|
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
|
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div id="search-box" class="input-group">
|
|
<div class="input-group-btn">
|
|
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
|
<span class="glyphicon glyphicon-search"></span>
|
|
<span class="caret"></span>
|
|
</button>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="#">All</a></li>
|
|
<li><a href="#">Classes</a></li>
|
|
<li><a href="#">Namespaces</a></li>
|
|
<li><a href="#">Files</a></li>
|
|
<li><a href="#">Functions</a></li>
|
|
<li><a href="#">Variables</a></li>
|
|
<li><a href="#">Typedefs</a></li>
|
|
<li><a href="#">Enumerations</a></li>
|
|
<li><a href="#">Enumerator</a></li>
|
|
<li><a href="#">Friends</a></li>
|
|
<li><a href="#">Macros</a></li>
|
|
<li><a href="#">Pages</a></li>
|
|
</ul>
|
|
</div>
|
|
<button id="search-close" type="button" class="close" aria-label="Close">
|
|
<span aria-hidden="true"></span>
|
|
</button>
|
|
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
|
</div>
|
|
</div><!--/.nav-collapse -->
|
|
</div>
|
|
</nav>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div class="content" id="content">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
|
<div style="margin-bottom: 15px;margin-top: 60px;">
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.12 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
</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">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_6aa09a6913ac62e7dd072c5c01fe4d4f.html">ege</a></li><li class="navelem"><a class="el" href="dir_c7b93e6f668982dd2d9141ef602a101b.html">ege</a></li><li class="navelem"><a class="el" href="dir_a05c46c5f0524d237aaf3ea4f665a870.html">elements</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">Element.hpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="_element_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include <<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/types__8hpp.html">etk/types.hpp</a>></span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/__vector3__d__8hpp.html">etk/math/Vector3D.hpp</a>></span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include <<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/__matrix4__8hpp.html">etk/math/Matrix4.hpp</a>></span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <ewol/debug.hpp></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include <ewol/widget/Widget.hpp></span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <gale/renderer/openGL/openGL.hpp></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <ewol/resource/Colored3DObject.hpp></span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <<a class="code" href="resource_2_mesh_8hpp.html">ege/resource/Mesh.hpp</a>></span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <<a class="code" href="_camera_8hpp.html">ege/camera/Camera.hpp</a>></span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <ewol/compositing/Text.hpp></span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <<a class="code" href="_environement_8hpp.html">ege/Environement.hpp</a>></span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#define INDEX_RIGHT_AXIS (0)</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#define INDEX_FORWARD_AXIS (1)</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#define INDEX_UP_AXIS (2)</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#define ELEMENT_SCALE (1.0f/8.0f)</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">namespace </span><a class="code" href="namespaceege.html">ege</a> {</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classege_1_1_element.html"> 28</a></span>  <span class="keyword">class </span><a class="code" href="classege_1_1_element.html">Element</a> : <span class="keyword">public</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_enable_shared_from_this.html">ememory::EnableSharedFromThis</a><Element> {</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ege::Environement></a> m_env;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <a class="code" href="classege_1_1_element.html#a0c423f7c9c39e1de6c7ab20b14af6153">Element</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ege::Environement></a>& _env);</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">virtual</span> <a class="code" href="classege_1_1_element.html#a7bf7c8407d13ce8e60f7de46d96bbe75">~Element</a>();</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> std::string& <a class="code" href="classege_1_1_element.html#aca63f47407aef7614d219fc053e8bcf0">getType</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classege_1_1_element.html#adddca0a376cd6180ec019354271c6e75">init</a>();</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> initString(<span class="keyword">const</span> std::string& _description);</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> initXML(<span class="keyword">const</span> exml::Node& _node);</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> initJSON(<span class="keyword">const</span> ejson::Value& _value);</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> initVoid(<span class="keywordtype">void</span>* _value);</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> unInit();</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  uint32_t m_uID; </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#a193718e7562eb080df61543d80351660"> 66</a></span>  <span class="keyword">inline</span> uint32_t <a class="code" href="classege_1_1_element.html#a193718e7562eb080df61543d80351660">getUID</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordflow">return</span> m_uID;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#a6bdf8a4eb8c9e0043df4af30471db711"> 68</a></span>  };</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ege::resource::Mesh></a> <a class="code" href="classege_1_1_element.html#a6bdf8a4eb8c9e0043df4af30471db711">m_mesh</a>; </div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classege_1_1_element.html#a9d0005ff32e71f4f78a84b9db44ca738">loadMesh</a>(<span class="keyword">const</span> std::string& _meshFileName);</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classege_1_1_element.html#a17750b333551fcd6d27eaf8e6c1f989d">setMesh</a>(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ege::resource::Mesh></a> _mesh);</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#a17714d73b34e2b80661c2857f4eaf5fc"> 90</a></span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ege::resource::Mesh></a> <a class="code" href="classege_1_1_element.html#a17714d73b34e2b80661c2857f4eaf5fc">getMesh</a>() {</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">return</span> <a class="code" href="classege_1_1_element.html#a6bdf8a4eb8c9e0043df4af30471db711">m_mesh</a>;</div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#a830f935e09dc7f950b2d75d378e34cc7"> 92</a></span>  };</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">float</span> <a class="code" href="classege_1_1_element.html#a830f935e09dc7f950b2d75d378e34cc7">m_life</a>; </div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#af436f27b779bdb10389d484313d3bbc0"> 95</a></span>  <span class="keywordtype">float</span> <a class="code" href="classege_1_1_element.html#af436f27b779bdb10389d484313d3bbc0">m_lifeMax</a>; </div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordtype">float</span> <a class="code" href="classege_1_1_element.html#a735360c14d24f44ae80d1eda79b8d9ba">getLifeRatio</a>();</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#a559abf49122b0fc3f6017dbd0833bbaa"> 106</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classege_1_1_element.html#a559abf49122b0fc3f6017dbd0833bbaa">isDead</a>() {</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordflow">return</span> (0 >= m_life)?<span class="keyword">true</span>:<span class="keyword">false</span>;</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  };</div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#a82026099ab84264553cf8e81999fa6ee"> 113</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classege_1_1_element.html#a82026099ab84264553cf8e81999fa6ee">needToRemove</a>() {</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordflow">return</span> <a class="code" href="classege_1_1_element.html#a559abf49122b0fc3f6017dbd0833bbaa">isDead</a>();</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  }</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element.html#a4df60dc1fbda8aed4c35d511b754a8e4">setFireOn</a>(int32_t _groupIdSource, int32_t _type, <span class="keywordtype">float</span> _power, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>& _center=<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>(0,0,0));</div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#a3b02bf058b400eac8684413a84246414"> 127</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element.html#a3b02bf058b400eac8684413a84246414">onLifeChange</a>() { };</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  int32_t <a class="code" href="classege_1_1_element.html#ae13b4ad8b1753e8205d7f167894fc3d7">m_group</a>; </div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#aaa8092a0017bb848ae6079282b4c188c"> 135</a></span>  <span class="keyword">inline</span> int32_t <a class="code" href="classege_1_1_element.html#aaa8092a0017bb848ae6079282b4c188c">getGroup</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordflow">return</span> <a class="code" href="classege_1_1_element.html#ae13b4ad8b1753e8205d7f167894fc3d7">m_group</a>;</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  };</div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#a82c3669cee85b50861d59958efae4d65"> 142</a></span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element.html#a82c3669cee85b50861d59958efae4d65">setGroup</a>(int32_t _newGroup) {</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  m_group=_newGroup;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  };</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#ac4229c88810397ed29a0ea6d712fcec6"> 151</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element.html#ac4229c88810397ed29a0ea6d712fcec6">preCalculationDraw</a>(<span class="keyword">const</span> <a class="code" href="classege_1_1_camera.html">ege::Camera</a>& _camera) { };</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element.html#a27f141940924deffc942ee7da9c81a6d">draw</a>(int32_t _pass=0) = 0;</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  </div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="comment">// TODO : Remove this ...</span></div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element.html#a40f64c38bd7b501f0d26d84ebd31a90f">drawLife</a>(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ewol::resource::Colored3DObject></a> _draw, <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ege::Camera></a> _camera);</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  </div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="comment">// For debug only ...</span></div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  ewol::compositing::Text m_debugText;</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element.html#a2ebbf862116f1adc9e892c8982f0c43d">drawDebug</a>(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ewol::resource::Colored3DObject></a> _draw, <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ege::Camera></a> _camera);</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  </div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#a1cca65e9f2c04f8422d550640bacf79f"> 178</a></span>  <span class="keyword">virtual</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a> <a class="code" href="classege_1_1_element.html#a1cca65e9f2c04f8422d550640bacf79f">getPositionTheoric</a>() {</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordflow">return</span> <a class="code" href="classege_1_1_element.html#aed5ac44770598a731fc249f497828838">getPosition</a>();</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  };</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>& <a class="code" href="classege_1_1_element.html#aed5ac44770598a731fc249f497828838">getPosition</a>();</div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#a52bdd3e2cdec9583d7305222c7c2a566"> 190</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element.html#a52bdd3e2cdec9583d7305222c7c2a566">setPosition</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>& _pos) {};</div><div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#ad67c30a23d11ae67bdc3e4ab4fe1042e"> 195</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element.html#a196cab38ec45d4b67226c37cf1106f9b">elementIsRemoved</a>(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ege::Element></a> _removedElement) { };</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordtype">bool</span> <a class="code" href="classege_1_1_element.html#ad67c30a23d11ae67bdc3e4ab4fe1042e">m_fixe</a>; </div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#a5d4fda8e94150af75ab469ec6a852dfd"> 203</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classege_1_1_element.html#a5d4fda8e94150af75ab469ec6a852dfd">isFixed</a>() {</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keywordflow">return</span> <a class="code" href="classege_1_1_element.html#ad67c30a23d11ae67bdc3e4ab4fe1042e">m_fixe</a>;</div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#a1f285710820c75ad5339d54e27d0471c"> 205</a></span>  };</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keywordtype">float</span> <a class="code" href="classege_1_1_element.html#a1f285710820c75ad5339d54e27d0471c">m_radius</a>; </div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#a44f6fd56f441342775a9d30087ee948e"> 213</a></span>  <span class="keyword">inline</span> <span class="keywordtype">float</span> <a class="code" href="classege_1_1_element.html#a44f6fd56f441342775a9d30087ee948e">getRadius</a>() {</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="keywordflow">return</span> <a class="code" href="classege_1_1_element.html#a1f285710820c75ad5339d54e27d0471c">m_radius</a>;</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  };</div><div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#ae3017f319cc91694c18307585925b9f5"> 219</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element.html#ae3017f319cc91694c18307585925b9f5">onDestroy</a>() {};</div><div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#aabfffdad12c95deeffa0c13f9c6f4630"> 223</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element.html#aabfffdad12c95deeffa0c13f9c6f4630">dynamicEnable</a>() {};</div><div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="classege_1_1_element.html#ad18a09caf8b1ea06296e464d86807432"> 227</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element.html#ad18a09caf8b1ea06296e464d86807432">dynamicDisable</a>() {};</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  };</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span> }</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span> </div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span> </div><div class="ttc" id="classege_1_1_element_html_a82c3669cee85b50861d59958efae4d65"><div class="ttname"><a href="classege_1_1_element.html#a82c3669cee85b50861d59958efae4d65">ege::Element::setGroup</a></div><div class="ttdeci">void setGroup(int32_t _newGroup)</div><div class="ttdoc">set the group of the curent element </div><div class="ttdef"><b>Definition:</b> Element.hpp:142</div></div>
|
|
<div class="ttc" id="resource_2_mesh_8hpp_html"><div class="ttname"><a href="resource_2_mesh_8hpp.html">Mesh.hpp</a></div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_af436f27b779bdb10389d484313d3bbc0"><div class="ttname"><a href="classege_1_1_element.html#af436f27b779bdb10389d484313d3bbc0">ege::Element::m_lifeMax</a></div><div class="ttdeci">float m_lifeMax</div><div class="ttdoc">Maximum possible life of the element. </div><div class="ttdef"><b>Definition:</b> Element.hpp:95</div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a830f935e09dc7f950b2d75d378e34cc7"><div class="ttname"><a href="classege_1_1_element.html#a830f935e09dc7f950b2d75d378e34cc7">ege::Element::m_life</a></div><div class="ttdeci">float m_life</div><div class="ttdoc">Current life of the object. </div><div class="ttdef"><b>Definition:</b> Element.hpp:92</div></div>
|
|
<div class="ttc" id="__vector3__d__8hpp_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/__vector3__d__8hpp.html">Vector3D.hpp</a></div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_aaa8092a0017bb848ae6079282b4c188c"><div class="ttname"><a href="classege_1_1_element.html#aaa8092a0017bb848ae6079282b4c188c">ege::Element::getGroup</a></div><div class="ttdeci">int32_t getGroup() const</div><div class="ttdoc">get the Group of the element. </div><div class="ttdef"><b>Definition:</b> Element.hpp:135</div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a559abf49122b0fc3f6017dbd0833bbaa"><div class="ttname"><a href="classege_1_1_element.html#a559abf49122b0fc3f6017dbd0833bbaa">ege::Element::isDead</a></div><div class="ttdeci">bool isDead()</div><div class="ttdoc">Check if the element is dead. </div><div class="ttdef"><b>Definition:</b> Element.hpp:106</div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_ad18a09caf8b1ea06296e464d86807432"><div class="ttname"><a href="classege_1_1_element.html#ad18a09caf8b1ea06296e464d86807432">ege::Element::dynamicDisable</a></div><div class="ttdeci">virtual void dynamicDisable()</div><div class="ttdoc">remove this element from the physique engine </div><div class="ttdef"><b>Definition:</b> Element.hpp:227</div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_adddca0a376cd6180ec019354271c6e75"><div class="ttname"><a href="classege_1_1_element.html#adddca0a376cd6180ec019354271c6e75">ege::Element::init</a></div><div class="ttdeci">virtual bool init()</div><div class="ttdoc">init the element with the defined properties </div></div>
|
|
<div class="ttc" id="types__8hpp_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/types__8hpp.html">types.hpp</a></div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a2ebbf862116f1adc9e892c8982f0c43d"><div class="ttname"><a href="classege_1_1_element.html#a2ebbf862116f1adc9e892c8982f0c43d">ege::Element::drawDebug</a></div><div class="ttdeci">virtual void drawDebug(ememory::SharedPtr< ewol::resource::Colored3DObject > _draw, ememory::SharedPtr< ege::Camera > _camera)</div><div class="ttdoc">Debug display of the current element. </div></div>
|
|
<div class="ttc" id="namespaceege_html"><div class="ttname"><a href="namespaceege.html">ege</a></div><div class="ttdef"><b>Definition:</b> AudioElement.hpp:8</div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a27f141940924deffc942ee7da9c81a6d"><div class="ttname"><a href="classege_1_1_element.html#a27f141940924deffc942ee7da9c81a6d">ege::Element::draw</a></div><div class="ttdeci">virtual void draw(int32_t _pass=0)=0</div><div class="ttdoc">draw the curent element (can have multiple display) </div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a196cab38ec45d4b67226c37cf1106f9b"><div class="ttname"><a href="classege_1_1_element.html#a196cab38ec45d4b67226c37cf1106f9b">ege::Element::elementIsRemoved</a></div><div class="ttdeci">virtual void elementIsRemoved(ememory::SharedPtr< ege::Element > _removedElement)</div><div class="ttdoc">Event arrive when an element has been remove from the system == > this permit to keep pointer of enne...</div><div class="ttdef"><b>Definition:</b> Element.hpp:195</div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a5d4fda8e94150af75ab469ec6a852dfd"><div class="ttname"><a href="classege_1_1_element.html#a5d4fda8e94150af75ab469ec6a852dfd">ege::Element::isFixed</a></div><div class="ttdeci">bool isFixed()</div><div class="ttdoc">get the element if it is fixed or not. if the element is fixed this is for tower, and all thing does ...</div><div class="ttdef"><b>Definition:</b> Element.hpp:203</div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a0c423f7c9c39e1de6c7ab20b14af6153"><div class="ttname"><a href="classege_1_1_element.html#a0c423f7c9c39e1de6c7ab20b14af6153">ege::Element::Element</a></div><div class="ttdeci">Element(const ememory::SharedPtr< ege::Environement > &_env)</div><div class="ttdoc">Constructor (when constructer is called just add element that did not change. The objest will be stor...</div></div>
|
|
<div class="ttc" id="classege_1_1_camera_html"><div class="ttname"><a href="classege_1_1_camera.html">ege::Camera</a></div><div class="ttdef"><b>Definition:</b> Camera.hpp:18</div></div>
|
|
<div class="ttc" id="__matrix4__8hpp_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/__matrix4__8hpp.html">Matrix4.hpp</a></div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_aabfffdad12c95deeffa0c13f9c6f4630"><div class="ttname"><a href="classege_1_1_element.html#aabfffdad12c95deeffa0c13f9c6f4630">ege::Element::dynamicEnable</a></div><div class="ttdeci">virtual void dynamicEnable()</div><div class="ttdoc">set the elment in the physique engine </div><div class="ttdef"><b>Definition:</b> Element.hpp:223</div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a3b02bf058b400eac8684413a84246414"><div class="ttname"><a href="classege_1_1_element.html#a3b02bf058b400eac8684413a84246414">ege::Element::onLifeChange</a></div><div class="ttdeci">virtual void onLifeChange()</div><div class="ttdoc">Call when the element life change. </div><div class="ttdef"><b>Definition:</b> Element.hpp:127</div></div>
|
|
<div class="ttc" id="classememory_1_1_enable_shared_from_this_html"><div class="ttname"><a href="http://atria-soft.github.io/ememory/classememory_1_1_enable_shared_from_this.html">ememory::EnableSharedFromThis</a></div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a44f6fd56f441342775a9d30087ee948e"><div class="ttname"><a href="classege_1_1_element.html#a44f6fd56f441342775a9d30087ee948e">ege::Element::getRadius</a></div><div class="ttdeci">float getRadius()</div><div class="ttdoc">get the current space needed by the element in the workspace </div><div class="ttdef"><b>Definition:</b> Element.hpp:213</div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_ae13b4ad8b1753e8205d7f167894fc3d7"><div class="ttname"><a href="classege_1_1_element.html#ae13b4ad8b1753e8205d7f167894fc3d7">ege::Element::m_group</a></div><div class="ttdeci">int32_t m_group</div><div class="ttdoc">Every element has a generic group. </div><div class="ttdef"><b>Definition:</b> Element.hpp:127</div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a9d0005ff32e71f4f78a84b9db44ca738"><div class="ttname"><a href="classege_1_1_element.html#a9d0005ff32e71f4f78a84b9db44ca738">ege::Element::loadMesh</a></div><div class="ttdeci">virtual bool loadMesh(const std::string &_meshFileName)</div><div class="ttdoc">Select a mesh with a specific name. </div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a193718e7562eb080df61543d80351660"><div class="ttname"><a href="classege_1_1_element.html#a193718e7562eb080df61543d80351660">ege::Element::getUID</a></div><div class="ttdeci">uint32_t getUID() const</div><div class="ttdoc">get the curent Element Unique ID in the all Game. </div><div class="ttdef"><b>Definition:</b> Element.hpp:66</div></div>
|
|
<div class="ttc" id="_environement_8hpp_html"><div class="ttname"><a href="_environement_8hpp.html">Environement.hpp</a></div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a40f64c38bd7b501f0d26d84ebd31a90f"><div class="ttname"><a href="classege_1_1_element.html#a40f64c38bd7b501f0d26d84ebd31a90f">ege::Element::drawLife</a></div><div class="ttdeci">virtual void drawLife(ememory::SharedPtr< ewol::resource::Colored3DObject > _draw, ememory::SharedPtr< ege::Camera > _camera)</div><div class="ttdoc">draw the current life of the element </div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a82026099ab84264553cf8e81999fa6ee"><div class="ttname"><a href="classege_1_1_element.html#a82026099ab84264553cf8e81999fa6ee">ege::Element::needToRemove</a></div><div class="ttdeci">virtual bool needToRemove()</div><div class="ttdoc">Request if the element might be removed from the system. </div><div class="ttdef"><b>Definition:</b> Element.hpp:113</div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a735360c14d24f44ae80d1eda79b8d9ba"><div class="ttname"><a href="classege_1_1_element.html#a735360c14d24f44ae80d1eda79b8d9ba">ege::Element::getLifeRatio</a></div><div class="ttdeci">float getLifeRatio()</div><div class="ttdoc">get the curent life ratio [0..1] </div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_ae3017f319cc91694c18307585925b9f5"><div class="ttname"><a href="classege_1_1_element.html#ae3017f319cc91694c18307585925b9f5">ege::Element::onDestroy</a></div><div class="ttdeci">virtual void onDestroy()</div><div class="ttdoc">, call when the element is removed (call only one time) </div><div class="ttdef"><b>Definition:</b> Element.hpp:219</div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a52bdd3e2cdec9583d7305222c7c2a566"><div class="ttname"><a href="classege_1_1_element.html#a52bdd3e2cdec9583d7305222c7c2a566">ege::Element::setPosition</a></div><div class="ttdeci">virtual void setPosition(const vec3 &_pos)</div><div class="ttdoc">set the current position of the element </div><div class="ttdef"><b>Definition:</b> Element.hpp:190</div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a7bf7c8407d13ce8e60f7de46d96bbe75"><div class="ttname"><a href="classege_1_1_element.html#a7bf7c8407d13ce8e60f7de46d96bbe75">ege::Element::~Element</a></div><div class="ttdeci">virtual ~Element()</div><div class="ttdoc">Destructor. </div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_aed5ac44770598a731fc249f497828838"><div class="ttname"><a href="classege_1_1_element.html#aed5ac44770598a731fc249f497828838">ege::Element::getPosition</a></div><div class="ttdeci">virtual const vec3 & getPosition()</div><div class="ttdoc">get the current position of the element </div></div>
|
|
<div class="ttc" id="classetk_1_1_vector3_d_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">etk::Vector3D< float ></a></div></div>
|
|
<div class="ttc" id="classememory_1_1_shared_ptr_html"><div class="ttname"><a href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr</a></div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a4df60dc1fbda8aed4c35d511b754a8e4"><div class="ttname"><a href="classege_1_1_element.html#a4df60dc1fbda8aed4c35d511b754a8e4">ege::Element::setFireOn</a></div><div class="ttdeci">virtual void setFireOn(int32_t _groupIdSource, int32_t _type, float _power, const vec3 &_center=vec3(0, 0, 0))</div><div class="ttdoc">apply a fire on the element at a current power and a specific power. </div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_ad67c30a23d11ae67bdc3e4ab4fe1042e"><div class="ttname"><a href="classege_1_1_element.html#ad67c30a23d11ae67bdc3e4ab4fe1042e">ege::Element::m_fixe</a></div><div class="ttdeci">bool m_fixe</div><div class="ttdoc">is a fixed element == > used for placement of every elements </div><div class="ttdef"><b>Definition:</b> Element.hpp:195</div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a1f285710820c75ad5339d54e27d0471c"><div class="ttname"><a href="classege_1_1_element.html#a1f285710820c75ad5339d54e27d0471c">ege::Element::m_radius</a></div><div class="ttdeci">float m_radius</div><div class="ttdoc">Radius of the element (all element have a radius, if == 0 ==> then ghost ... </div><div class="ttdef"><b>Definition:</b> Element.hpp:205</div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_aca63f47407aef7614d219fc053e8bcf0"><div class="ttname"><a href="classege_1_1_element.html#aca63f47407aef7614d219fc053e8bcf0">ege::Element::getType</a></div><div class="ttdeci">virtual const std::string & getType() const</div><div class="ttdoc">get the element Type description string. </div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a6bdf8a4eb8c9e0043df4af30471db711"><div class="ttname"><a href="classege_1_1_element.html#a6bdf8a4eb8c9e0043df4af30471db711">ege::Element::m_mesh</a></div><div class="ttdeci">ememory::SharedPtr< ege::resource::Mesh > m_mesh</div><div class="ttdoc">Mesh of the Element (can be nullptr) </div><div class="ttdef"><b>Definition:</b> Element.hpp:68</div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a17714d73b34e2b80661c2857f4eaf5fc"><div class="ttname"><a href="classege_1_1_element.html#a17714d73b34e2b80661c2857f4eaf5fc">ege::Element::getMesh</a></div><div class="ttdeci">ememory::SharedPtr< ege::resource::Mesh > getMesh()</div><div class="ttdoc">get a pointer on the Mesh file. </div><div class="ttdef"><b>Definition:</b> Element.hpp:90</div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_ac4229c88810397ed29a0ea6d712fcec6"><div class="ttname"><a href="classege_1_1_element.html#ac4229c88810397ed29a0ea6d712fcec6">ege::Element::preCalculationDraw</a></div><div class="ttdeci">virtual void preCalculationDraw(const ege::Camera &_camera)</div><div class="ttdoc">Can be call tu opdate the list of the element displayed on the scren (example : no display of the hid...</div><div class="ttdef"><b>Definition:</b> Element.hpp:151</div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a1cca65e9f2c04f8422d550640bacf79f"><div class="ttname"><a href="classege_1_1_element.html#a1cca65e9f2c04f8422d550640bacf79f">ege::Element::getPositionTheoric</a></div><div class="ttdeci">virtual vec3 getPositionTheoric()</div><div class="ttdoc">get the theoric position. Sometimes, the element has move due to an explosion or something else...</div><div class="ttdef"><b>Definition:</b> Element.hpp:178</div></div>
|
|
<div class="ttc" id="classege_1_1_element_html_a17750b333551fcd6d27eaf8e6c1f989d"><div class="ttname"><a href="classege_1_1_element.html#a17750b333551fcd6d27eaf8e6c1f989d">ege::Element::setMesh</a></div><div class="ttdeci">virtual bool setMesh(ememory::SharedPtr< ege::resource::Mesh > _mesh)</div><div class="ttdoc">set the the Mesh properties. </div></div>
|
|
<div class="ttc" id="classege_1_1_element_html"><div class="ttname"><a href="classege_1_1_element.html">ege::Element</a></div><div class="ttdef"><b>Definition:</b> Element.hpp:28</div></div>
|
|
<div class="ttc" id="_camera_8hpp_html"><div class="ttname"><a href="_camera_8hpp.html">Camera.hpp</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- HTML footer for doxygen 1.8.8-->
|
|
<!-- start footer part -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Mon Oct 24 2016 15:35:54 for Ewol Game engine (based on bullet lib) by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.12
|
|
</small></address>
|
|
</body>
|
|
</html>
|