Nav apraksta

class_tessellation.html 17KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  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: Referencia de la Clase Tessellation</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 class="current"><a href="annotated.html"><span>Clases</span></a></li>
  42. <li><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="annotated.html"><span>Lista&#160;de&#160;clases</span></a></li>
  64. <li><a href="classes.html"><span>Índice&#160;de&#160;clases</span></a></li>
  65. <li><a href="hierarchy.html"><span>Jerarquía&#160;de&#160;la&#160;clase</span></a></li>
  66. <li><a href="functions.html"><span>Miembros&#160;de&#160;las&#160;clases</span></a></li>
  67. </ul>
  68. </div>
  69. <!-- window showing the filter options -->
  70. <div id="MSearchSelectWindow"
  71. onmouseover="return searchBox.OnSearchSelectShow()"
  72. onmouseout="return searchBox.OnSearchSelectHide()"
  73. onkeydown="return searchBox.OnSearchSelectKey(event)">
  74. </div>
  75. <!-- iframe showing the search results (closed by default) -->
  76. <div id="MSearchResultsWindow">
  77. <iframe src="javascript:void(0)" frameborder="0"
  78. name="MSearchResults" id="MSearchResults">
  79. </iframe>
  80. </div>
  81. </div><!-- top -->
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#pub-methods">Métodos públicos</a> &#124;
  85. <a href="#pro-methods">Métodos protegidos</a> &#124;
  86. <a href="#pri-attribs">Atributos privados</a> &#124;
  87. <a href="class_tessellation-members.html">Lista de todos los miembros</a> </div>
  88. <div class="headertitle">
  89. <div class="title">Referencia de la Clase Tessellation</div> </div>
  90. </div><!--header-->
  91. <div class="contents">
  92. <p><code>#include &lt;<a class="el" href="tessellation_8h_source.html">tessellation.h</a>&gt;</code></p>
  93. <div class="dynheader">
  94. Diagrama de herencias de Tessellation</div>
  95. <div class="dyncontent">
  96. <div class="center">
  97. <img src="class_tessellation.png" usemap="#Tessellation_map" alt=""/>
  98. <map id="Tessellation_map" name="Tessellation_map">
  99. </map>
  100. </div></div>
  101. <table class="memberdecls">
  102. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  103. Métodos públicos</h2></td></tr>
  104. <tr class="memitem:a3d77f5ad7aa19936ab47b43b7251526f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tessellation.html#a3d77f5ad7aa19936ab47b43b7251526f">Tessellation</a> (QWidget *parent=0)</td></tr>
  105. <tr class="memdesc:a3d77f5ad7aa19936ab47b43b7251526f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. Crea un mosaico como este: </p><div class="image">
  106. <img src="http://i.imgur.com/WuMRMsi.png" alt="http://i.imgur.com/WuMRMsi.png"/>
  107. </div>
  108. <a href="#a3d77f5ad7aa19936ab47b43b7251526f">Más...</a><br /></td></tr>
  109. <tr class="separator:a3d77f5ad7aa19936ab47b43b7251526f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="memitem:a7d911890db50eb39146c1ec2d771a7dd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tessellation.html#a7d911890db50eb39146c1ec2d771a7dd">getRotation</a> ()</td></tr>
  111. <tr class="memdesc:a7d911890db50eb39146c1ec2d771a7dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Devuelve la rotacion. <a href="#a7d911890db50eb39146c1ec2d771a7dd">Más...</a><br /></td></tr>
  112. <tr class="separator:a7d911890db50eb39146c1ec2d771a7dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:a9280b338ed41af0ec33e81391e76f82a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tessellation.html#a9280b338ed41af0ec33e81391e76f82a">getWidth</a> ()</td></tr>
  114. <tr class="memdesc:a9280b338ed41af0ec33e81391e76f82a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Devuelve el ancho del mosaico. <a href="#a9280b338ed41af0ec33e81391e76f82a">Más...</a><br /></td></tr>
  115. <tr class="separator:a9280b338ed41af0ec33e81391e76f82a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:a5fbfd2325a4ba0b7d4e66ce98e474c56"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tessellation.html#a5fbfd2325a4ba0b7d4e66ce98e474c56">getHeight</a> ()</td></tr>
  117. <tr class="memdesc:a5fbfd2325a4ba0b7d4e66ce98e474c56"><td class="mdescLeft">&#160;</td><td class="mdescRight">Devuelve la altura del mosaico. <a href="#a5fbfd2325a4ba0b7d4e66ce98e474c56">Más...</a><br /></td></tr>
  118. <tr class="separator:a5fbfd2325a4ba0b7d4e66ce98e474c56"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:a4ee5bac93c53b25ff1d4ec8a43fdad64"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tessellation.html#a4ee5bac93c53b25ff1d4ec8a43fdad64">setRotation</a> (int r)</td></tr>
  120. <tr class="memdesc:a4ee5bac93c53b25ff1d4ec8a43fdad64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajusta la rotacion del mosaico. <a href="#a4ee5bac93c53b25ff1d4ec8a43fdad64">Más...</a><br /></td></tr>
  121. <tr class="separator:a4ee5bac93c53b25ff1d4ec8a43fdad64"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:aa035a163e76a1616c58d20938b2853aa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tessellation.html#aa035a163e76a1616c58d20938b2853aa">setWidth</a> (int w)</td></tr>
  123. <tr class="memdesc:aa035a163e76a1616c58d20938b2853aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajusta el ancho del mosaico. <a href="#aa035a163e76a1616c58d20938b2853aa">Más...</a><br /></td></tr>
  124. <tr class="separator:aa035a163e76a1616c58d20938b2853aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:a57273ef613b239b6e16ea97085d2f4df"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tessellation.html#a57273ef613b239b6e16ea97085d2f4df">setHeight</a> (int h)</td></tr>
  126. <tr class="memdesc:a57273ef613b239b6e16ea97085d2f4df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajusta la altura del mosaico. <a href="#a57273ef613b239b6e16ea97085d2f4df">Más...</a><br /></td></tr>
  127. <tr class="separator:a57273ef613b239b6e16ea97085d2f4df"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. </table><table class="memberdecls">
  129. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  130. Métodos protegidos</h2></td></tr>
  131. <tr class="memitem:aed2d64951d5d8b7e4fefde70c072b7c1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aed2d64951d5d8b7e4fefde70c072b7c1"></a>
  132. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tessellation.html#aed2d64951d5d8b7e4fefde70c072b7c1">paintEvent</a> (QPaintEvent *)</td></tr>
  133. <tr class="memdesc:aed2d64951d5d8b7e4fefde70c072b7c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pinta un mosaico en la pantalla cada ves que ocurre un evento de pintar. <br /></td></tr>
  134. <tr class="separator:aed2d64951d5d8b7e4fefde70c072b7c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. </table><table class="memberdecls">
  136. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
  137. Atributos privados</h2></td></tr>
  138. <tr class="memitem:ac09f5100d6f72ad8c4d4ff52268434ca"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tessellation.html#ac09f5100d6f72ad8c4d4ff52268434ca">rotation</a></td></tr>
  139. <tr class="separator:ac09f5100d6f72ad8c4d4ff52268434ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <tr class="memitem:a943c56fd0f2e174add80b3bbeb11e74b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tessellation.html#a943c56fd0f2e174add80b3bbeb11e74b">width</a></td></tr>
  141. <tr class="separator:a943c56fd0f2e174add80b3bbeb11e74b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <tr class="memitem:a94b9f62e66d1b4e967483a7aea75b830"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tessellation.html#a94b9f62e66d1b4e967483a7aea75b830">height</a></td></tr>
  143. <tr class="separator:a94b9f62e66d1b4e967483a7aea75b830"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. </table>
  145. <a name="details" id="details"></a><h2 class="groupheader">Descripción detallada</h2>
  146. <div class="textblock"><p>Una clase para crear mosaicos </p>
  147. </div><h2 class="groupheader">Documentación del constructor y destructor</h2>
  148. <a class="anchor" id="a3d77f5ad7aa19936ab47b43b7251526f"></a>
  149. <div class="memitem">
  150. <div class="memproto">
  151. <table class="mlabels">
  152. <tr>
  153. <td class="mlabels-left">
  154. <table class="memname">
  155. <tr>
  156. <td class="memname">Tessellation::Tessellation </td>
  157. <td>(</td>
  158. <td class="paramtype">QWidget *&#160;</td>
  159. <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
  160. <td></td>
  161. </tr>
  162. </table>
  163. </td>
  164. <td class="mlabels-right">
  165. <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
  166. </tr>
  167. </table>
  168. </div><div class="memdoc">
  169. <p>Constructor. Crea un mosaico como este: </p><div class="image">
  170. <img src="http://i.imgur.com/WuMRMsi.png" alt="http://i.imgur.com/WuMRMsi.png"/>
  171. </div>
  172. </p>
  173. <dl class="params"><dt>Parámetros</dt><dd>
  174. <table class="params">
  175. <tr><td class="paramname">parent</td><td>padre este mosaico, debes pasar una referencia a la ventana donde este mosaico 'reside'. </td></tr>
  176. </table>
  177. </dd>
  178. </dl>
  179. </div>
  180. </div>
  181. <h2 class="groupheader">Documentación de las funciones miembro</h2>
  182. <a class="anchor" id="a5fbfd2325a4ba0b7d4e66ce98e474c56"></a>
  183. <div class="memitem">
  184. <div class="memproto">
  185. <table class="memname">
  186. <tr>
  187. <td class="memname">int Tessellation::getHeight </td>
  188. <td>(</td>
  189. <td class="paramname"></td><td>)</td>
  190. <td></td>
  191. </tr>
  192. </table>
  193. </div><div class="memdoc">
  194. <p>Devuelve la altura del mosaico. </p>
  195. <dl class="section return"><dt>Devuelve</dt><dd>altura del mosaico </dd></dl>
  196. </div>
  197. </div>
  198. <a class="anchor" id="a7d911890db50eb39146c1ec2d771a7dd"></a>
  199. <div class="memitem">
  200. <div class="memproto">
  201. <table class="memname">
  202. <tr>
  203. <td class="memname">int Tessellation::getRotation </td>
  204. <td>(</td>
  205. <td class="paramname"></td><td>)</td>
  206. <td></td>
  207. </tr>
  208. </table>
  209. </div><div class="memdoc">
  210. <p>Devuelve la rotacion. </p>
  211. <dl class="section return"><dt>Devuelve</dt><dd>La rotacion </dd></dl>
  212. </div>
  213. </div>
  214. <a class="anchor" id="a9280b338ed41af0ec33e81391e76f82a"></a>
  215. <div class="memitem">
  216. <div class="memproto">
  217. <table class="memname">
  218. <tr>
  219. <td class="memname">int Tessellation::getWidth </td>
  220. <td>(</td>
  221. <td class="paramname"></td><td>)</td>
  222. <td></td>
  223. </tr>
  224. </table>
  225. </div><div class="memdoc">
  226. <p>Devuelve el ancho del mosaico. </p>
  227. <dl class="section return"><dt>Devuelve</dt><dd>ancho del mosaico </dd></dl>
  228. </div>
  229. </div>
  230. <a class="anchor" id="a57273ef613b239b6e16ea97085d2f4df"></a>
  231. <div class="memitem">
  232. <div class="memproto">
  233. <table class="memname">
  234. <tr>
  235. <td class="memname">void Tessellation::setHeight </td>
  236. <td>(</td>
  237. <td class="paramtype">int&#160;</td>
  238. <td class="paramname"><em>h</em></td><td>)</td>
  239. <td></td>
  240. </tr>
  241. </table>
  242. </div><div class="memdoc">
  243. <p>Ajusta la altura del mosaico. </p>
  244. <dl class="params"><dt>Parámetros</dt><dd>
  245. <table class="params">
  246. <tr><td class="paramname">h</td><td>Altura del mosaico </td></tr>
  247. </table>
  248. </dd>
  249. </dl>
  250. </div>
  251. </div>
  252. <a class="anchor" id="a4ee5bac93c53b25ff1d4ec8a43fdad64"></a>
  253. <div class="memitem">
  254. <div class="memproto">
  255. <table class="memname">
  256. <tr>
  257. <td class="memname">void Tessellation::setRotation </td>
  258. <td>(</td>
  259. <td class="paramtype">int&#160;</td>
  260. <td class="paramname"><em>r</em></td><td>)</td>
  261. <td></td>
  262. </tr>
  263. </table>
  264. </div><div class="memdoc">
  265. <p>Ajusta la rotacion del mosaico. </p>
  266. <dl class="params"><dt>Parámetros</dt><dd>
  267. <table class="params">
  268. <tr><td class="paramname">r</td><td>rotacion para el mosaico </td></tr>
  269. </table>
  270. </dd>
  271. </dl>
  272. </div>
  273. </div>
  274. <a class="anchor" id="aa035a163e76a1616c58d20938b2853aa"></a>
  275. <div class="memitem">
  276. <div class="memproto">
  277. <table class="memname">
  278. <tr>
  279. <td class="memname">void Tessellation::setWidth </td>
  280. <td>(</td>
  281. <td class="paramtype">int&#160;</td>
  282. <td class="paramname"><em>w</em></td><td>)</td>
  283. <td></td>
  284. </tr>
  285. </table>
  286. </div><div class="memdoc">
  287. <p>Ajusta el ancho del mosaico. </p>
  288. <dl class="params"><dt>Parámetros</dt><dd>
  289. <table class="params">
  290. <tr><td class="paramname">w</td><td>Ancho del mosaico </td></tr>
  291. </table>
  292. </dd>
  293. </dl>
  294. </div>
  295. </div>
  296. <h2 class="groupheader">Documentación de los datos miembro</h2>
  297. <a class="anchor" id="a94b9f62e66d1b4e967483a7aea75b830"></a>
  298. <div class="memitem">
  299. <div class="memproto">
  300. <table class="mlabels">
  301. <tr>
  302. <td class="mlabels-left">
  303. <table class="memname">
  304. <tr>
  305. <td class="memname">int Tessellation::height</td>
  306. </tr>
  307. </table>
  308. </td>
  309. <td class="mlabels-right">
  310. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  311. </tr>
  312. </table>
  313. </div><div class="memdoc">
  314. <p>tesselation height / altura del mosaico </p>
  315. </div>
  316. </div>
  317. <a class="anchor" id="ac09f5100d6f72ad8c4d4ff52268434ca"></a>
  318. <div class="memitem">
  319. <div class="memproto">
  320. <table class="mlabels">
  321. <tr>
  322. <td class="mlabels-left">
  323. <table class="memname">
  324. <tr>
  325. <td class="memname">int Tessellation::rotation</td>
  326. </tr>
  327. </table>
  328. </td>
  329. <td class="mlabels-right">
  330. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  331. </tr>
  332. </table>
  333. </div><div class="memdoc">
  334. <p>tesselation rotation / rotacion del mosaico </p>
  335. </div>
  336. </div>
  337. <a class="anchor" id="a943c56fd0f2e174add80b3bbeb11e74b"></a>
  338. <div class="memitem">
  339. <div class="memproto">
  340. <table class="mlabels">
  341. <tr>
  342. <td class="mlabels-left">
  343. <table class="memname">
  344. <tr>
  345. <td class="memname">int Tessellation::width</td>
  346. </tr>
  347. </table>
  348. </td>
  349. <td class="mlabels-right">
  350. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  351. </tr>
  352. </table>
  353. </div><div class="memdoc">
  354. <p>tesselation width / ancho del mosaico </p>
  355. </div>
  356. </div>
  357. <hr/>La documentación para esta clase fue generada a partir de los siguientes ficheros:<ul>
  358. <li><a class="el" href="tessellation_8h_source.html">tessellation.h</a></li>
  359. <li>tessellation.cpp</li>
  360. </ul>
  361. </div><!-- contents -->
  362. <!-- start footer part -->
  363. <hr class="footer"/><address class="footer"><small>
  364. Generado el Miércoles, 10 de Junio de 2015 09:57:57 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
  365. <img class="footer" src="doxygen.png" alt="doxygen"/>
  366. </a> 1.8.9.1
  367. </small></address>
  368. </body>
  369. </html>