Nenhuma descrição

class_main_window.html 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  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 MainWindow</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="#pri-slots">Slots privados</a> &#124;
  86. <a href="#pri-methods">Métodos privados</a> &#124;
  87. <a href="#pri-attribs">Atributos privados</a> &#124;
  88. <a href="class_main_window-members.html">Lista de todos los miembros</a> </div>
  89. <div class="headertitle">
  90. <div class="title">Referencia de la Clase MainWindow</div> </div>
  91. </div><!--header-->
  92. <div class="contents">
  93. <div class="dynheader">
  94. Diagrama de herencias de MainWindow</div>
  95. <div class="dyncontent">
  96. <div class="center">
  97. <img src="class_main_window.png" usemap="#MainWindow_map" alt=""/>
  98. <map id="MainWindow_map" name="MainWindow_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:a8b244be8b7b7db1b08de2a2acb9409db"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db">MainWindow</a> (QWidget *parent=0)</td></tr>
  105. <tr class="memdesc:a8b244be8b7b7db1b08de2a2acb9409db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <a href="#a8b244be8b7b7db1b08de2a2acb9409db">Más...</a><br /></td></tr>
  106. <tr class="separator:a8b244be8b7b7db1b08de2a2acb9409db"><td class="memSeparator" colspan="2">&#160;</td></tr>
  107. <tr class="memitem:a1ef271ff94a2ae4a2e2d4ddc5f78f7e6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a1ef271ff94a2ae4a2e2d4ddc5f78f7e6">PixelSort</a> (vector&lt; QRgb &gt; &amp;pixels)</td></tr>
  108. <tr class="memdesc:a1ef271ff94a2ae4a2e2d4ddc5f78f7e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Funcion que ordena pixeles usando Selection Sort (Seleccion) <a href="#a1ef271ff94a2ae4a2e2d4ddc5f78f7e6">Más...</a><br /></td></tr>
  109. <tr class="separator:a1ef271ff94a2ae4a2e2d4ddc5f78f7e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="memitem:acb4d4a3692e9edf987f35b21edf1427d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acb4d4a3692e9edf987f35b21edf1427d"></a>
  111. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#acb4d4a3692e9edf987f35b21edf1427d">RemoveNoise</a> (QImage &amp;finalImage, const vector&lt; QImage &gt; &amp;images)</td></tr>
  112. <tr class="memdesc:acb4d4a3692e9edf987f35b21edf1427d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Funcion que remueve el ruido de un conjunto de imagenes. Por cada posicion (i, j) de los pixeles, inserta en un vector el pixel en esa posicion por cada una de las imagenes, ordena el vector de pixeles, y finalmente ajusta el pixel (i,j) de la nueva imagen al pixel en la media. <br /></td></tr>
  113. <tr class="separator:acb4d4a3692e9edf987f35b21edf1427d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. </table><table class="memberdecls">
  115. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-slots"></a>
  116. Slots privados</h2></td></tr>
  117. <tr class="memitem:a50277f5201555db09f53f5c721aedeea"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a50277f5201555db09f53f5c721aedeea"></a>
  118. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a50277f5201555db09f53f5c721aedeea">on_btnLoadImages_clicked</a> ()</td></tr>
  119. <tr class="memdesc:a50277f5201555db09f53f5c721aedeea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Funcion que carga una imagen a una etiqueta del GUI. <br /></td></tr>
  120. <tr class="separator:a50277f5201555db09f53f5c721aedeea"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:aae2244407f60009048a97972eaa9d2a8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aae2244407f60009048a97972eaa9d2a8"></a>
  122. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#aae2244407f60009048a97972eaa9d2a8">on_btnRemoveNoise_clicked</a> ()</td></tr>
  123. <tr class="memdesc:aae2244407f60009048a97972eaa9d2a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Funcion que invoca la funcion que remueve el ruido de las imagenes y ajusta la imagen que devuelve enn el GUI. <br /></td></tr>
  124. <tr class="separator:aae2244407f60009048a97972eaa9d2a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:ad495b5030e61fb55b8ab95c5a3a559d6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad495b5030e61fb55b8ab95c5a3a559d6"></a>
  126. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ad495b5030e61fb55b8ab95c5a3a559d6">on_btnSaveImage_clicked</a> ()</td></tr>
  127. <tr class="memdesc:ad495b5030e61fb55b8ab95c5a3a559d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Funcion que guarda la imagen sin ruido en la computadora. <br /></td></tr>
  128. <tr class="separator:ad495b5030e61fb55b8ab95c5a3a559d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:ab37ac3fb919fcbb12543a5c25813e5a6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab37ac3fb919fcbb12543a5c25813e5a6"></a>
  130. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ab37ac3fb919fcbb12543a5c25813e5a6">on_actLoad_Images_triggered</a> ()</td></tr>
  131. <tr class="memdesc:ab37ac3fb919fcbb12543a5c25813e5a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invoca <a class="el" href="class_main_window.html#a50277f5201555db09f53f5c721aedeea" title="Funcion que carga una imagen a una etiqueta del GUI. ">on_btnLoadImages_clicked()</a> desde los botones. <br /></td></tr>
  132. <tr class="separator:ab37ac3fb919fcbb12543a5c25813e5a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:ab6f80eeb70e84d0ae1295bd79a546468"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab6f80eeb70e84d0ae1295bd79a546468"></a>
  134. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ab6f80eeb70e84d0ae1295bd79a546468">on_actRemoveNoise_triggered</a> ()</td></tr>
  135. <tr class="memdesc:ab6f80eeb70e84d0ae1295bd79a546468"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invoca <a class="el" href="class_main_window.html#aae2244407f60009048a97972eaa9d2a8" title="Funcion que invoca la funcion que remueve el ruido de las imagenes y ajusta la imagen que devuelve en...">on_btnRemoveNoise_clicked()</a> desde los botones. <br /></td></tr>
  136. <tr class="separator:ab6f80eeb70e84d0ae1295bd79a546468"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:a5939455a2e03188852db2182a0247f18"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5939455a2e03188852db2182a0247f18"></a>
  138. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a5939455a2e03188852db2182a0247f18">on_actSaveImage_triggered</a> ()</td></tr>
  139. <tr class="memdesc:a5939455a2e03188852db2182a0247f18"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invoca <a class="el" href="class_main_window.html#a5939455a2e03188852db2182a0247f18" title="Invoca on_actSaveImage_triggered() desde los botones. ">on_actSaveImage_triggered()</a> desde los botones. <br /></td></tr>
  140. <tr class="separator:a5939455a2e03188852db2182a0247f18"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. </table><table class="memberdecls">
  142. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
  143. Métodos privados</h2></td></tr>
  144. <tr class="memitem:a0e9e12ec3c93d49b12559ccf1d8fbb52"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a0e9e12ec3c93d49b12559ccf1d8fbb52">loadImages</a> (vector&lt; QImage &gt; &amp;, QString)</td></tr>
  145. <tr class="memdesc:a0e9e12ec3c93d49b12559ccf1d8fbb52"><td class="mdescLeft">&#160;</td><td class="mdescRight">Funcion que carga multiples imagenes de un directorio. <a href="#a0e9e12ec3c93d49b12559ccf1d8fbb52">Más...</a><br /></td></tr>
  146. <tr class="separator:a0e9e12ec3c93d49b12559ccf1d8fbb52"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. </table><table class="memberdecls">
  148. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
  149. Atributos privados</h2></td></tr>
  150. <tr class="memitem:a35466a70ed47252a0191168126a352a5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35466a70ed47252a0191168126a352a5"></a>
  151. Ui::MainWindow *&#160;</td><td class="memItemRight" valign="bottom"><b>ui</b></td></tr>
  152. <tr class="separator:a35466a70ed47252a0191168126a352a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:acf4a478c904743c5739eaea26c329271"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acf4a478c904743c5739eaea26c329271"></a>
  154. QImage&#160;</td><td class="memItemRight" valign="bottom"><b>finalImage</b></td></tr>
  155. <tr class="separator:acf4a478c904743c5739eaea26c329271"><td class="memSeparator" colspan="2">&#160;</td></tr>
  156. <tr class="memitem:a9e8eec97dd2fc09af9141de7e262d343"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9e8eec97dd2fc09af9141de7e262d343"></a>
  157. vector&lt; QImage &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>images</b></td></tr>
  158. <tr class="separator:a9e8eec97dd2fc09af9141de7e262d343"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. </table>
  160. <h2 class="groupheader">Documentación del constructor y destructor</h2>
  161. <a class="anchor" id="a8b244be8b7b7db1b08de2a2acb9409db"></a>
  162. <div class="memitem">
  163. <div class="memproto">
  164. <table class="mlabels">
  165. <tr>
  166. <td class="mlabels-left">
  167. <table class="memname">
  168. <tr>
  169. <td class="memname">MainWindow::MainWindow </td>
  170. <td>(</td>
  171. <td class="paramtype">QWidget *&#160;</td>
  172. <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
  173. <td></td>
  174. </tr>
  175. </table>
  176. </td>
  177. <td class="mlabels-right">
  178. <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
  179. </tr>
  180. </table>
  181. </div><div class="memdoc">
  182. <p>Constructor. </p>
  183. <p>Destructor. </p>
  184. <p>Keyboard shortcuts Atajos del teclado</p>
  185. <p>Closes window with cmd + w Cierra la ventana con cmd + w</p>
  186. <p>Loads a image with cmd + o Carga una imagen con cmd + o</p>
  187. <p>Removes noise from a image with cmd + r Remueve el ruido de una imagen con cmd + r</p>
  188. <p>Saves an image without noise with cmd + s Guarda una imagen sin ruido con cmd + s </p>
  189. </div>
  190. </div>
  191. <h2 class="groupheader">Documentación de las funciones miembro</h2>
  192. <a class="anchor" id="a0e9e12ec3c93d49b12559ccf1d8fbb52"></a>
  193. <div class="memitem">
  194. <div class="memproto">
  195. <table class="mlabels">
  196. <tr>
  197. <td class="mlabels-left">
  198. <table class="memname">
  199. <tr>
  200. <td class="memname">void MainWindow::loadImages </td>
  201. <td>(</td>
  202. <td class="paramtype">vector&lt; QImage &gt; &amp;&#160;</td>
  203. <td class="paramname"><em>images</em>, </td>
  204. </tr>
  205. <tr>
  206. <td class="paramkey"></td>
  207. <td></td>
  208. <td class="paramtype">QString&#160;</td>
  209. <td class="paramname"><em>path</em>&#160;</td>
  210. </tr>
  211. <tr>
  212. <td></td>
  213. <td>)</td>
  214. <td></td><td></td>
  215. </tr>
  216. </table>
  217. </td>
  218. <td class="mlabels-right">
  219. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  220. </tr>
  221. </table>
  222. </div><div class="memdoc">
  223. <p>Funcion que carga multiples imagenes de un directorio. </p>
  224. <dl class="params"><dt>Parámetros</dt><dd>
  225. <table class="params">
  226. <tr><td class="paramname">images</td><td>vector de imagenes con ruido </td></tr>
  227. <tr><td class="paramname">path</td><td>camino al directorio con las imagenes para cargar. </td></tr>
  228. </table>
  229. </dd>
  230. </dl>
  231. </div>
  232. </div>
  233. <a class="anchor" id="a1ef271ff94a2ae4a2e2d4ddc5f78f7e6"></a>
  234. <div class="memitem">
  235. <div class="memproto">
  236. <table class="memname">
  237. <tr>
  238. <td class="memname">void MainWindow::PixelSort </td>
  239. <td>(</td>
  240. <td class="paramtype">vector&lt; QRgb &gt; &amp;&#160;</td>
  241. <td class="paramname"><em>pixels</em></td><td>)</td>
  242. <td></td>
  243. </tr>
  244. </table>
  245. </div><div class="memdoc">
  246. <p>Funcion que ordena pixeles usando Selection Sort (Seleccion) </p>
  247. <dl class="params"><dt>Parámetros</dt><dd>
  248. <table class="params">
  249. <tr><td class="paramname">pixels</td><td>vector de pixeles </td></tr>
  250. </table>
  251. </dd>
  252. </dl>
  253. </div>
  254. </div>
  255. <hr/>La documentación para esta clase fue generada a partir de los siguientes ficheros:<ul>
  256. <li><a class="el" href="mainwindow_8h_source.html">mainwindow.h</a></li>
  257. <li>Filter.cpp</li>
  258. <li>mainwindow.cpp</li>
  259. </ul>
  260. </div><!-- contents -->
  261. <!-- start footer part -->
  262. <hr class="footer"/><address class="footer"><small>
  263. Generado el Lunes, 15 de Junio de 2015 15:14:04 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
  264. <img class="footer" src="doxygen.png" alt="doxygen"/>
  265. </a> 1.8.9.1
  266. </small></address>
  267. </body>
  268. </html>