\hypertarget{class_s_c_i_run_1_1_gui_1_1_g_l_widget}{\section{G\-L\-Widget Class Reference}
\label{class_s_c_i_run_1_1_gui_1_1_g_l_widget}\index{G\-L\-Widget@{G\-L\-Widget}}
}


{\ttfamily \#include $<$G\-L\-Widget.\-h$>$}

Inheritance diagram for G\-L\-Widget\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_s_c_i_run_1_1_gui_1_1_g_l_widget}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_s_c_i_run_1_1_gui_1_1_g_l_widget_aacc9c102fba5ba3d4819b3d6d73dec50}{update\-Renderer} ()
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_s_c_i_run_1_1_gui_1_1_g_l_widget_aa037c753eb3e247f05626d5ad269ab25}{G\-L\-Widget} (\hyperlink{class_s_c_i_run_1_1_gui_1_1_qt_g_l_context}{Qt\-G\-L\-Context} $\ast$context)
\item 
\hyperlink{class_s_c_i_run_1_1_gui_1_1_g_l_widget_a7bc2d79b52e0a8e96705f989aa5bbd80}{$\sim$\-G\-L\-Widget} ()
\item 
std\-::shared\-\_\-ptr$<$ \hyperlink{class_s_c_i_run_1_1_gui_1_1_s_r_interface}{S\-R\-Interface} $>$ \hyperlink{class_s_c_i_run_1_1_gui_1_1_g_l_widget_adc7464b89c7c9c161cdc48f4299667a1}{get\-Spire} () const 
\item 
void \hyperlink{class_s_c_i_run_1_1_gui_1_1_g_l_widget_a65202aa1ddb1d76b51b8c3a1435d88f9}{make\-Current} ()
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_gui_1_1_g_l_widget_ad2272e344e46519f026cd02f419884f1}{mouse\-Press\-Event} (Q\-Mouse\-Event $\ast$event)
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_gui_1_1_g_l_widget_ae820c6a86f0a1908bf451f86db043489}{mouse\-Move\-Event} (Q\-Mouse\-Event $\ast$event)
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_gui_1_1_g_l_widget_a35226f6549add1ff837c65888fcd00fc}{mouse\-Release\-Event} (Q\-Mouse\-Event $\ast$event)
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_gui_1_1_g_l_widget_aca4aade13313c3deb599501abdd947f1}{wheel\-Event} (Q\-Wheel\-Event $\ast$event)
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_gui_1_1_g_l_widget_a2d3d45239c78255c23a70ca558b4d4f1}{initialize\-G\-L} ()
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_gui_1_1_g_l_widget_a3efe88f982dbec7825725dd954991139}{resize\-G\-L} (int width, int height)
\item 
void \hyperlink{class_s_c_i_run_1_1_gui_1_1_g_l_widget_a899ced5f44525504746f8fe2534ad249}{close\-Event} (Q\-Close\-Event $\ast$evt)
\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_s_c_i_run_1_1_gui_1_1_g_l_widget_aa037c753eb3e247f05626d5ad269ab25}{\index{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}!G\-L\-Widget@{G\-L\-Widget}}
\index{G\-L\-Widget@{G\-L\-Widget}!SCIRun::Gui::GLWidget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}}
\subsubsection[{G\-L\-Widget}]{\setlength{\rightskip}{0pt plus 5cm}{\bf G\-L\-Widget} (
\begin{DoxyParamCaption}
\item[{{\bf Qt\-G\-L\-Context} $\ast$}]{context}
\end{DoxyParamCaption}
)}}\label{class_s_c_i_run_1_1_gui_1_1_g_l_widget_aa037c753eb3e247f05626d5ad269ab25}
\begin{DoxyRefDesc}{Todo}
\item[\hyperlink{todo__todo000484}{Todo}]Implement this intelligently. This function is called everytime there is a new graphics context. \end{DoxyRefDesc}
\hypertarget{class_s_c_i_run_1_1_gui_1_1_g_l_widget_a7bc2d79b52e0a8e96705f989aa5bbd80}{\index{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}!$\sim$\-G\-L\-Widget@{$\sim$\-G\-L\-Widget}}
\index{$\sim$\-G\-L\-Widget@{$\sim$\-G\-L\-Widget}!SCIRun::Gui::GLWidget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}}
\subsubsection[{$\sim$\-G\-L\-Widget}]{\setlength{\rightskip}{0pt plus 5cm}$\sim${\bf G\-L\-Widget} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_s_c_i_run_1_1_gui_1_1_g_l_widget_a7bc2d79b52e0a8e96705f989aa5bbd80}


\subsection{Member Function Documentation}
\hypertarget{class_s_c_i_run_1_1_gui_1_1_g_l_widget_a899ced5f44525504746f8fe2534ad249}{\index{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}!close\-Event@{close\-Event}}
\index{close\-Event@{close\-Event}!SCIRun::Gui::GLWidget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}}
\subsubsection[{close\-Event}]{\setlength{\rightskip}{0pt plus 5cm}void close\-Event (
\begin{DoxyParamCaption}
\item[{Q\-Close\-Event $\ast$}]{evt}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}}}\label{class_s_c_i_run_1_1_gui_1_1_g_l_widget_a899ced5f44525504746f8fe2534ad249}
\hypertarget{class_s_c_i_run_1_1_gui_1_1_g_l_widget_adc7464b89c7c9c161cdc48f4299667a1}{\index{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}!get\-Spire@{get\-Spire}}
\index{get\-Spire@{get\-Spire}!SCIRun::Gui::GLWidget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}}
\subsubsection[{get\-Spire}]{\setlength{\rightskip}{0pt plus 5cm}std\-::shared\-\_\-ptr$<${\bf S\-R\-Interface}$>$ get\-Spire (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_s_c_i_run_1_1_gui_1_1_g_l_widget_adc7464b89c7c9c161cdc48f4299667a1}
\hypertarget{class_s_c_i_run_1_1_gui_1_1_g_l_widget_a2d3d45239c78255c23a70ca558b4d4f1}{\index{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}!initialize\-G\-L@{initialize\-G\-L}}
\index{initialize\-G\-L@{initialize\-G\-L}!SCIRun::Gui::GLWidget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}}
\subsubsection[{initialize\-G\-L}]{\setlength{\rightskip}{0pt plus 5cm}void initialize\-G\-L (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_gui_1_1_g_l_widget_a2d3d45239c78255c23a70ca558b4d4f1}
\hypertarget{class_s_c_i_run_1_1_gui_1_1_g_l_widget_a65202aa1ddb1d76b51b8c3a1435d88f9}{\index{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}!make\-Current@{make\-Current}}
\index{make\-Current@{make\-Current}!SCIRun::Gui::GLWidget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}}
\subsubsection[{make\-Current}]{\setlength{\rightskip}{0pt plus 5cm}void make\-Current (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_s_c_i_run_1_1_gui_1_1_g_l_widget_a65202aa1ddb1d76b51b8c3a1435d88f9}
Required function for single threaded interfaces that have multiple contexts running on the same thread. \hypertarget{class_s_c_i_run_1_1_gui_1_1_g_l_widget_ae820c6a86f0a1908bf451f86db043489}{\index{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}!mouse\-Move\-Event@{mouse\-Move\-Event}}
\index{mouse\-Move\-Event@{mouse\-Move\-Event}!SCIRun::Gui::GLWidget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}}
\subsubsection[{mouse\-Move\-Event}]{\setlength{\rightskip}{0pt plus 5cm}void mouse\-Move\-Event (
\begin{DoxyParamCaption}
\item[{Q\-Mouse\-Event $\ast$}]{event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_gui_1_1_g_l_widget_ae820c6a86f0a1908bf451f86db043489}
\hypertarget{class_s_c_i_run_1_1_gui_1_1_g_l_widget_ad2272e344e46519f026cd02f419884f1}{\index{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}!mouse\-Press\-Event@{mouse\-Press\-Event}}
\index{mouse\-Press\-Event@{mouse\-Press\-Event}!SCIRun::Gui::GLWidget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}}
\subsubsection[{mouse\-Press\-Event}]{\setlength{\rightskip}{0pt plus 5cm}void mouse\-Press\-Event (
\begin{DoxyParamCaption}
\item[{Q\-Mouse\-Event $\ast$}]{event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_gui_1_1_g_l_widget_ad2272e344e46519f026cd02f419884f1}
\hypertarget{class_s_c_i_run_1_1_gui_1_1_g_l_widget_a35226f6549add1ff837c65888fcd00fc}{\index{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}!mouse\-Release\-Event@{mouse\-Release\-Event}}
\index{mouse\-Release\-Event@{mouse\-Release\-Event}!SCIRun::Gui::GLWidget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}}
\subsubsection[{mouse\-Release\-Event}]{\setlength{\rightskip}{0pt plus 5cm}void mouse\-Release\-Event (
\begin{DoxyParamCaption}
\item[{Q\-Mouse\-Event $\ast$}]{event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_gui_1_1_g_l_widget_a35226f6549add1ff837c65888fcd00fc}
\hypertarget{class_s_c_i_run_1_1_gui_1_1_g_l_widget_a3efe88f982dbec7825725dd954991139}{\index{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}!resize\-G\-L@{resize\-G\-L}}
\index{resize\-G\-L@{resize\-G\-L}!SCIRun::Gui::GLWidget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}}
\subsubsection[{resize\-G\-L}]{\setlength{\rightskip}{0pt plus 5cm}void resize\-G\-L (
\begin{DoxyParamCaption}
\item[{int}]{width, }
\item[{int}]{height}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_gui_1_1_g_l_widget_a3efe88f982dbec7825725dd954991139}
\hypertarget{class_s_c_i_run_1_1_gui_1_1_g_l_widget_aacc9c102fba5ba3d4819b3d6d73dec50}{\index{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}!update\-Renderer@{update\-Renderer}}
\index{update\-Renderer@{update\-Renderer}!SCIRun::Gui::GLWidget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}}
\subsubsection[{update\-Renderer}]{\setlength{\rightskip}{0pt plus 5cm}void update\-Renderer (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [slot]}}}\label{class_s_c_i_run_1_1_gui_1_1_g_l_widget_aacc9c102fba5ba3d4819b3d6d73dec50}
\hypertarget{class_s_c_i_run_1_1_gui_1_1_g_l_widget_aca4aade13313c3deb599501abdd947f1}{\index{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}!wheel\-Event@{wheel\-Event}}
\index{wheel\-Event@{wheel\-Event}!SCIRun::Gui::GLWidget@{S\-C\-I\-Run\-::\-Gui\-::\-G\-L\-Widget}}
\subsubsection[{wheel\-Event}]{\setlength{\rightskip}{0pt plus 5cm}void wheel\-Event (
\begin{DoxyParamCaption}
\item[{Q\-Wheel\-Event $\ast$}]{event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_gui_1_1_g_l_widget_aca4aade13313c3deb599501abdd947f1}


The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Interface/\-Modules/\-Render/\hyperlink{_g_l_widget_8h}{G\-L\-Widget.\-h}\item 
Interface/\-Modules/\-Render/\hyperlink{_g_l_widget_8cc}{G\-L\-Widget.\-cc}\end{DoxyCompactItemize}
