Nav apraksta

class_drawing_window.tex 7.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. \hypertarget{class_drawing_window}{}\section{Drawing\+Window Class Reference}
  2. \label{class_drawing_window}\index{Drawing\+Window@{Drawing\+Window}}
  3. {\ttfamily \#include $<$drawing\+Window.\+h$>$}
  4. Inheritance diagram for 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*{Public Member Functions}
  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 Add a tessalation to the window. \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 Add a line to the window, specifying coordinates of the starting and end points. \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 Add a line to the window, specifying coordinates of the starting point, the length and angle. \end{DoxyCompactList}\end{DoxyCompactItemize}
  23. \subsection*{Protected Member Functions}
  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 Paints event. \end{DoxyCompactList}\end{DoxyCompactItemize}
  28. \subsection*{Private Attributes}
  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{Detailed Description}
  40. A class to create a drawing window to draw tessellations.
  41. \subsection{Member Function Documentation}
  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. Add a line to the window, specifying coordinates of the starting and end points.
  55. \begin{DoxyParams}{Parameters}
  56. {\em x0} & starting coordinate x \\
  57. \hline
  58. {\em y0} & starting coordinate y \\
  59. \hline
  60. {\em x1} & end coordinate x \\
  61. \hline
  62. {\em y1} & end coordinate y \\
  63. \hline
  64. {\em width} & line width \\
  65. \hline
  66. {\em color} & line color \\
  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. Add a line to the window, specifying coordinates of the starting point, the length and angle.
  82. \begin{DoxyParams}{Parameters}
  83. {\em x0} & starting coordinate x \\
  84. \hline
  85. {\em y0} & starting coordinate y \\
  86. \hline
  87. {\em length} & -\/ length of the line \\
  88. \hline
  89. {\em angle} & -\/ angle of the line \\
  90. \hline
  91. {\em width} & -\/ line width \\
  92. \hline
  93. {\em color} & -\/ line color \\
  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. Add a tessalation to the window.
  104. \begin{DoxyParams}{Parameters}
  105. {\em t} & a tessellation object \\
  106. \hline
  107. \end{DoxyParams}
  108. \subsection{Member Data Documentation}
  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. The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
  120. \item
  121. drawing\+Window.\+h\item
  122. drawing\+Window.\+cpp\end{DoxyCompactItemize}