\hypertarget{a08388}{}\section{Q\+G\+L\+Viewer\+Widget Class Reference}
\label{a08388}\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]{a08388}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08388_a2ed47f0efbf3500fd7572ca26b45d543}\label{a08388_a2ed47f0efbf3500fd7572ca26b45d543}} 
typedef Q\+G\+L\+Widget {\bfseries Super}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08388_a9be8cce657698d9ee6942449a8a0f1e7}\label{a08388_a9be8cce657698d9ee6942449a8a0f1e7}} 
{\bfseries Q\+G\+L\+Viewer\+Widget} (Q\+Widget $\ast$\+\_\+parent=0)
\item 
\mbox{\Hypertarget{a08388_ac2941fb9fd61cdbb5c54a0596f66a052}\label{a08388_ac2941fb9fd61cdbb5c54a0596f66a052}} 
{\bfseries Q\+G\+L\+Viewer\+Widget} (Q\+G\+L\+Format \&\+\_\+fmt, Q\+Widget $\ast$\+\_\+parent=0)
\item 
\mbox{\Hypertarget{a08388_ad984e8acf6e5ae854bc7979addaedbb6}\label{a08388_ad984e8acf6e5ae854bc7979addaedbb6}} 
void {\bfseries set\+\_\+scene\+\_\+pos} (const \hyperlink{a06210_aa8903e7c1a37b97fb332a69122a7c6e8}{Open\+Mesh\+::\+Vec3f} \&\+\_\+center, float \+\_\+radius)
\item 
\mbox{\Hypertarget{a08388_a075b0234c3913bc2dde523574eade815}\label{a08388_a075b0234c3913bc2dde523574eade815}} 
void {\bfseries view\+\_\+all} ()
\item 
\mbox{\Hypertarget{a08388_a4390e61661e3a4cc536caee00a7d4096}\label{a08388_a4390e61661e3a4cc536caee00a7d4096}} 
Q\+Action $\ast$ \hyperlink{a08388_a4390e61661e3a4cc536caee00a7d4096}{add\+\_\+draw\+\_\+mode} (const std\+::string \&\+\_\+s)
\begin{DoxyCompactList}\small\item\em add draw mode to popup menu, and return the Q\+Action created \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08388_a9797e53a762fa1dde7247c8f978f6400}\label{a08388_a9797e53a762fa1dde7247c8f978f6400}} 
void \hyperlink{a08388_a9797e53a762fa1dde7247c8f978f6400}{del\+\_\+draw\+\_\+mode} (const std\+::string \&\+\_\+s)
\begin{DoxyCompactList}\small\item\em delete draw mode from popup menu \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08388_a19075ca9de1ec3c00e08a09c9640ead7}\label{a08388_a19075ca9de1ec3c00e08a09c9640ead7}} 
const std\+::string \& {\bfseries current\+\_\+draw\+\_\+mode} () const
\item 
\mbox{\Hypertarget{a08388_a577a74d2df0b89bf24835e83b08571b4}\label{a08388_a577a74d2df0b89bf24835e83b08571b4}} 
float {\bfseries radius} () const
\item 
\mbox{\Hypertarget{a08388_a56120f1e3b1cb66d491a8cec07e56df9}\label{a08388_a56120f1e3b1cb66d491a8cec07e56df9}} 
const \hyperlink{a06210_aa8903e7c1a37b97fb332a69122a7c6e8}{Open\+Mesh\+::\+Vec3f} \& {\bfseries center} () const
\item 
\mbox{\Hypertarget{a08388_a0954f2ebb58327fb5978c44a31ad1d9f}\label{a08388_a0954f2ebb58327fb5978c44a31ad1d9f}} 
const G\+Ldouble $\ast$ {\bfseries modelview\+\_\+matrix} () const
\item 
\mbox{\Hypertarget{a08388_ae5cbfaf2f6d371d0c005111674cf0784}\label{a08388_ae5cbfaf2f6d371d0c005111674cf0784}} 
const G\+Ldouble $\ast$ {\bfseries projection\+\_\+matrix} () const
\item 
\mbox{\Hypertarget{a08388_a75b5605c8b1804503b3021f542dfe912}\label{a08388_a75b5605c8b1804503b3021f542dfe912}} 
float {\bfseries fovy} () const
\item 
\mbox{\Hypertarget{a08388_afd40db26fa2e182f8e4db1e9f5aab015}\label{a08388_afd40db26fa2e182f8e4db1e9f5aab015}} 
Q\+Action $\ast$ {\bfseries find\+Action} (const char $\ast$name)
\item 
\mbox{\Hypertarget{a08388_adcfe93a34ad4cec6e1f8d1a20ee09bfd}\label{a08388_adcfe93a34ad4cec6e1f8d1a20ee09bfd}} 
void {\bfseries add\+Action} (Q\+Action $\ast$action, const char $\ast$name)
\item 
\mbox{\Hypertarget{a08388_a2ec4b503a36b200ab37e8d601ed4d086}\label{a08388_a2ec4b503a36b200ab37e8d601ed4d086}} 
void {\bfseries remove\+Action} (const char $\ast$name)
\item 
\mbox{\Hypertarget{a08388_a87e6b97acbb3e27438a809744fb92ae7}\label{a08388_a87e6b97acbb3e27438a809744fb92ae7}} 
void {\bfseries remove\+Action} (Q\+Action $\ast$action)
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08388_a3d017ab603b0041bd38a443f97f22850}\label{a08388_a3d017ab603b0041bd38a443f97f22850}} 
virtual void {\bfseries draw\+\_\+scene} (const std\+::string \&\+\_\+draw\+\_\+mode)
\item 
\mbox{\Hypertarget{a08388_ab781ab82fcb594b93751ca9856f0fa37}\label{a08388_ab781ab82fcb594b93751ca9856f0fa37}} 
double {\bfseries performance} (void)
\item 
\mbox{\Hypertarget{a08388_a4770ba98078664905cd5eafb66199f17}\label{a08388_a4770ba98078664905cd5eafb66199f17}} 
void {\bfseries set\+Default\+Material} (void)
\item 
\mbox{\Hypertarget{a08388_a03a5bc1ad668ce560283e2ae2d262e6a}\label{a08388_a03a5bc1ad668ce560283e2ae2d262e6a}} 
void {\bfseries set\+Default\+Light} (void)
\item 
\mbox{\Hypertarget{a08388_adf04d695f759dd03a2ed57a81939bb64}\label{a08388_adf04d695f759dd03a2ed57a81939bb64}} 
virtual void {\bfseries mouse\+Press\+Event} (Q\+Mouse\+Event $\ast$)
\item 
\mbox{\Hypertarget{a08388_a5a8abb12f8af9dfaf6e00b92c923c25a}\label{a08388_a5a8abb12f8af9dfaf6e00b92c923c25a}} 
virtual void {\bfseries mouse\+Release\+Event} (Q\+Mouse\+Event $\ast$)
\item 
\mbox{\Hypertarget{a08388_ad02ffec4c06845cda9c53cacca257a77}\label{a08388_ad02ffec4c06845cda9c53cacca257a77}} 
virtual void {\bfseries mouse\+Move\+Event} (Q\+Mouse\+Event $\ast$)
\item 
\mbox{\Hypertarget{a08388_ac3cc9ff7617dfaa2f91ecd2a34e558ea}\label{a08388_ac3cc9ff7617dfaa2f91ecd2a34e558ea}} 
virtual void {\bfseries wheel\+Event} (Q\+Wheel\+Event $\ast$)
\item 
\mbox{\Hypertarget{a08388_aade5199ddf427fe2aba992c4a3943623}\label{a08388_aade5199ddf427fe2aba992c4a3943623}} 
virtual void {\bfseries key\+Press\+Event} (Q\+Key\+Event $\ast$)
\end{DoxyCompactItemize}
\subsection*{Private Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08388_aed6e8b1c6adc2b1611f6cd63e5c8d000}\label{a08388_aed6e8b1c6adc2b1611f6cd63e5c8d000}} 
typedef std\+::map$<$ Q\+String, Q\+Action $\ast$ $>$ {\bfseries Action\+Map}
\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08388_a90941ad6b80dd7db7d5e3e97af9e3ef5}\label{a08388_a90941ad6b80dd7db7d5e3e97af9e3ef5}} 
void {\bfseries slot\+Draw\+Mode} (Q\+Action $\ast$\+\_\+mode)
\item 
\mbox{\Hypertarget{a08388_af9496ee9c121875f472de4f4232836b4}\label{a08388_af9496ee9c121875f472de4f4232836b4}} 
void {\bfseries slot\+Snapshot} (void)
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08388_ac024b35c07245e1faeeda8644178d474}\label{a08388_ac024b35c07245e1faeeda8644178d474}} 
void {\bfseries init} (void)
\item 
\mbox{\Hypertarget{a08388_add37c8caa9a1377e0c008dbeacee2b37}\label{a08388_add37c8caa9a1377e0c008dbeacee2b37}} 
void {\bfseries initialize\+GL} ()
\item 
\mbox{\Hypertarget{a08388_ad7f9c6bb115656ab3ee84070242d22e1}\label{a08388_ad7f9c6bb115656ab3ee84070242d22e1}} 
void {\bfseries paint\+GL} ()
\item 
\mbox{\Hypertarget{a08388_ac95b58eabcb088fd336af1970521f0f8}\label{a08388_ac95b58eabcb088fd336af1970521f0f8}} 
void {\bfseries resize\+GL} (int w, int h)
\item 
\mbox{\Hypertarget{a08388_acea8e3fd3931740d89abd2a25cc7320b}\label{a08388_acea8e3fd3931740d89abd2a25cc7320b}} 
void {\bfseries update\+\_\+projection\+\_\+matrix} ()
\item 
\mbox{\Hypertarget{a08388_ab0c35a9ea1a2cd6beb4389387a215eae}\label{a08388_ab0c35a9ea1a2cd6beb4389387a215eae}} 
void {\bfseries translate} (const \hyperlink{a06210_aa8903e7c1a37b97fb332a69122a7c6e8}{Open\+Mesh\+::\+Vec3f} \&\+\_\+trans)
\item 
\mbox{\Hypertarget{a08388_aec829f7ce6a2fb93a7ac9c6e53efb6c1}\label{a08388_aec829f7ce6a2fb93a7ac9c6e53efb6c1}} 
void {\bfseries rotate} (const \hyperlink{a06210_aa8903e7c1a37b97fb332a69122a7c6e8}{Open\+Mesh\+::\+Vec3f} \&\+\_\+axis, float \+\_\+angle)
\item 
\mbox{\Hypertarget{a08388_a8232b8caf840f19377cf2ef047029afb}\label{a08388_a8232b8caf840f19377cf2ef047029afb}} 
bool {\bfseries map\+\_\+to\+\_\+sphere} (const Q\+Point \&\+\_\+point, \hyperlink{a06210_aa8903e7c1a37b97fb332a69122a7c6e8}{Open\+Mesh\+::\+Vec3f} \&\+\_\+result)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08388_acace5dbc8b28b96a33621b6035d325b7}\label{a08388_acace5dbc8b28b96a33621b6035d325b7}} 
\hyperlink{a06210_aa8903e7c1a37b97fb332a69122a7c6e8}{Open\+Mesh\+::\+Vec3f} {\bfseries center\+\_\+}
\item 
\mbox{\Hypertarget{a08388_a64624c00844f709323e6063828f26fbd}\label{a08388_a64624c00844f709323e6063828f26fbd}} 
float {\bfseries radius\+\_\+}
\item 
\mbox{\Hypertarget{a08388_a499e7c06bcdb941b0ce6db1d49be5bec}\label{a08388_a499e7c06bcdb941b0ce6db1d49be5bec}} 
G\+Ldouble {\bfseries projection\+\_\+matrix\+\_\+} \mbox{[}16\mbox{]}
\item 
\mbox{\Hypertarget{a08388_ab5b47b7ba9fa9360dff0d4dc195dbecf}\label{a08388_ab5b47b7ba9fa9360dff0d4dc195dbecf}} 
G\+Ldouble {\bfseries modelview\+\_\+matrix\+\_\+} \mbox{[}16\mbox{]}
\item 
\mbox{\Hypertarget{a08388_ac53c1bd3e7861e19ed39e0f43fd5ca73}\label{a08388_ac53c1bd3e7861e19ed39e0f43fd5ca73}} 
Q\+Menu $\ast$ {\bfseries popup\+\_\+menu\+\_\+}
\item 
\mbox{\Hypertarget{a08388_aea6de0643b9fe62efd6bced6bda7ba52}\label{a08388_aea6de0643b9fe62efd6bced6bda7ba52}} 
Q\+Action\+Group $\ast$ {\bfseries draw\+\_\+modes\+\_\+group\+\_\+}
\item 
\mbox{\Hypertarget{a08388_a3e65aeb3a8fb97f1be4e009846f1fbcc}\label{a08388_a3e65aeb3a8fb97f1be4e009846f1fbcc}} 
Action\+Map {\bfseries names\+\_\+to\+\_\+actions}
\item 
\mbox{\Hypertarget{a08388_a996eb7bace9f0e451cc7497225254128}\label{a08388_a996eb7bace9f0e451cc7497225254128}} 
unsigned int {\bfseries draw\+\_\+mode\+\_\+}
\item 
\mbox{\Hypertarget{a08388_a6abffa0ed2c1d6f0db8134ab971dff42}\label{a08388_a6abffa0ed2c1d6f0db8134ab971dff42}} 
unsigned int {\bfseries n\+\_\+draw\+\_\+modes\+\_\+}
\item 
\mbox{\Hypertarget{a08388_ab16a72f9110d5290ecaee25e5196d0d0}\label{a08388_ab16a72f9110d5290ecaee25e5196d0d0}} 
std\+::vector$<$ std\+::string $>$ {\bfseries draw\+\_\+mode\+\_\+names\+\_\+}
\item 
\mbox{\Hypertarget{a08388_a68430c1b3186cdb11dabd8240c781728}\label{a08388_a68430c1b3186cdb11dabd8240c781728}} 
Q\+Point {\bfseries last\+\_\+point\+\_\+2\+D\+\_\+}
\item 
\mbox{\Hypertarget{a08388_a277ef4184944c4dc3d8ba7659ed97d8d}\label{a08388_a277ef4184944c4dc3d8ba7659ed97d8d}} 
\hyperlink{a06210_aa8903e7c1a37b97fb332a69122a7c6e8}{Open\+Mesh\+::\+Vec3f} {\bfseries last\+\_\+point\+\_\+3\+D\+\_\+}
\item 
\mbox{\Hypertarget{a08388_ad1ac80433d235fd0accf525d7cf4d534}\label{a08388_ad1ac80433d235fd0accf525d7cf4d534}} 
bool {\bfseries last\+\_\+point\+\_\+ok\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08388_a4d5360d6ed455041867be9f5809bf233}\label{a08388_a4d5360d6ed455041867be9f5809bf233}} 
static std\+::string {\bfseries nomode\+\_\+} = \char`\"{}\char`\"{}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


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



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