Aucune description

class_tessellation.tex 7.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. \hypertarget{class_tessellation}{}\section{Referencia de la Clase Tessellation}
  2. \label{class_tessellation}\index{Tessellation@{Tessellation}}
  3. {\ttfamily \#include $<$tessellation.\+h$>$}
  4. Diagrama de herencias de Tessellation\begin{figure}[H]
  5. \begin{center}
  6. \leavevmode
  7. \includegraphics[height=2.000000cm]{class_tessellation}
  8. \end{center}
  9. \end{figure}
  10. \subsection*{Métodos públicos}
  11. \begin{DoxyCompactItemize}
  12. \item
  13. \hyperlink{class_tessellation_a3d77f5ad7aa19936ab47b43b7251526f}{Tessellation} (Q\+Widget $\ast$parent=0)
  14. \begin{DoxyCompactList}\small\item\em Constructor. Crea un mosaico como este\+: \end{DoxyCompactList}\item
  15. int \hyperlink{class_tessellation_a7d911890db50eb39146c1ec2d771a7dd}{get\+Rotation} ()
  16. \begin{DoxyCompactList}\small\item\em Devuelve la rotacion. \end{DoxyCompactList}\item
  17. int \hyperlink{class_tessellation_a9280b338ed41af0ec33e81391e76f82a}{get\+Width} ()
  18. \begin{DoxyCompactList}\small\item\em Devuelve el ancho del mosaico. \end{DoxyCompactList}\item
  19. int \hyperlink{class_tessellation_a5fbfd2325a4ba0b7d4e66ce98e474c56}{get\+Height} ()
  20. \begin{DoxyCompactList}\small\item\em Devuelve la altura del mosaico. \end{DoxyCompactList}\item
  21. void \hyperlink{class_tessellation_a4ee5bac93c53b25ff1d4ec8a43fdad64}{set\+Rotation} (int r)
  22. \begin{DoxyCompactList}\small\item\em Ajusta la rotacion del mosaico. \end{DoxyCompactList}\item
  23. void \hyperlink{class_tessellation_aa035a163e76a1616c58d20938b2853aa}{set\+Width} (int w)
  24. \begin{DoxyCompactList}\small\item\em Ajusta el ancho del mosaico. \end{DoxyCompactList}\item
  25. void \hyperlink{class_tessellation_a57273ef613b239b6e16ea97085d2f4df}{set\+Height} (int h)
  26. \begin{DoxyCompactList}\small\item\em Ajusta la altura del mosaico. \end{DoxyCompactList}\end{DoxyCompactItemize}
  27. \subsection*{Métodos protegidos}
  28. \begin{DoxyCompactItemize}
  29. \item
  30. \hypertarget{class_tessellation_aed2d64951d5d8b7e4fefde70c072b7c1}{}void \hyperlink{class_tessellation_aed2d64951d5d8b7e4fefde70c072b7c1}{paint\+Event} (Q\+Paint\+Event $\ast$)\label{class_tessellation_aed2d64951d5d8b7e4fefde70c072b7c1}
  31. \begin{DoxyCompactList}\small\item\em Pinta un mosaico en la pantalla cada ves que ocurre un evento de pintar. \end{DoxyCompactList}\end{DoxyCompactItemize}
  32. \subsection*{Atributos privados}
  33. \begin{DoxyCompactItemize}
  34. \item
  35. int \hyperlink{class_tessellation_ac09f5100d6f72ad8c4d4ff52268434ca}{rotation}
  36. \item
  37. int \hyperlink{class_tessellation_a943c56fd0f2e174add80b3bbeb11e74b}{width}
  38. \item
  39. int \hyperlink{class_tessellation_a94b9f62e66d1b4e967483a7aea75b830}{height}
  40. \end{DoxyCompactItemize}
  41. \subsection{Descripción detallada}
  42. Una clase para crear mosaicos
  43. \subsection{Documentación del constructor y destructor}
  44. \hypertarget{class_tessellation_a3d77f5ad7aa19936ab47b43b7251526f}{}\index{Tessellation@{Tessellation}!Tessellation@{Tessellation}}
  45. \index{Tessellation@{Tessellation}!Tessellation@{Tessellation}}
  46. \subsubsection[{Tessellation}]{\setlength{\rightskip}{0pt plus 5cm}Tessellation\+::\+Tessellation (
  47. \begin{DoxyParamCaption}
  48. \item[{Q\+Widget $\ast$}]{parent = {\ttfamily 0}}
  49. \end{DoxyParamCaption}
  50. )\hspace{0.3cm}{\ttfamily [explicit]}}\label{class_tessellation_a3d77f5ad7aa19936ab47b43b7251526f}
  51. Constructor. Crea un mosaico como este\+:
  52. \begin{DoxyParams}{Parámetros}
  53. {\em parent} & padre este mosaico, debes pasar una referencia a la ventana donde este mosaico \textquotesingle{}reside\textquotesingle{}. \\
  54. \hline
  55. \end{DoxyParams}
  56. \subsection{Documentación de las funciones miembro}
  57. \hypertarget{class_tessellation_a5fbfd2325a4ba0b7d4e66ce98e474c56}{}\index{Tessellation@{Tessellation}!get\+Height@{get\+Height}}
  58. \index{get\+Height@{get\+Height}!Tessellation@{Tessellation}}
  59. \subsubsection[{get\+Height}]{\setlength{\rightskip}{0pt plus 5cm}int Tessellation\+::get\+Height (
  60. \begin{DoxyParamCaption}
  61. {}
  62. \end{DoxyParamCaption}
  63. )}\label{class_tessellation_a5fbfd2325a4ba0b7d4e66ce98e474c56}
  64. Devuelve la altura del mosaico.
  65. \begin{DoxyReturn}{Devuelve}
  66. altura del mosaico
  67. \end{DoxyReturn}
  68. \hypertarget{class_tessellation_a7d911890db50eb39146c1ec2d771a7dd}{}\index{Tessellation@{Tessellation}!get\+Rotation@{get\+Rotation}}
  69. \index{get\+Rotation@{get\+Rotation}!Tessellation@{Tessellation}}
  70. \subsubsection[{get\+Rotation}]{\setlength{\rightskip}{0pt plus 5cm}int Tessellation\+::get\+Rotation (
  71. \begin{DoxyParamCaption}
  72. {}
  73. \end{DoxyParamCaption}
  74. )}\label{class_tessellation_a7d911890db50eb39146c1ec2d771a7dd}
  75. Devuelve la rotacion.
  76. \begin{DoxyReturn}{Devuelve}
  77. La rotacion
  78. \end{DoxyReturn}
  79. \hypertarget{class_tessellation_a9280b338ed41af0ec33e81391e76f82a}{}\index{Tessellation@{Tessellation}!get\+Width@{get\+Width}}
  80. \index{get\+Width@{get\+Width}!Tessellation@{Tessellation}}
  81. \subsubsection[{get\+Width}]{\setlength{\rightskip}{0pt plus 5cm}int Tessellation\+::get\+Width (
  82. \begin{DoxyParamCaption}
  83. {}
  84. \end{DoxyParamCaption}
  85. )}\label{class_tessellation_a9280b338ed41af0ec33e81391e76f82a}
  86. Devuelve el ancho del mosaico.
  87. \begin{DoxyReturn}{Devuelve}
  88. ancho del mosaico
  89. \end{DoxyReturn}
  90. \hypertarget{class_tessellation_a57273ef613b239b6e16ea97085d2f4df}{}\index{Tessellation@{Tessellation}!set\+Height@{set\+Height}}
  91. \index{set\+Height@{set\+Height}!Tessellation@{Tessellation}}
  92. \subsubsection[{set\+Height}]{\setlength{\rightskip}{0pt plus 5cm}void Tessellation\+::set\+Height (
  93. \begin{DoxyParamCaption}
  94. \item[{int}]{h}
  95. \end{DoxyParamCaption}
  96. )}\label{class_tessellation_a57273ef613b239b6e16ea97085d2f4df}
  97. Ajusta la altura del mosaico.
  98. \begin{DoxyParams}{Parámetros}
  99. {\em h} & Altura del mosaico \\
  100. \hline
  101. \end{DoxyParams}
  102. \hypertarget{class_tessellation_a4ee5bac93c53b25ff1d4ec8a43fdad64}{}\index{Tessellation@{Tessellation}!set\+Rotation@{set\+Rotation}}
  103. \index{set\+Rotation@{set\+Rotation}!Tessellation@{Tessellation}}
  104. \subsubsection[{set\+Rotation}]{\setlength{\rightskip}{0pt plus 5cm}void Tessellation\+::set\+Rotation (
  105. \begin{DoxyParamCaption}
  106. \item[{int}]{r}
  107. \end{DoxyParamCaption}
  108. )}\label{class_tessellation_a4ee5bac93c53b25ff1d4ec8a43fdad64}
  109. Ajusta la rotacion del mosaico.
  110. \begin{DoxyParams}{Parámetros}
  111. {\em r} & rotacion para el mosaico \\
  112. \hline
  113. \end{DoxyParams}
  114. \hypertarget{class_tessellation_aa035a163e76a1616c58d20938b2853aa}{}\index{Tessellation@{Tessellation}!set\+Width@{set\+Width}}
  115. \index{set\+Width@{set\+Width}!Tessellation@{Tessellation}}
  116. \subsubsection[{set\+Width}]{\setlength{\rightskip}{0pt plus 5cm}void Tessellation\+::set\+Width (
  117. \begin{DoxyParamCaption}
  118. \item[{int}]{w}
  119. \end{DoxyParamCaption}
  120. )}\label{class_tessellation_aa035a163e76a1616c58d20938b2853aa}
  121. Ajusta el ancho del mosaico.
  122. \begin{DoxyParams}{Parámetros}
  123. {\em w} & Ancho del mosaico \\
  124. \hline
  125. \end{DoxyParams}
  126. \subsection{Documentación de los datos miembro}
  127. \hypertarget{class_tessellation_a94b9f62e66d1b4e967483a7aea75b830}{}\index{Tessellation@{Tessellation}!height@{height}}
  128. \index{height@{height}!Tessellation@{Tessellation}}
  129. \subsubsection[{height}]{\setlength{\rightskip}{0pt plus 5cm}int Tessellation\+::height\hspace{0.3cm}{\ttfamily [private]}}\label{class_tessellation_a94b9f62e66d1b4e967483a7aea75b830}
  130. tesselation height / altura del mosaico \hypertarget{class_tessellation_ac09f5100d6f72ad8c4d4ff52268434ca}{}\index{Tessellation@{Tessellation}!rotation@{rotation}}
  131. \index{rotation@{rotation}!Tessellation@{Tessellation}}
  132. \subsubsection[{rotation}]{\setlength{\rightskip}{0pt plus 5cm}int Tessellation\+::rotation\hspace{0.3cm}{\ttfamily [private]}}\label{class_tessellation_ac09f5100d6f72ad8c4d4ff52268434ca}
  133. tesselation rotation / rotacion del mosaico \hypertarget{class_tessellation_a943c56fd0f2e174add80b3bbeb11e74b}{}\index{Tessellation@{Tessellation}!width@{width}}
  134. \index{width@{width}!Tessellation@{Tessellation}}
  135. \subsubsection[{width}]{\setlength{\rightskip}{0pt plus 5cm}int Tessellation\+::width\hspace{0.3cm}{\ttfamily [private]}}\label{class_tessellation_a943c56fd0f2e174add80b3bbeb11e74b}
  136. tesselation width / ancho del mosaico
  137. La documentación para esta clase fue generada a partir de los siguientes ficheros\+:\begin{DoxyCompactItemize}
  138. \item
  139. tessellation.\+h\item
  140. tessellation.\+cpp\end{DoxyCompactItemize}