Няма описание

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. \hypertarget{class_tessellation}{}\section{Tessellation Class Reference}
  2. \label{class_tessellation}\index{Tessellation@{Tessellation}}
  3. {\ttfamily \#include $<$tessellation.\+h$>$}
  4. Inheritance diagram for Tessellation\+:\begin{figure}[H]
  5. \begin{center}
  6. \leavevmode
  7. \includegraphics[height=2.000000cm]{class_tessellation}
  8. \end{center}
  9. \end{figure}
  10. \subsection*{Public Member Functions}
  11. \begin{DoxyCompactItemize}
  12. \item
  13. \hyperlink{class_tessellation_a3d77f5ad7aa19936ab47b43b7251526f}{Tessellation} (Q\+Widget $\ast$parent=0)
  14. \begin{DoxyCompactList}\small\item\em Constructor. Creates a tesselation like this\+: \end{DoxyCompactList}\item
  15. int \hyperlink{class_tessellation_a7d911890db50eb39146c1ec2d771a7dd}{get\+Rotation} ()
  16. \begin{DoxyCompactList}\small\item\em Getter for the rotation. \end{DoxyCompactList}\item
  17. int \hyperlink{class_tessellation_a9280b338ed41af0ec33e81391e76f82a}{get\+Width} ()
  18. \begin{DoxyCompactList}\small\item\em Getter for the tesseltation width. \end{DoxyCompactList}\item
  19. int \hyperlink{class_tessellation_a5fbfd2325a4ba0b7d4e66ce98e474c56}{get\+Height} ()
  20. \begin{DoxyCompactList}\small\item\em Getter for the tesseltation height. \end{DoxyCompactList}\item
  21. void \hyperlink{class_tessellation_a4ee5bac93c53b25ff1d4ec8a43fdad64}{set\+Rotation} (int r)
  22. \begin{DoxyCompactList}\small\item\em Setter for the tesselation rotation. \end{DoxyCompactList}\item
  23. void \hyperlink{class_tessellation_aa035a163e76a1616c58d20938b2853aa}{set\+Width} (int w)
  24. \begin{DoxyCompactList}\small\item\em Setter for the tesselation width. \end{DoxyCompactList}\item
  25. void \hyperlink{class_tessellation_a57273ef613b239b6e16ea97085d2f4df}{set\+Height} (int h)
  26. \begin{DoxyCompactList}\small\item\em Setter for the tesselation height. \end{DoxyCompactList}\end{DoxyCompactItemize}
  27. \subsection*{Protected Member Functions}
  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 Paints a tessellation in the window every time that a paint event occurs. \end{DoxyCompactList}\end{DoxyCompactItemize}
  32. \subsection*{Private Attributes}
  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{Detailed Description}
  42. A class to create tessellations.
  43. \subsection{Constructor \& Destructor Documentation}
  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. Creates a tesselation like this\+:
  52. \begin{DoxyParams}{Parameters}
  53. {\em parent} & parent of this tesselation, you should pass a reference to the window where this tesselation \textquotesingle{}lives\textquotesingle{}. \\
  54. \hline
  55. \end{DoxyParams}
  56. \subsection{Member Function Documentation}
  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. Getter for the tesseltation height.
  65. \begin{DoxyReturn}{Returns}
  66. tesselation height
  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. Getter for the rotation.
  76. \begin{DoxyReturn}{Returns}
  77. The rotation
  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. Getter for the tesseltation width.
  87. \begin{DoxyReturn}{Returns}
  88. tesselation width
  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. Setter for the tesselation height.
  98. \begin{DoxyParams}{Parameters}
  99. {\em h} & tessellation height \\
  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. Setter for the tesselation rotation.
  110. \begin{DoxyParams}{Parameters}
  111. {\em r} & tessellation rotation \\
  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. Setter for the tesselation width.
  122. \begin{DoxyParams}{Parameters}
  123. {\em w} & tessellation width \\
  124. \hline
  125. \end{DoxyParams}
  126. \subsection{Member Data Documentation}
  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. The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
  138. \item
  139. tessellation.\+h\item
  140. tessellation.\+cpp\end{DoxyCompactItemize}