\hypertarget{a01058}{\section{Q\+G\+L\+Viewer\+Widget Class Reference}
\label{a01058}\index{Q\+G\+L\+Viewer\+Widget@{Q\+G\+L\+Viewer\+Widget}}
}
Inheritance diagram for Q\+G\+L\+Viewer\+Widget\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.081784cm]{a01058}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01058_a2ed47f0efbf3500fd7572ca26b45d543}{typedef Q\+G\+L\+Widget {\bfseries Super}}\label{a01058_a2ed47f0efbf3500fd7572ca26b45d543}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01058_a9be8cce657698d9ee6942449a8a0f1e7}{{\bfseries Q\+G\+L\+Viewer\+Widget} (Q\+Widget $\ast$\+\_\+parent=0)}\label{a01058_a9be8cce657698d9ee6942449a8a0f1e7}

\item 
\hypertarget{a01058_ac2941fb9fd61cdbb5c54a0596f66a052}{{\bfseries Q\+G\+L\+Viewer\+Widget} (Q\+G\+L\+Format \&\+\_\+fmt, Q\+Widget $\ast$\+\_\+parent=0)}\label{a01058_ac2941fb9fd61cdbb5c54a0596f66a052}

\item 
\hypertarget{a01058_ad984e8acf6e5ae854bc7979addaedbb6}{void {\bfseries set\+\_\+scene\+\_\+pos} (const \hyperlink{a03368_aa8903e7c1a37b97fb332a69122a7c6e8}{Open\+Mesh\+::\+Vec3f} \&\+\_\+center, float \+\_\+radius)}\label{a01058_ad984e8acf6e5ae854bc7979addaedbb6}

\item 
\hypertarget{a01058_a075b0234c3913bc2dde523574eade815}{void {\bfseries view\+\_\+all} ()}\label{a01058_a075b0234c3913bc2dde523574eade815}

\item 
\hypertarget{a01058_a4390e61661e3a4cc536caee00a7d4096}{Q\+Action $\ast$ \hyperlink{a01058_a4390e61661e3a4cc536caee00a7d4096}{add\+\_\+draw\+\_\+mode} (const std\+::string \&\+\_\+s)}\label{a01058_a4390e61661e3a4cc536caee00a7d4096}

\begin{DoxyCompactList}\small\item\em add draw mode to popup menu, and return the Q\+Action created \end{DoxyCompactList}\item 
\hypertarget{a01058_a9797e53a762fa1dde7247c8f978f6400}{void \hyperlink{a01058_a9797e53a762fa1dde7247c8f978f6400}{del\+\_\+draw\+\_\+mode} (const std\+::string \&\+\_\+s)}\label{a01058_a9797e53a762fa1dde7247c8f978f6400}

\begin{DoxyCompactList}\small\item\em delete draw mode from popup menu \end{DoxyCompactList}\item 
\hypertarget{a01058_a14c8af63ee264d0fc74fc5eea4cb3626}{const std\+::string \& {\bfseries current\+\_\+draw\+\_\+mode} () const }\label{a01058_a14c8af63ee264d0fc74fc5eea4cb3626}

\item 
\hypertarget{a01058_a6eef4f90b757fe52552bec9c9f68c947}{float {\bfseries radius} () const }\label{a01058_a6eef4f90b757fe52552bec9c9f68c947}

\item 
\hypertarget{a01058_ad00f454abddf47fa0cd9526e37774b28}{const \hyperlink{a03368_aa8903e7c1a37b97fb332a69122a7c6e8}{Open\+Mesh\+::\+Vec3f} \& {\bfseries center} () const }\label{a01058_ad00f454abddf47fa0cd9526e37774b28}

\item 
\hypertarget{a01058_a75cbc9c328cf0f1c5ec69be72b41a768}{const G\+Ldouble $\ast$ {\bfseries modelview\+\_\+matrix} () const }\label{a01058_a75cbc9c328cf0f1c5ec69be72b41a768}

\item 
\hypertarget{a01058_ae1f8b36a4b79f7d24be4cda961773d5b}{const G\+Ldouble $\ast$ {\bfseries projection\+\_\+matrix} () const }\label{a01058_ae1f8b36a4b79f7d24be4cda961773d5b}

\item 
\hypertarget{a01058_ae73ebcd0e5ab8aadd216778eae5ef484}{float {\bfseries fovy} () const }\label{a01058_ae73ebcd0e5ab8aadd216778eae5ef484}

\item 
\hypertarget{a01058_afd40db26fa2e182f8e4db1e9f5aab015}{Q\+Action $\ast$ {\bfseries find\+Action} (const char $\ast$name)}\label{a01058_afd40db26fa2e182f8e4db1e9f5aab015}

\item 
\hypertarget{a01058_adcfe93a34ad4cec6e1f8d1a20ee09bfd}{void {\bfseries add\+Action} (Q\+Action $\ast$action, const char $\ast$name)}\label{a01058_adcfe93a34ad4cec6e1f8d1a20ee09bfd}

\item 
\hypertarget{a01058_a2ec4b503a36b200ab37e8d601ed4d086}{void {\bfseries remove\+Action} (const char $\ast$name)}\label{a01058_a2ec4b503a36b200ab37e8d601ed4d086}

\item 
\hypertarget{a01058_a87e6b97acbb3e27438a809744fb92ae7}{void {\bfseries remove\+Action} (Q\+Action $\ast$action)}\label{a01058_a87e6b97acbb3e27438a809744fb92ae7}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01058_a3d017ab603b0041bd38a443f97f22850}{virtual void {\bfseries draw\+\_\+scene} (const std\+::string \&\+\_\+draw\+\_\+mode)}\label{a01058_a3d017ab603b0041bd38a443f97f22850}

\item 
\hypertarget{a01058_ab781ab82fcb594b93751ca9856f0fa37}{double {\bfseries performance} (void)}\label{a01058_ab781ab82fcb594b93751ca9856f0fa37}

\item 
\hypertarget{a01058_a4770ba98078664905cd5eafb66199f17}{void {\bfseries set\+Default\+Material} (void)}\label{a01058_a4770ba98078664905cd5eafb66199f17}

\item 
\hypertarget{a01058_a03a5bc1ad668ce560283e2ae2d262e6a}{void {\bfseries set\+Default\+Light} (void)}\label{a01058_a03a5bc1ad668ce560283e2ae2d262e6a}

\item 
\hypertarget{a01058_adf04d695f759dd03a2ed57a81939bb64}{virtual void {\bfseries mouse\+Press\+Event} (Q\+Mouse\+Event $\ast$)}\label{a01058_adf04d695f759dd03a2ed57a81939bb64}

\item 
\hypertarget{a01058_a5a8abb12f8af9dfaf6e00b92c923c25a}{virtual void {\bfseries mouse\+Release\+Event} (Q\+Mouse\+Event $\ast$)}\label{a01058_a5a8abb12f8af9dfaf6e00b92c923c25a}

\item 
\hypertarget{a01058_ad02ffec4c06845cda9c53cacca257a77}{virtual void {\bfseries mouse\+Move\+Event} (Q\+Mouse\+Event $\ast$)}\label{a01058_ad02ffec4c06845cda9c53cacca257a77}

\item 
\hypertarget{a01058_ac3cc9ff7617dfaa2f91ecd2a34e558ea}{virtual void {\bfseries wheel\+Event} (Q\+Wheel\+Event $\ast$)}\label{a01058_ac3cc9ff7617dfaa2f91ecd2a34e558ea}

\item 
\hypertarget{a01058_aade5199ddf427fe2aba992c4a3943623}{virtual void {\bfseries key\+Press\+Event} (Q\+Key\+Event $\ast$)}\label{a01058_aade5199ddf427fe2aba992c4a3943623}

\end{DoxyCompactItemize}
\subsection*{Private Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01058_aed6e8b1c6adc2b1611f6cd63e5c8d000}{typedef std\+::map$<$ Q\+String, \\*
Q\+Action $\ast$ $>$ {\bfseries Action\+Map}}\label{a01058_aed6e8b1c6adc2b1611f6cd63e5c8d000}

\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01058_a90941ad6b80dd7db7d5e3e97af9e3ef5}{void {\bfseries slot\+Draw\+Mode} (Q\+Action $\ast$\+\_\+mode)}\label{a01058_a90941ad6b80dd7db7d5e3e97af9e3ef5}

\item 
\hypertarget{a01058_af9496ee9c121875f472de4f4232836b4}{void {\bfseries slot\+Snapshot} (void)}\label{a01058_af9496ee9c121875f472de4f4232836b4}

\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01058_ac024b35c07245e1faeeda8644178d474}{void {\bfseries init} (void)}\label{a01058_ac024b35c07245e1faeeda8644178d474}

\item 
\hypertarget{a01058_add37c8caa9a1377e0c008dbeacee2b37}{void {\bfseries initialize\+G\+L} ()}\label{a01058_add37c8caa9a1377e0c008dbeacee2b37}

\item 
\hypertarget{a01058_ad7f9c6bb115656ab3ee84070242d22e1}{void {\bfseries paint\+G\+L} ()}\label{a01058_ad7f9c6bb115656ab3ee84070242d22e1}

\item 
\hypertarget{a01058_ac95b58eabcb088fd336af1970521f0f8}{void {\bfseries resize\+G\+L} (int w, int h)}\label{a01058_ac95b58eabcb088fd336af1970521f0f8}

\item 
\hypertarget{a01058_acea8e3fd3931740d89abd2a25cc7320b}{void {\bfseries update\+\_\+projection\+\_\+matrix} ()}\label{a01058_acea8e3fd3931740d89abd2a25cc7320b}

\item 
\hypertarget{a01058_ab0c35a9ea1a2cd6beb4389387a215eae}{void {\bfseries translate} (const \hyperlink{a03368_aa8903e7c1a37b97fb332a69122a7c6e8}{Open\+Mesh\+::\+Vec3f} \&\+\_\+trans)}\label{a01058_ab0c35a9ea1a2cd6beb4389387a215eae}

\item 
\hypertarget{a01058_aec829f7ce6a2fb93a7ac9c6e53efb6c1}{void {\bfseries rotate} (const \hyperlink{a03368_aa8903e7c1a37b97fb332a69122a7c6e8}{Open\+Mesh\+::\+Vec3f} \&\+\_\+axis, float \+\_\+angle)}\label{a01058_aec829f7ce6a2fb93a7ac9c6e53efb6c1}

\item 
\hypertarget{a01058_a8232b8caf840f19377cf2ef047029afb}{bool {\bfseries map\+\_\+to\+\_\+sphere} (const Q\+Point \&\+\_\+point, \hyperlink{a03368_aa8903e7c1a37b97fb332a69122a7c6e8}{Open\+Mesh\+::\+Vec3f} \&\+\_\+result)}\label{a01058_a8232b8caf840f19377cf2ef047029afb}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01058_acace5dbc8b28b96a33621b6035d325b7}{\hyperlink{a03368_aa8903e7c1a37b97fb332a69122a7c6e8}{Open\+Mesh\+::\+Vec3f} {\bfseries center\+\_\+}}\label{a01058_acace5dbc8b28b96a33621b6035d325b7}

\item 
\hypertarget{a01058_a64624c00844f709323e6063828f26fbd}{float {\bfseries radius\+\_\+}}\label{a01058_a64624c00844f709323e6063828f26fbd}

\item 
\hypertarget{a01058_a499e7c06bcdb941b0ce6db1d49be5bec}{G\+Ldouble {\bfseries projection\+\_\+matrix\+\_\+} \mbox{[}16\mbox{]}}\label{a01058_a499e7c06bcdb941b0ce6db1d49be5bec}

\item 
\hypertarget{a01058_ab5b47b7ba9fa9360dff0d4dc195dbecf}{G\+Ldouble {\bfseries modelview\+\_\+matrix\+\_\+} \mbox{[}16\mbox{]}}\label{a01058_ab5b47b7ba9fa9360dff0d4dc195dbecf}

\item 
\hypertarget{a01058_ac53c1bd3e7861e19ed39e0f43fd5ca73}{Q\+Menu $\ast$ {\bfseries popup\+\_\+menu\+\_\+}}\label{a01058_ac53c1bd3e7861e19ed39e0f43fd5ca73}

\item 
\hypertarget{a01058_aea6de0643b9fe62efd6bced6bda7ba52}{Q\+Action\+Group $\ast$ {\bfseries draw\+\_\+modes\+\_\+group\+\_\+}}\label{a01058_aea6de0643b9fe62efd6bced6bda7ba52}

\item 
\hypertarget{a01058_a3e65aeb3a8fb97f1be4e009846f1fbcc}{Action\+Map {\bfseries names\+\_\+to\+\_\+actions}}\label{a01058_a3e65aeb3a8fb97f1be4e009846f1fbcc}

\item 
\hypertarget{a01058_a996eb7bace9f0e451cc7497225254128}{unsigned int {\bfseries draw\+\_\+mode\+\_\+}}\label{a01058_a996eb7bace9f0e451cc7497225254128}

\item 
\hypertarget{a01058_a6abffa0ed2c1d6f0db8134ab971dff42}{unsigned int {\bfseries n\+\_\+draw\+\_\+modes\+\_\+}}\label{a01058_a6abffa0ed2c1d6f0db8134ab971dff42}

\item 
\hypertarget{a01058_ab16a72f9110d5290ecaee25e5196d0d0}{std\+::vector$<$ std\+::string $>$ {\bfseries draw\+\_\+mode\+\_\+names\+\_\+}}\label{a01058_ab16a72f9110d5290ecaee25e5196d0d0}

\item 
\hypertarget{a01058_a68430c1b3186cdb11dabd8240c781728}{Q\+Point {\bfseries last\+\_\+point\+\_\+2\+D\+\_\+}}\label{a01058_a68430c1b3186cdb11dabd8240c781728}

\item 
\hypertarget{a01058_a277ef4184944c4dc3d8ba7659ed97d8d}{\hyperlink{a03368_aa8903e7c1a37b97fb332a69122a7c6e8}{Open\+Mesh\+::\+Vec3f} {\bfseries last\+\_\+point\+\_\+3\+D\+\_\+}}\label{a01058_a277ef4184944c4dc3d8ba7659ed97d8d}

\item 
\hypertarget{a01058_ad1ac80433d235fd0accf525d7cf4d534}{bool {\bfseries last\+\_\+point\+\_\+ok\+\_\+}}\label{a01058_ad1ac80433d235fd0accf525d7cf4d534}

\end{DoxyCompactItemize}
\subsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01058_a4d5360d6ed455041867be9f5809bf233}{static std\+::string {\bfseries nomode\+\_\+} = \char`\"{}\char`\"{}}\label{a01058_a4d5360d6ed455041867be9f5809bf233}

\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 73 of file Q\+G\+L\+Viewer\+Widget.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Apps/\+Qt\+Viewer/Q\+G\+L\+Viewer\+Widget.\+hh\item 
libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Apps/\+Qt\+Viewer/Q\+G\+L\+Viewer\+Widget.\+cc\end{DoxyCompactItemize}
