Changeset 50 in flair-dev for trunk/doc/Flair/_model_8h_source.html


Ignore:
Timestamp:
May 31, 2017, 3:54:26 PM (8 years ago)
Author:
Sanahuja Guillaume
Message:

doc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/Flair/_model_8h_source.html

    r47 r50  
    161161<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceflair.html">flair</a> {</div>
    162162<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="keyword">namespace </span>simulator {</div>
    163 <div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="keyword">class </span>Simulator;</div>
    164 <div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="keyword">class </span>FollowMeCamera;</div>
    165 <div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div>
    166 <div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classflair_1_1simulator_1_1_model.html">   56</a></span>&#160;<span class="keyword">class </span><a class="code" href="classflair_1_1simulator_1_1_model.html">Model</a> : <span class="keyword">public</span> <a class="code" href="classflair_1_1core_1_1_i_o_device.html">core::IODevice</a></div>
    167 <div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="preprocessor">#ifdef GL</span></div>
    168 <div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;, <span class="keyword">public</span> irr::IEventReceiver</div>
    169 <div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">#endif</span></div>
    170 <div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160; {</div>
    171 <div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;  <span class="keyword">friend</span> class ::Gui_impl;</div>
    172 <div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;  <span class="keyword">friend</span> class ::Simulator_impl;</div>
    173 <div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;  <span class="keyword">friend</span> class ::Model_impl;</div>
    174 <div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classflair_1_1sensor_1_1_sensor_g_l.html">sensor::SensorGL</a>;</div>
    175 <div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div>
    176 <div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="keyword">public</span>:</div>
    177 <div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;  <a class="code" href="classflair_1_1simulator_1_1_model.html">Model</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1simulator_1_1_simulator.html">Simulator</a> *parent, std::string name);</div>
    178 <div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;  <span class="keyword">virtual</span> ~<a class="code" href="classflair_1_1simulator_1_1_model.html">Model</a>();</div>
    179 <div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div>
    180 <div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="structflair_1_1simulator_1_1_model_1_1simu__state.html">   70</a></span>&#160;  <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structflair_1_1simulator_1_1_model_1_1simu__state.html">simu_state</a> {</div>
    181 <div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <a class="code" href="classflair_1_1core_1_1_quaternion.html">core::Quaternion</a> Quat;</div>
    182 <div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <a class="code" href="classflair_1_1core_1_1_vector3_d.html">core::Vector3D</a> W;</div>
    183 <div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <a class="code" href="classflair_1_1core_1_1_vector3_d.html">core::Vector3D</a> Pos;</div>
    184 <div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <a class="code" href="classflair_1_1core_1_1_vector3_d.html">core::Vector3D</a> Vel;</div>
    185 <div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;  } <a class="code" href="structflair_1_1simulator_1_1_model_1_1simu__state.html">simu_state_t</a>;</div>
    186 <div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div>
    187 <div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="preprocessor">#ifdef GL</span></div>
    188 <div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;  irr::scene::ISceneNode *getSceneNode() <span class="keyword">const</span>;</div>
    189 <div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;  irr::core::aabbox3d&lt;irr::f32&gt; *Box() <span class="keyword">const</span>;</div>
    190 <div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div>
    191 <div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> dbtSize(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0;</div>
    192 <div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> Draw(<span class="keywordtype">void</span>){};</div>
    193 <div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> ExtraDraw(<span class="keywordtype">void</span>){};</div>
    194 <div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> WritedbtBuf(<span class="keywordtype">char</span> *dbtbuf) = 0;</div>
    195 <div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> ReaddbtBuf(<span class="keywordtype">char</span> *dbtbuf) = 0;</div>
    196 <div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div>
    197 <div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;  <span class="comment">//default event handling</span></div>
    198 <div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;  <span class="keywordtype">bool</span> OnEvent(<span class="keyword">const</span> irr::SEvent &amp;event) { <span class="keywordflow">return</span> <span class="keyword">false</span>;};</div>
    199 <div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div>
    200 <div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div>
    201 <div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;  <span class="keywordtype">void</span> setCameraFarValue(<span class="keywordtype">float</span> zf);</div>
    202 <div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="preprocessor">#endif</span></div>
    203 <div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;  gui::TabWidget *GetTabWidget(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
     163<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="keyword">class </span>FollowMeCamera;</div>
     164<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div>
     165<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classflair_1_1simulator_1_1_model.html">   55</a></span>&#160;<span class="keyword">class </span><a class="code" href="classflair_1_1simulator_1_1_model.html">Model</a> : <span class="keyword">public</span> <a class="code" href="classflair_1_1core_1_1_i_o_device.html">core::IODevice</a></div>
     166<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="preprocessor">#ifdef GL</span></div>
     167<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;, <span class="keyword">public</span> irr::IEventReceiver</div>
     168<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="preprocessor">#endif</span></div>
     169<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160; {</div>
     170<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;  <span class="keyword">friend</span> class ::Gui_impl;</div>
     171<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;  <span class="keyword">friend</span> class ::Simulator_impl;</div>
     172<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;  <span class="keyword">friend</span> class ::Model_impl;</div>
     173<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classflair_1_1sensor_1_1_sensor_g_l.html">sensor::SensorGL</a>;</div>
     174<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div>
     175<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="keyword">public</span>:</div>
     176<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;  <a class="code" href="classflair_1_1simulator_1_1_model.html">Model</a>(std::string name,uint32_t modelId);</div>
     177<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;  <span class="keyword">virtual</span> ~<a class="code" href="classflair_1_1simulator_1_1_model.html">Model</a>();</div>
     178<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div>
     179<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="structflair_1_1simulator_1_1_model_1_1simu__state.html">   69</a></span>&#160;  <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structflair_1_1simulator_1_1_model_1_1simu__state.html">simu_state</a> {</div>
     180<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <a class="code" href="classflair_1_1core_1_1_quaternion.html">core::Quaternion</a> Quat;</div>
     181<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <a class="code" href="classflair_1_1core_1_1_vector3_d.html">core::Vector3Df</a> W;</div>
     182<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <a class="code" href="classflair_1_1core_1_1_vector3_d.html">core::Vector3D&lt;double&gt;</a> Pos;</div>
     183<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <a class="code" href="classflair_1_1core_1_1_vector3_d.html">core::Vector3D&lt;double&gt;</a> Vel;</div>
     184<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  } <a class="code" href="structflair_1_1simulator_1_1_model_1_1simu__state.html">simu_state_t</a>;</div>
     185<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
     186<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="preprocessor">#ifdef GL</span></div>
     187<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;  irr::scene::ISceneNode *getSceneNode() <span class="keyword">const</span>;</div>
     188<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;  irr::core::aabbox3d&lt;irr::f32&gt; *Box() <span class="keyword">const</span>;</div>
     189<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div>
     190<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> dbtSize(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0;</div>
     191<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> Draw(<span class="keywordtype">void</span>){};</div>
     192<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> ExtraDraw(<span class="keywordtype">void</span>){};</div>
     193<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> WritedbtBuf(<span class="keywordtype">char</span> *dbtbuf) = 0;</div>
     194<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> ReaddbtBuf(<span class="keywordtype">char</span> *dbtbuf) = 0;</div>
     195<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div>
     196<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  <span class="comment">//default event handling</span></div>
     197<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;  <span class="keywordtype">bool</span> OnEvent(<span class="keyword">const</span> irr::SEvent &amp;event) { <span class="keywordflow">return</span> <span class="keyword">false</span>;};</div>
     198<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div>
     199<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div>
     200<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;  <span class="keywordtype">void</span> setCameraFarValue(<span class="keywordtype">float</span> zf);</div>
     201<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="preprocessor">#endif</span></div>
     202<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;  gui::TabWidget *GetTabWidget(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
     203<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;  <span class="keywordtype">int</span> GetId(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
    204204<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div>
    205205<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="keyword">protected</span>:</div>
    206206<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;  DiscreteTimeVariable&lt;simu_state_t, 3&gt; state;</div>
    207 <div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;  <span class="keywordtype">float</span> dT(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
     207<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;  <span class="keywordtype">double</span> dT(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
    208208<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> CalcModel(<span class="keywordtype">void</span>) = 0;</div>
    209209<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="preprocessor">#ifdef GL</span></div>
     
    224224<div class="ttc" id="classflair_1_1core_1_1_i_o_device_html"><div class="ttname"><a href="classflair_1_1core_1_1_i_o_device.html">flair::core::IODevice</a></div><div class="ttdoc">Abstract class for input/ouput system. </div><div class="ttdef"><b>Definition:</b> IODevice.h:45</div></div>
    225225<div class="ttc" id="namespaceflair_html"><div class="ttname"><a href="namespaceflair.html">flair</a></div><div class="ttdoc">namespace of the flair Framework </div><div class="ttdef"><b>Definition:</b> Ahrs.h:19</div></div>
    226 <div class="ttc" id="classflair_1_1core_1_1_vector3_d_html"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a></div><div class="ttdoc">Class defining a 3D vector. </div><div class="ttdef"><b>Definition:</b> Vector3D.h:28</div></div>
    227 <div class="ttc" id="classflair_1_1simulator_1_1_simulator_html"><div class="ttname"><a href="classflair_1_1simulator_1_1_simulator.html">flair::simulator::Simulator</a></div><div class="ttdef"><b>Definition:</b> Simulator.h:37</div></div>
     226<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D&lt; float &gt;</a></div></div>
    228227<div class="ttc" id="_vector3_d_8h_html"><div class="ttname"><a href="_vector3_d_8h.html">Vector3D.h</a></div><div class="ttdoc">Class defining a 3D vector. </div></div>
    229228<div class="ttc" id="namespaceirr_html"><div class="ttname"><a href="namespaceirr.html">irr</a></div><div class="ttdef"><b>Definition:</b> Blade.h:22</div></div>
    230229<div class="ttc" id="_i_o_device_8h_html"><div class="ttname"><a href="_i_o_device_8h.html">IODevice.h</a></div><div class="ttdoc">Abstract class for input/ouput system. </div></div>
    231 <div class="ttc" id="classflair_1_1simulator_1_1_model_html"><div class="ttname"><a href="classflair_1_1simulator_1_1_model.html">flair::simulator::Model</a></div><div class="ttdef"><b>Definition:</b> Model.h:56</div></div>
     230<div class="ttc" id="classflair_1_1simulator_1_1_model_html"><div class="ttname"><a href="classflair_1_1simulator_1_1_model.html">flair::simulator::Model</a></div><div class="ttdef"><b>Definition:</b> Model.h:55</div></div>
    232231<div class="ttc" id="_quaternion_8h_html"><div class="ttname"><a href="_quaternion_8h.html">Quaternion.h</a></div><div class="ttdoc">Class defining a quaternion. </div></div>
    233 <div class="ttc" id="structflair_1_1simulator_1_1_model_1_1simu__state_html"><div class="ttname"><a href="structflair_1_1simulator_1_1_model_1_1simu__state.html">flair::simulator::Model::simu_state</a></div><div class="ttdef"><b>Definition:</b> Model.h:70</div></div>
     232<div class="ttc" id="structflair_1_1simulator_1_1_model_1_1simu__state_html"><div class="ttname"><a href="structflair_1_1simulator_1_1_model_1_1simu__state.html">flair::simulator::Model::simu_state</a></div><div class="ttdef"><b>Definition:</b> Model.h:69</div></div>
    234233<div class="ttc" id="classflair_1_1sensor_1_1_sensor_g_l_html"><div class="ttname"><a href="classflair_1_1sensor_1_1_sensor_g_l.html">flair::sensor::SensorGL</a></div><div class="ttdef"><b>Definition:</b> SensorGL.h:35</div></div>
    235 <div class="ttc" id="classflair_1_1core_1_1_quaternion_html"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html">flair::core::Quaternion</a></div><div class="ttdoc">Class defining a quaternion. </div><div class="ttdef"><b>Definition:</b> Quaternion.h:25</div></div>
     234<div class="ttc" id="classflair_1_1core_1_1_quaternion_html"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html">flair::core::Quaternion</a></div><div class="ttdoc">Class defining a quaternion. </div><div class="ttdef"><b>Definition:</b> Quaternion.h:26</div></div>
    236235</div><!-- fragment --></div><!-- contents -->
    237236</div><!-- doc-content -->
     
    240239  <ul>
    241240    <li class="navelem"><a class="el" href="dir_33c2ee9b1665499374b4225c427cf176.html">igep</a></li><li class="navelem"><a class="el" href="dir_f1fe274389177bd7e17de7949c4ffada.html">flair-src</a></li><li class="navelem"><a class="el" href="dir_3ef62148cf94871b4b6ee5d6e3a989c1.html">lib</a></li><li class="navelem"><a class="el" href="dir_6c18a444e32a4cd48a96c3b539dd8d1b.html">FlairSimulator</a></li><li class="navelem"><a class="el" href="dir_601030f00f475cf118bb493a6f5bdaf5.html">src</a></li><li class="navelem"><b>Model.h</b></li>
    242     <li class="footer">Generated on Tue Jan 17 2017 09:52:30 for Flair by
     241    <li class="footer">Generated on Wed May 31 2017 13:50:37 for Flair by
    243242    <a href="http://www.doxygen.org/index.html">
    244243    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
Note: See TracChangeset for help on using the changeset viewer.