Changeset 34 in flair-dev for trunk/doc/Flair/_gui_8h_source.html
- Timestamp:
- Sep 28, 2016, 8:40:33 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/Flair/_gui_8h_source.html
r33 r34 162 162 <div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classflair_1_1simulator_1_1_gui.html"> 52</a></span> <span class="keyword">class </span><a class="code" href="classflair_1_1simulator_1_1_gui.html">Gui</a> : <span class="keyword">public</span> <a class="code" href="classflair_1_1core_1_1_object.html">core::Object</a> {</div> 163 163 <div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">friend</span> class ::Simulator_impl;</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"> 55</span> <span class="keyword">public</span>:</div> 166 <div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="code" href="classflair_1_1simulator_1_1_gui.html">Gui</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1simulator_1_1_simulator.html">Simulator</a> *parent, std::string name, <span class="keywordtype">int</span> app_width, <span class="keywordtype">int</span> app_height,</div> 167 <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">int</span> scene_width, <span class="keywordtype">int</span> scene_height, std::string media_path,</div> 168 <div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  irr::video::E_DRIVER_TYPE driver_type = irr::video::EDT_OPENGL);</div> 169 <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  ~<a class="code" href="classflair_1_1simulator_1_1_gui.html">Gui</a>();</div> 170 <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  irr::core::vector3df getRotation(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 171 <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  irr::video::ITexture *getTexture(std::string filename) <span class="keyword">const</span>;</div> 172 <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  irr::scene::IAnimatedMesh *getMesh(std::string filename) <span class="keyword">const</span>;</div> 173 <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  irr::scene::ISceneManager *getSceneManager(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 174 <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordtype">float</span> getAspectRatio(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</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">protected</span>:</div> 177 <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  irr::IrrlichtDevice *getDevice(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 178 <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordtype">void</span> setMesh(std::string file,</div> 179 <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  irr::core::vector3df position = irr::core::vector3df(0, 0, 0),</div> 180 <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  irr::core::vector3df rotation = irr::core::vector3df(0, 0, 0),</div> 181 <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  irr::core::vector3df scale = irr::core::vector3df(1, 1, 1));</div> 182 <div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div> 183 <div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="keyword">private</span>:</div> 184 <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  Gui_impl *pimpl_;</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> </div> 187 <div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <a class="code" href="classflair_1_1simulator_1_1_gui.html">Gui</a> *<a class="code" href="namespaceflair_1_1simulator.html#ae9e80df7cec26d47485e223706ad9ba0">getGui</a>(<span class="keywordtype">void</span>);</div> 188 <div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div> 189 <div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="keywordtype">bool</span> noGui(<span class="keywordtype">void</span>);</div> 190 <div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div> 191 <div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="keywordtype">bool</span> isGlExtensionSupported(</div> 192 <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keyword">const</span> std::string &ext); <span class="comment">// check if a extension is supported</span></div> 193 <div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div> 194 <div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="keywordtype">float</span> <a class="code" href="namespaceflair_1_1simulator.html#a1b5518c4b0b9860b7fe83b9517941b67">ToIrrlichtScale</a>(<span class="keywordtype">float</span> value);</div> 195 <div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div> 196 <div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="keywordtype">float</span> <a class="code" href="namespaceflair_1_1simulator.html#a6df2a9fa0f507ed531a2101341afaabb">ToSimulatorScale</a>(<span class="keywordtype">float</span> value);</div> 197 <div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div> 198 <div class="line"><a name="l00116"></a><span class="lineno"> 116</span> irr::core::vector3df <a class="code" href="namespaceflair_1_1simulator.html#a9600e49e9243bb6eff5f12fc87589070">ToIrrlichtCoordinates</a>(irr::core::vector3df vect);</div> 199 <div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div> 200 <div class="line"><a name="l00127"></a><span class="lineno"> 127</span> irr::core::vector3df <a class="code" href="namespaceflair_1_1simulator.html#a9600e49e9243bb6eff5f12fc87589070">ToIrrlichtCoordinates</a>(<a class="code" href="classflair_1_1core_1_1_vector3_d.html">core::Vector3D</a> vect);</div> 201 <div class="line"><a name="l00128"></a><span class="lineno"> 128</span> </div> 202 <div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">core::Vector3D</a> <a class="code" href="namespaceflair_1_1simulator.html#a6398ff83d7de20a1a0e598a95072acab">ToSimulatorCoordinates</a>(irr::core::vector3df vect);</div> 203 <div class="line"><a name="l00139"></a><span class="lineno"> 139</span> </div> 204 <div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html">core::Quaternion</a> <a class="code" href="namespaceflair_1_1simulator.html#afaa0173b3c906e2841e92a151e5219e3">ToIrrlichtOrientation</a>(<a class="code" href="classflair_1_1core_1_1_quaternion.html">core::Quaternion</a> quat);</div> 205 <div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div> 206 <div class="line"><a name="l00151"></a><span class="lineno"> 151</span> } <span class="comment">// end namespace simulator</span></div> 207 <div class="line"><a name="l00152"></a><span class="lineno"> 152</span> } <span class="comment">// end namespace flair</span></div> 208 <div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="preprocessor">#endif // GUI_H</span></div> 164 <div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classflair_1_1simulator_1_1_visualization_camera.html">VisualizationCamera</a>;</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"> 56</span> <span class="keyword">public</span>:</div> 167 <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <a class="code" href="classflair_1_1simulator_1_1_gui.html">Gui</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1simulator_1_1_simulator.html">Simulator</a> *parent, std::string name, <span class="keywordtype">int</span> app_width, <span class="keywordtype">int</span> app_height,</div> 168 <div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordtype">int</span> scene_width, <span class="keywordtype">int</span> scene_height, std::string media_path,</div> 169 <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  irr::video::E_DRIVER_TYPE driver_type = irr::video::EDT_OPENGL);</div> 170 <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  ~<a class="code" href="classflair_1_1simulator_1_1_gui.html">Gui</a>();</div> 171 <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  irr::core::vector3df getRotation(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 172 <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  irr::video::ITexture *getTexture(std::string filename) <span class="keyword">const</span>;</div> 173 <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  irr::scene::IAnimatedMesh *getMesh(std::string filename) <span class="keyword">const</span>;</div> 174 <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  irr::scene::ISceneManager *getSceneManager(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 175 <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  irr::IrrlichtDevice *getDevice(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 176 <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordtype">float</span> getAspectRatio(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 177 <div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div> 178 <div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="keyword">protected</span>:</div> 179 <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordtype">void</span> setMesh(std::string file,</div> 180 <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  irr::core::vector3df position = irr::core::vector3df(0, 0, 0),</div> 181 <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  irr::core::vector3df rotation = irr::core::vector3df(0, 0, 0),</div> 182 <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  irr::core::vector3df scale = irr::core::vector3df(1, 1, 1));</div> 183 <div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div> 184 <div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="keyword">private</span>:</div> 185 <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  Gui_impl *pimpl_;</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> </div> 188 <div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <a class="code" href="classflair_1_1simulator_1_1_gui.html">Gui</a> *<a class="code" href="namespaceflair_1_1simulator.html#ae9e80df7cec26d47485e223706ad9ba0">getGui</a>(<span class="keywordtype">void</span>);</div> 189 <div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div> 190 <div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="keywordtype">bool</span> noGui(<span class="keywordtype">void</span>);</div> 191 <div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div> 192 <div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="keywordtype">bool</span> isGlExtensionSupported(</div> 193 <div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keyword">const</span> std::string &ext); <span class="comment">// check if a extension is supported</span></div> 194 <div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div> 195 <div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="keywordtype">float</span> <a class="code" href="namespaceflair_1_1simulator.html#a1b5518c4b0b9860b7fe83b9517941b67">ToIrrlichtScale</a>(<span class="keywordtype">float</span> value);</div> 196 <div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div> 197 <div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="keywordtype">float</span> <a class="code" href="namespaceflair_1_1simulator.html#a6df2a9fa0f507ed531a2101341afaabb">ToSimulatorScale</a>(<span class="keywordtype">float</span> value);</div> 198 <div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div> 199 <div class="line"><a name="l00117"></a><span class="lineno"> 117</span> irr::core::vector3df <a class="code" href="namespaceflair_1_1simulator.html#a9600e49e9243bb6eff5f12fc87589070">ToIrrlichtCoordinates</a>(irr::core::vector3df vect);</div> 200 <div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div> 201 <div class="line"><a name="l00128"></a><span class="lineno"> 128</span> irr::core::vector3df <a class="code" href="namespaceflair_1_1simulator.html#a9600e49e9243bb6eff5f12fc87589070">ToIrrlichtCoordinates</a>(<a class="code" href="classflair_1_1core_1_1_vector3_d.html">core::Vector3D</a> vect);</div> 202 <div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div> 203 <div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">core::Vector3D</a> <a class="code" href="namespaceflair_1_1simulator.html#a6398ff83d7de20a1a0e598a95072acab">ToSimulatorCoordinates</a>(irr::core::vector3df vect);</div> 204 <div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div> 205 <div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html">core::Quaternion</a> <a class="code" href="namespaceflair_1_1simulator.html#afaa0173b3c906e2841e92a151e5219e3">ToIrrlichtOrientation</a>(<a class="code" href="classflair_1_1core_1_1_quaternion.html">core::Quaternion</a> quat);</div> 206 <div class="line"><a name="l00151"></a><span class="lineno"> 151</span> </div> 207 <div class="line"><a name="l00152"></a><span class="lineno"> 152</span> } <span class="comment">// end namespace simulator</span></div> 208 <div class="line"><a name="l00153"></a><span class="lineno"> 153</span> } <span class="comment">// end namespace flair</span></div> 209 <div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="preprocessor">#endif // GUI_H</span></div> 209 210 <div class="ttc" id="namespaceflair_1_1simulator_html_afaa0173b3c906e2841e92a151e5219e3"><div class="ttname"><a href="namespaceflair_1_1simulator.html#afaa0173b3c906e2841e92a151e5219e3">flair::simulator::ToIrrlichtOrientation</a></div><div class="ttdeci">core::Quaternion ToIrrlichtOrientation(core::Quaternion quat)</div><div class="ttdoc">Convert to irrlicht orientation. </div></div> 210 211 <div class="ttc" id="classflair_1_1core_1_1_object_html"><div class="ttname"><a href="classflair_1_1core_1_1_object.html">flair::core::Object</a></div><div class="ttdoc">Base class for all Framework's classes. </div><div class="ttdef"><b>Definition:</b> Object.h:77</div></div> … … 212 213 <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> 213 214 <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> 215 <div class="ttc" id="classflair_1_1simulator_1_1_visualization_camera_html"><div class="ttname"><a href="classflair_1_1simulator_1_1_visualization_camera.html">flair::simulator::VisualizationCamera</a></div><div class="ttdef"><b>Definition:</b> VisualizationCamera.h:34</div></div> 214 216 <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> 215 217 <div class="ttc" id="classflair_1_1simulator_1_1_gui_html"><div class="ttname"><a href="classflair_1_1simulator_1_1_gui.html">flair::simulator::Gui</a></div><div class="ttdef"><b>Definition:</b> Gui.h:52</div></div> … … 227 229 <ul> 228 230 <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>Gui.h</b></li> 229 <li class="footer">Generated on Mon Aug 29 2016 15:26:01for Flair by231 <li class="footer">Generated on Wed Sep 28 2016 06:30:09 for Flair by 230 232 <a href="http://www.doxygen.org/index.html"> 231 233 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
Note:
See TracChangeset
for help on using the changeset viewer.