\hypertarget{a09916}{}\section{Simple\+Viewer Class Reference}
\label{a09916}\index{Simple\+Viewer@{Simple\+Viewer}}


{\ttfamily \#include $<$Open\+Flipper/widgets/gl\+Widget/simple\+Viewer.\+hh$>$}

Inheritance diagram for Simple\+Viewer\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a09916}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09916_afb6f1709f3eee44cd3b73e904066becf}\label{a09916_afb6f1709f3eee44cd3b73e904066becf}} 
\hyperlink{a09916_afb6f1709f3eee44cd3b73e904066becf}{Simple\+Viewer} (Q\+Widget $\ast$\+\_\+parent=N\+U\+LL, bool use\+Default\+Scene\+Graph=true)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09916_a4220ddd3396b018a10674e4fac0b36cb}\label{a09916_a4220ddd3396b018a10674e4fac0b36cb}} 
\hyperlink{a09916_a4220ddd3396b018a10674e4fac0b36cb}{$\sim$\+Simple\+Viewer} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09916_afffbd0eb49dfc9b5c9442af4b0225057}\label{a09916_afffbd0eb49dfc9b5c9442af4b0225057}} 
\hyperlink{a07100}{Viewer\+::\+Viewer\+Properties} \& \hyperlink{a09916_afffbd0eb49dfc9b5c9442af4b0225057}{properties} ()
\begin{DoxyCompactList}\small\item\em Viewer properties. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09916_a02b3e541bd07b5bde4498e0237dca36b}\label{a09916_a02b3e541bd07b5bde4498e0237dca36b}} 
\hyperlink{a09884}{gl\+Viewer} $\ast$ \hyperlink{a09916_a02b3e541bd07b5bde4498e0237dca36b}{viewer} ()
\begin{DoxyCompactList}\small\item\em Viewer. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09916_ad546810465f27b01435724f87991b89d}\label{a09916_ad546810465f27b01435724f87991b89d}} 
void {\bfseries set\+Scene\+Graph} (\hyperlink{a07748}{A\+C\+G\+::\+Scene\+Graph\+::\+Base\+Node} $\ast$root\+Node)
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09916_a6beb58768d07fc6628694a7755d16127}\label{a09916_a6beb58768d07fc6628694a7755d16127}} 
virtual void {\bfseries resize\+Event} (Q\+Resize\+Event $\ast$\+\_\+event)
\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09916_a28f9bcdfb054b0a9560403ac24dc7a04}\label{a09916_a28f9bcdfb054b0a9560403ac24dc7a04}} 
void {\bfseries set\+Action\+Mode} (const \hyperlink{a00284_a23df76c69888d15a460c61ef853567d8}{Viewer\+::\+Action\+Mode} \+\_\+am)
\item 
\mbox{\Hypertarget{a09916_a8e0065e1771641cbd4fad086b28a571f}\label{a09916_a8e0065e1771641cbd4fad086b28a571f}} 
void {\bfseries get\+Action\+Mode} (\hyperlink{a00284_a23df76c69888d15a460c61ef853567d8}{Viewer\+::\+Action\+Mode} \&\+\_\+am)
\item 
\mbox{\Hypertarget{a09916_a7aa27d619128f2092657b22780f34c91}\label{a09916_a7aa27d619128f2092657b22780f34c91}} 
void {\bfseries get\+Pick\+Mode} (std\+::string \&\+\_\+name)
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09916_a87a3ed505277b98821c5de9b47e9aa76}\label{a09916_a87a3ed505277b98821c5de9b47e9aa76}} 
void {\bfseries initialize} (const O\+F\+G\+L\+Format \&\+\_\+format, O\+F\+G\+L\+Widget $\ast$\+\_\+share\+Widget=N\+U\+LL, bool use\+Default\+Scene\+Graph=true)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09916_a2a01be5bc06bde4dd03737ad180df730}\label{a09916_a2a01be5bc06bde4dd03737ad180df730}} 
O\+F\+G\+L\+Widget $\ast$ {\bfseries gl\+Widget\+\_\+}
\item 
\mbox{\Hypertarget{a09916_abf14be82915fde62ece45c4bd9d87fcc}\label{a09916_abf14be82915fde62ece45c4bd9d87fcc}} 
\hyperlink{a07100}{Viewer\+::\+Viewer\+Properties} {\bfseries props\+\_\+}
\item 
\mbox{\Hypertarget{a09916_a49613b30c2a1f2ad4fbc1099421d0397}\label{a09916_a49613b30c2a1f2ad4fbc1099421d0397}} 
\hyperlink{a09912}{Simple\+G\+L\+Graphics\+Scene} $\ast$ {\bfseries scene\+\_\+}
\item 
\mbox{\Hypertarget{a09916_aa6ba1614a2a8f46af5ee8dda7aa858c8}\label{a09916_aa6ba1614a2a8f46af5ee8dda7aa858c8}} 
\hyperlink{a09884}{gl\+Viewer} $\ast$ {\bfseries main\+Widget\+\_\+}
\item 
\mbox{\Hypertarget{a09916_a10b55ff1ebb3797cab760a6cf8c84b2c}\label{a09916_a10b55ff1ebb3797cab760a6cf8c84b2c}} 
\hyperlink{a00284_a23df76c69888d15a460c61ef853567d8}{Viewer\+::\+Action\+Mode} {\bfseries action\+Mode\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Simple scene graph viewer. Plugins can use this class to display the scenegraph in own widgets. \hyperlink{a09916}{Simple\+Viewer} acts as a bridge between the normal Qt widget system and the Qt\+Graphics\+Widget based \hyperlink{a09884}{gl\+Viewer} (\hyperlink{a15031_source}{Open\+Flipper/widgets/gl\+Widget/\+Qt\+Base\+Viewer.\+hh}). 

Definition at line 80 of file simple\+Viewer.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/widgets/gl\+Widget/simple\+Viewer.\+hh\item 
Open\+Flipper/widgets/gl\+Widget/simple\+Viewer.\+cc\end{DoxyCompactItemize}
