Changeset 50 in flair-dev for trunk/doc/Flair/_model_8h_source.html
- Timestamp:
- May 31, 2017, 3:54:26 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/Flair/_model_8h_source.html
r47 r50 161 161 <div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">namespace </span><a class="code" href="namespaceflair.html">flair</a> {</div> 162 162 <div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">namespace </span>simulator {</div> 163 <div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="keyword">class </span> Simulator;</div>164 <div class="line"><a name="l00054"></a><span class="lineno"> 54</span> < span class="keyword">class </span>FollowMeCamera;</div>165 <div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </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> <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>  <span class="preprocessor">#ifdef GL</span></div>168 <div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  , <span class="keyword">public</span> irr::IEventReceiver</div>169 <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="preprocessor">#endif</span></div>170 <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  {</div>171 <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keyword">friend</span> class :: Gui_impl;</div>172 <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">friend</span> class :: Simulator_impl;</div>173 <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">friend</span> class ::Model_impl;</div>174 <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <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> < /div>176 <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">public</span>:</div>177 <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  < 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>  <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> </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>  <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>  <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>  <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>  <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>  <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>  } <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> < /div>187 <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="preprocessor">#ifdef GL</span></div>188 <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  irr:: scene::ISceneNode *getSceneNode() <span class="keyword">const</span>;</div>189 <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  irr::core::aabbox3d<irr::f32> *Box() <span class="keyword">const</span>;</div>190 <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  </div>191 <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <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>  <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>  <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>  <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>  <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>  </div>197 <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class=" comment">//default event handling</span></div>198 <div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordtype">bool</span> OnEvent(<span class="keyword">const</span> irr::SEvent &event) { <span class="keywordflow">return</span> <span class="keyword">false</span>;};</div>199 <div class="line"><a name="l000 89"></a><span class="lineno"> 89</span> </div>200 <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div>201 <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <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>  <span class="preprocessor">#endif</span></div>203 <div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  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> <span class="keyword">class </span>FollowMeCamera;</div> 164 <div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </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> <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> <span class="preprocessor">#ifdef GL</span></div> 167 <div class="line"><a name="l00057"></a><span class="lineno"> 57</span> , <span class="keyword">public</span> irr::IEventReceiver</div> 168 <div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="preprocessor">#endif</span></div> 169 <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  {</div> 170 <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keyword">friend</span> class ::Gui_impl;</div> 171 <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keyword">friend</span> class ::Simulator_impl;</div> 172 <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">friend</span> class ::Model_impl;</div> 173 <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <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> </div> 175 <div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="keyword">public</span>:</div> 176 <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <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>  <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> </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>  <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>  <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>  <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>  <a class="code" href="classflair_1_1core_1_1_vector3_d.html">core::Vector3D<double></a> Pos;</div> 183 <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="classflair_1_1core_1_1_vector3_d.html">core::Vector3D<double></a> Vel;</div> 184 <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  } <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> </div> 186 <div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="preprocessor">#ifdef GL</span></div> 187 <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  irr::scene::ISceneNode *getSceneNode() <span class="keyword">const</span>;</div> 188 <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  irr::core::aabbox3d<irr::f32> *Box() <span class="keyword">const</span>;</div> 189 <div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div> 190 <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <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>  <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>  <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>  <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>  <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> </div> 196 <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="comment">//default event handling</span></div> 197 <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordtype">bool</span> OnEvent(<span class="keyword">const</span> irr::SEvent &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> </div> 199 <div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div> 200 <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <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> <span class="preprocessor">#endif</span></div> 202 <div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  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>  <span class="keywordtype">int</span> GetId(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 204 204 <div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div> 205 205 <div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="keyword">protected</span>:</div> 206 206 <div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  DiscreteTimeVariable<simu_state_t, 3> state;</div> 207 <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <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>  <span class="keywordtype">double</span> dT(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 208 208 <div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> CalcModel(<span class="keywordtype">void</span>) = 0;</div> 209 209 <div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="preprocessor">#ifdef GL</span></div> … … 224 224 <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> 225 225 <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< float ></a></div></div> 228 227 <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> 229 228 <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> 230 229 <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:5 6</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> 232 231 <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> 234 233 <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:2 5</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> 236 235 </div><!-- fragment --></div><!-- contents --> 237 236 </div><!-- doc-content --> … … 240 239 <ul> 241 240 <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:30for Flair by241 <li class="footer">Generated on Wed May 31 2017 13:50:37 for Flair by 243 242 <a href="http://www.doxygen.org/index.html"> 244 243 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
Note:
See TracChangeset
for help on using the changeset viewer.