Sin descripción

class_drawing_window.tex 7.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. \hypertarget{class_drawing_window}{}\section{Referencia de la Clase Drawing\+Window}
  2. \label{class_drawing_window}\index{Drawing\+Window@{Drawing\+Window}}
  3. {\ttfamily \#include $<$drawing\+Window.\+h$>$}
  4. Diagrama de herencias de Drawing\+Window\begin{figure}[H]
  5. \begin{center}
  6. \leavevmode
  7. \includegraphics[height=2.000000cm]{class_drawing_window}
  8. \end{center}
  9. \end{figure}
  10. \subsection*{Métodos públicos}
  11. \begin{DoxyCompactItemize}
  12. \item
  13. \hypertarget{class_drawing_window_aff3d1b3cbeee8f0e92b49c050d8ca494}{}\hyperlink{class_drawing_window_aff3d1b3cbeee8f0e92b49c050d8ca494}{Drawing\+Window} (Q\+Widget $\ast$parent=0)\label{class_drawing_window_aff3d1b3cbeee8f0e92b49c050d8ca494}
  14. \begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item
  15. \hypertarget{class_drawing_window_a0d07890a752adffee1f92a463561dcb6}{}\hyperlink{class_drawing_window_a0d07890a752adffee1f92a463561dcb6}{$\sim$\+Drawing\+Window} ()\label{class_drawing_window_a0d07890a752adffee1f92a463561dcb6}
  16. \begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item
  17. void \hyperlink{class_drawing_window_ac5a412fbb239f1f57cabe7a850e1e4fb}{add\+Tessellation} (\hyperlink{class_tessellation}{Tessellation} \&t)
  18. \begin{DoxyCompactList}\small\item\em Anade un mosaico a la ventana. \end{DoxyCompactList}\item
  19. void \hyperlink{class_drawing_window_a3097e096223530c9f93737441d77422f}{add\+Line} (int x0, int y0, int x1, int y1, int width, Q\+Color color)
  20. \begin{DoxyCompactList}\small\item\em Anade una linea a la ventana, especificando las coordenadas de los puntos iniciales y finales. \end{DoxyCompactList}\item
  21. void \hyperlink{class_drawing_window_ae03504caa7648347ec56eb58cf5b5db4}{add\+Line\+Polar} (int x0, int y0, int length, double angle, int width, Q\+Color color)
  22. \begin{DoxyCompactList}\small\item\em Anade una linea a la ventana, especifica las coordenadas de el punto inicial, el largo y el angulo. \end{DoxyCompactList}\end{DoxyCompactItemize}
  23. \subsection*{Métodos protegidos}
  24. \begin{DoxyCompactItemize}
  25. \item
  26. \hypertarget{class_drawing_window_aceb9c5cc4f2ef40d99aca7d3fbd4e91a}{}void \hyperlink{class_drawing_window_aceb9c5cc4f2ef40d99aca7d3fbd4e91a}{paint\+Event} (Q\+Paint\+Event $\ast$)\label{class_drawing_window_aceb9c5cc4f2ef40d99aca7d3fbd4e91a}
  27. \begin{DoxyCompactList}\small\item\em Evento de pintar. \end{DoxyCompactList}\end{DoxyCompactItemize}
  28. \subsection*{Atributos privados}
  29. \begin{DoxyCompactItemize}
  30. \item
  31. \hypertarget{class_drawing_window_ad58ced401c1eaf6cfaf67a0f8f94ce18}{}Ui\+::\+Drawing\+Window $\ast$ {\bfseries ui}\label{class_drawing_window_ad58ced401c1eaf6cfaf67a0f8f94ce18}
  32. \item
  33. vector$<$ \hyperlink{class_tessellation}{Tessellation} $\ast$ $>$ $\ast$ \hyperlink{class_drawing_window_a00c917f0910ac7b70729d6a48f0602ac}{v\+T}
  34. \item
  35. vector$<$ \hyperlink{class_tessellation}{Tessellation} $\ast$ $>$ $\ast$ \hyperlink{class_drawing_window_a82bd46efc8a35b62fcd207c42aa49ade}{my\+Tessellation}
  36. \item
  37. vector$<$ \hyperlink{class_line}{Line} $\ast$ $>$ $\ast$ \hyperlink{class_drawing_window_a6e1effc34bb2f2c43becfd1df203b693}{v\+L}
  38. \end{DoxyCompactItemize}
  39. \subsection{Descripción detallada}
  40. Una clase para crear una ventana de dibujos para dibujar mosaicos
  41. \subsection{Documentación de las funciones miembro}
  42. \hypertarget{class_drawing_window_a3097e096223530c9f93737441d77422f}{}\index{Drawing\+Window@{Drawing\+Window}!add\+Line@{add\+Line}}
  43. \index{add\+Line@{add\+Line}!Drawing\+Window@{Drawing\+Window}}
  44. \subsubsection[{add\+Line}]{\setlength{\rightskip}{0pt plus 5cm}void Drawing\+Window\+::add\+Line (
  45. \begin{DoxyParamCaption}
  46. \item[{int}]{x0, }
  47. \item[{int}]{y0, }
  48. \item[{int}]{x1, }
  49. \item[{int}]{y1, }
  50. \item[{int}]{width, }
  51. \item[{Q\+Color}]{color}
  52. \end{DoxyParamCaption}
  53. )}\label{class_drawing_window_a3097e096223530c9f93737441d77422f}
  54. Anade una linea a la ventana, especificando las coordenadas de los puntos iniciales y finales.
  55. \begin{DoxyParams}{Parámetros}
  56. {\em x0} & coordenada inicial x \\
  57. \hline
  58. {\em y0} & coordenada inicial y \\
  59. \hline
  60. {\em x1} & coordenada final x \\
  61. \hline
  62. {\em y1} & coordenada final y \\
  63. \hline
  64. {\em width} & ancho de la linea \\
  65. \hline
  66. {\em color} & color de la linea \\
  67. \hline
  68. \end{DoxyParams}
  69. \hypertarget{class_drawing_window_ae03504caa7648347ec56eb58cf5b5db4}{}\index{Drawing\+Window@{Drawing\+Window}!add\+Line\+Polar@{add\+Line\+Polar}}
  70. \index{add\+Line\+Polar@{add\+Line\+Polar}!Drawing\+Window@{Drawing\+Window}}
  71. \subsubsection[{add\+Line\+Polar}]{\setlength{\rightskip}{0pt plus 5cm}void Drawing\+Window\+::add\+Line\+Polar (
  72. \begin{DoxyParamCaption}
  73. \item[{int}]{x0, }
  74. \item[{int}]{y0, }
  75. \item[{int}]{length, }
  76. \item[{double}]{angle, }
  77. \item[{int}]{width, }
  78. \item[{Q\+Color}]{color}
  79. \end{DoxyParamCaption}
  80. )}\label{class_drawing_window_ae03504caa7648347ec56eb58cf5b5db4}
  81. Anade una linea a la ventana, especifica las coordenadas de el punto inicial, el largo y el angulo.
  82. \begin{DoxyParams}{Parámetros}
  83. {\em x0} & coordenada inicial x \\
  84. \hline
  85. {\em y0} & coordenada inicial y \\
  86. \hline
  87. {\em length} & -\/ largo de la linea \\
  88. \hline
  89. {\em angle} & -\/ angulo de la linea \\
  90. \hline
  91. {\em width} & -\/ ancho de la linea \\
  92. \hline
  93. {\em color} & -\/ color de la linea \\
  94. \hline
  95. \end{DoxyParams}
  96. \hypertarget{class_drawing_window_ac5a412fbb239f1f57cabe7a850e1e4fb}{}\index{Drawing\+Window@{Drawing\+Window}!add\+Tessellation@{add\+Tessellation}}
  97. \index{add\+Tessellation@{add\+Tessellation}!Drawing\+Window@{Drawing\+Window}}
  98. \subsubsection[{add\+Tessellation}]{\setlength{\rightskip}{0pt plus 5cm}void Drawing\+Window\+::add\+Tessellation (
  99. \begin{DoxyParamCaption}
  100. \item[{{\bf Tessellation} \&}]{t}
  101. \end{DoxyParamCaption}
  102. )}\label{class_drawing_window_ac5a412fbb239f1f57cabe7a850e1e4fb}
  103. Anade un mosaico a la ventana.
  104. \begin{DoxyParams}{Parámetros}
  105. {\em t} & un objeto de tipo tessellation (mosaico) \\
  106. \hline
  107. \end{DoxyParams}
  108. \subsection{Documentación de los datos miembro}
  109. \hypertarget{class_drawing_window_a82bd46efc8a35b62fcd207c42aa49ade}{}\index{Drawing\+Window@{Drawing\+Window}!my\+Tessellation@{my\+Tessellation}}
  110. \index{my\+Tessellation@{my\+Tessellation}!Drawing\+Window@{Drawing\+Window}}
  111. \subsubsection[{my\+Tessellation}]{\setlength{\rightskip}{0pt plus 5cm}vector$<${\bf Tessellation} $\ast$$>$$\ast$ Drawing\+Window\+::my\+Tessellation\hspace{0.3cm}{\ttfamily [private]}}\label{class_drawing_window_a82bd46efc8a35b62fcd207c42aa49ade}
  112. vector of tesselation / vector de mosaicos \hypertarget{class_drawing_window_a6e1effc34bb2f2c43becfd1df203b693}{}\index{Drawing\+Window@{Drawing\+Window}!v\+L@{v\+L}}
  113. \index{v\+L@{v\+L}!Drawing\+Window@{Drawing\+Window}}
  114. \subsubsection[{v\+L}]{\setlength{\rightskip}{0pt plus 5cm}vector$<${\bf Line} $\ast$$>$$\ast$ Drawing\+Window\+::v\+L\hspace{0.3cm}{\ttfamily [private]}}\label{class_drawing_window_a6e1effc34bb2f2c43becfd1df203b693}
  115. vector of line / vector de lineas \hypertarget{class_drawing_window_a00c917f0910ac7b70729d6a48f0602ac}{}\index{Drawing\+Window@{Drawing\+Window}!v\+T@{v\+T}}
  116. \index{v\+T@{v\+T}!Drawing\+Window@{Drawing\+Window}}
  117. \subsubsection[{v\+T}]{\setlength{\rightskip}{0pt plus 5cm}vector$<${\bf Tessellation}$\ast$ $>$$\ast$ Drawing\+Window\+::v\+T\hspace{0.3cm}{\ttfamily [private]}}\label{class_drawing_window_a00c917f0910ac7b70729d6a48f0602ac}
  118. vector of tesselation / vector de mosaicos
  119. La documentación para esta clase fue generada a partir de los siguientes ficheros\+:\begin{DoxyCompactItemize}
  120. \item
  121. drawing\+Window.\+h\item
  122. drawing\+Window.\+cpp\end{DoxyCompactItemize}