Geen omschrijving

tessellation_8h_source.html 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.9.1"/>
  7. <title>My Project: Fichero Fuente tessellation.h</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/searchdata.js"></script>
  13. <script type="text/javascript" src="search/search.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function() { init_search(); });
  16. </script>
  17. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  21. <div id="titlearea">
  22. <table cellspacing="0" cellpadding="0">
  23. <tbody>
  24. <tr style="height: 56px;">
  25. <td style="padding-left: 0.5em;">
  26. <div id="projectname">My Project
  27. </div>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generado por Doxygen 1.8.9.1 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Página&#160;principal</span></a></li>
  41. <li><a href="annotated.html"><span>Clases</span></a></li>
  42. <li class="current"><a href="files.html"><span>Archivos</span></a></li>
  43. <li>
  44. <div id="MSearchBox" class="MSearchBoxInactive">
  45. <span class="left">
  46. <img id="MSearchSelect" src="search/mag_sel.png"
  47. onmouseover="return searchBox.OnSearchSelectShow()"
  48. onmouseout="return searchBox.OnSearchSelectHide()"
  49. alt=""/>
  50. <input type="text" id="MSearchField" value="Buscar" accesskey="S"
  51. onfocus="searchBox.OnSearchFieldFocus(true)"
  52. onblur="searchBox.OnSearchFieldFocus(false)"
  53. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  54. </span><span class="right">
  55. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  56. </span>
  57. </div>
  58. </li>
  59. </ul>
  60. </div>
  61. <div id="navrow2" class="tabs2">
  62. <ul class="tablist">
  63. <li><a href="files.html"><span>Lista&#160;de&#160;archivos</span></a></li>
  64. </ul>
  65. </div>
  66. </div><!-- top -->
  67. <!-- window showing the filter options -->
  68. <div id="MSearchSelectWindow"
  69. onmouseover="return searchBox.OnSearchSelectShow()"
  70. onmouseout="return searchBox.OnSearchSelectHide()"
  71. onkeydown="return searchBox.OnSearchSelectKey(event)">
  72. </div>
  73. <!-- iframe showing the search results (closed by default) -->
  74. <div id="MSearchResultsWindow">
  75. <iframe src="javascript:void(0)" frameborder="0"
  76. name="MSearchResults" id="MSearchResults">
  77. </iframe>
  78. </div>
  79. <div class="header">
  80. <div class="headertitle">
  81. <div class="title">tessellation.h</div> </div>
  82. </div><!--header-->
  83. <div class="contents">
  84. <div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef TESSELATION_H</span></div>
  85. <div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define TESSELATION_H</span></div>
  86. <div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;</div>
  87. <div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &lt;QWidget&gt;</span></div>
  88. <div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &lt;QPainter&gt;</span></div>
  89. <div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;</div>
  90. <div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="class_tessellation.html"> 11</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_tessellation.html">Tessellation</a> : <span class="keyword">public</span> QWidget</div>
  91. <div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;{</div>
  92. <div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; Q_OBJECT</div>
  93. <div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">public</span>:</div>
  94. <div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
  95. <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <span class="keyword">explicit</span> <a class="code" href="class_tessellation.html#a3d77f5ad7aa19936ab47b43b7251526f">Tessellation</a>(QWidget *parent = 0);</div>
  96. <div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div>
  97. <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_tessellation.html#a7d911890db50eb39146c1ec2d771a7dd">getRotation</a>();</div>
  98. <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div>
  99. <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_tessellation.html#a9280b338ed41af0ec33e81391e76f82a">getWidth</a>();</div>
  100. <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div>
  101. <div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_tessellation.html#a5fbfd2325a4ba0b7d4e66ce98e474c56">getHeight</a>();</div>
  102. <div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div>
  103. <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_tessellation.html#a4ee5bac93c53b25ff1d4ec8a43fdad64">setRotation</a>(<span class="keywordtype">int</span> r);</div>
  104. <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div>
  105. <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_tessellation.html#aa035a163e76a1616c58d20938b2853aa">setWidth</a>(<span class="keywordtype">int</span> w);</div>
  106. <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;</div>
  107. <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_tessellation.html#a57273ef613b239b6e16ea97085d2f4df">setHeight</a>(<span class="keywordtype">int</span> h);</div>
  108. <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;</div>
  109. <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;signals:</div>
  110. <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;</div>
  111. <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="keyword">public</span> slots:</div>
  112. <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;</div>
  113. <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;<span class="keyword">protected</span>:</div>
  114. <div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_tessellation.html#aed2d64951d5d8b7e4fefde70c072b7c1">paintEvent</a>(QPaintEvent *);</div>
  115. <div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="keyword">private</span>:</div>
  116. <div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="class_tessellation.html#ac09f5100d6f72ad8c4d4ff52268434ca"> 95</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_tessellation.html#ac09f5100d6f72ad8c4d4ff52268434ca">rotation</a>; </div>
  117. <div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="class_tessellation.html#a943c56fd0f2e174add80b3bbeb11e74b"> 96</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_tessellation.html#a943c56fd0f2e174add80b3bbeb11e74b">width</a>, </div>
  118. <div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <a class="code" href="class_tessellation.html#a94b9f62e66d1b4e967483a7aea75b830">height</a>; </div>
  119. <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;};</div>
  120. <div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div>
  121. <div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<span class="preprocessor">#endif // TESSELATION_H</span></div>
  122. <div class="ttc" id="class_tessellation_html_aa035a163e76a1616c58d20938b2853aa"><div class="ttname"><a href="class_tessellation.html#aa035a163e76a1616c58d20938b2853aa">Tessellation::setWidth</a></div><div class="ttdeci">void setWidth(int w)</div><div class="ttdoc">Ajusta el ancho del mosaico. </div><div class="ttdef"><b>Definition:</b> tessellation.cpp:66</div></div>
  123. <div class="ttc" id="class_tessellation_html_a4ee5bac93c53b25ff1d4ec8a43fdad64"><div class="ttname"><a href="class_tessellation.html#a4ee5bac93c53b25ff1d4ec8a43fdad64">Tessellation::setRotation</a></div><div class="ttdeci">void setRotation(int r)</div><div class="ttdoc">Ajusta la rotacion del mosaico. </div><div class="ttdef"><b>Definition:</b> tessellation.cpp:57</div></div>
  124. <div class="ttc" id="class_tessellation_html_a94b9f62e66d1b4e967483a7aea75b830"><div class="ttname"><a href="class_tessellation.html#a94b9f62e66d1b4e967483a7aea75b830">Tessellation::height</a></div><div class="ttdeci">int height</div><div class="ttdef"><b>Definition:</b> tessellation.h:96</div></div>
  125. <div class="ttc" id="class_tessellation_html_aed2d64951d5d8b7e4fefde70c072b7c1"><div class="ttname"><a href="class_tessellation.html#aed2d64951d5d8b7e4fefde70c072b7c1">Tessellation::paintEvent</a></div><div class="ttdeci">void paintEvent(QPaintEvent *)</div><div class="ttdoc">Pinta un mosaico en la pantalla cada ves que ocurre un evento de pintar. </div><div class="ttdef"><b>Definition:</b> tessellation.cpp:86</div></div>
  126. <div class="ttc" id="class_tessellation_html"><div class="ttname"><a href="class_tessellation.html">Tessellation</a></div><div class="ttdef"><b>Definition:</b> tessellation.h:11</div></div>
  127. <div class="ttc" id="class_tessellation_html_ac09f5100d6f72ad8c4d4ff52268434ca"><div class="ttname"><a href="class_tessellation.html#ac09f5100d6f72ad8c4d4ff52268434ca">Tessellation::rotation</a></div><div class="ttdeci">int rotation</div><div class="ttdef"><b>Definition:</b> tessellation.h:95</div></div>
  128. <div class="ttc" id="class_tessellation_html_a57273ef613b239b6e16ea97085d2f4df"><div class="ttname"><a href="class_tessellation.html#a57273ef613b239b6e16ea97085d2f4df">Tessellation::setHeight</a></div><div class="ttdeci">void setHeight(int h)</div><div class="ttdoc">Ajusta la altura del mosaico. </div><div class="ttdef"><b>Definition:</b> tessellation.cpp:76</div></div>
  129. <div class="ttc" id="class_tessellation_html_a943c56fd0f2e174add80b3bbeb11e74b"><div class="ttname"><a href="class_tessellation.html#a943c56fd0f2e174add80b3bbeb11e74b">Tessellation::width</a></div><div class="ttdeci">int width</div><div class="ttdef"><b>Definition:</b> tessellation.h:96</div></div>
  130. <div class="ttc" id="class_tessellation_html_a5fbfd2325a4ba0b7d4e66ce98e474c56"><div class="ttname"><a href="class_tessellation.html#a5fbfd2325a4ba0b7d4e66ce98e474c56">Tessellation::getHeight</a></div><div class="ttdeci">int getHeight()</div><div class="ttdoc">Devuelve la altura del mosaico. </div><div class="ttdef"><b>Definition:</b> tessellation.cpp:47</div></div>
  131. <div class="ttc" id="class_tessellation_html_a3d77f5ad7aa19936ab47b43b7251526f"><div class="ttname"><a href="class_tessellation.html#a3d77f5ad7aa19936ab47b43b7251526f">Tessellation::Tessellation</a></div><div class="ttdeci">Tessellation(QWidget *parent=0)</div><div class="ttdoc">Constructor. Crea un mosaico como este: </div><div class="ttdef"><b>Definition:</b> tessellation.cpp:12</div></div>
  132. <div class="ttc" id="class_tessellation_html_a9280b338ed41af0ec33e81391e76f82a"><div class="ttname"><a href="class_tessellation.html#a9280b338ed41af0ec33e81391e76f82a">Tessellation::getWidth</a></div><div class="ttdeci">int getWidth()</div><div class="ttdoc">Devuelve el ancho del mosaico. </div><div class="ttdef"><b>Definition:</b> tessellation.cpp:38</div></div>
  133. <div class="ttc" id="class_tessellation_html_a7d911890db50eb39146c1ec2d771a7dd"><div class="ttname"><a href="class_tessellation.html#a7d911890db50eb39146c1ec2d771a7dd">Tessellation::getRotation</a></div><div class="ttdeci">int getRotation()</div><div class="ttdoc">Devuelve la rotacion. </div><div class="ttdef"><b>Definition:</b> tessellation.cpp:29</div></div>
  134. </div><!-- fragment --></div><!-- contents -->
  135. <!-- start footer part -->
  136. <hr class="footer"/><address class="footer"><small>
  137. Generado el Miércoles, 10 de Junio de 2015 09:57:56 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
  138. <img class="footer" src="doxygen.png" alt="doxygen"/>
  139. </a> 1.8.9.1
  140. </small></address>
  141. </body>
  142. </html>