\hypertarget{class_delaunay_test_1_1_delaunay_test_runner}{
\section{DelaunayTest::DelaunayTestRunner Class Reference}
\label{class_delaunay_test_1_1_delaunay_test_runner}\index{DelaunayTest::DelaunayTestRunner@{DelaunayTest::DelaunayTestRunner}}
}
It acts as a controller between render, logic and user interaction. It's executed by GlutWrapper::Window through \hyperlink{class_glut_wrapper_1_1_i_runner}{GlutWrapper::IRunner} interface. Also the right mouse menus are defined through \hyperlink{class_glut_wrapper_1_1_i_menu_listener}{GlutWrapper::IMenuListener} (GetMenuEntries method).  


{\tt \#include $<$DelaunayTestRunner.h$>$}

Inheritance diagram for DelaunayTest::DelaunayTestRunner::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_delaunay_test_1_1_delaunay_test_runner}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hypertarget{class_delaunay_test_1_1_delaunay_test_runner_35b31bbf13a7d61967abbc077d2c9110}{
\hyperlink{class_delaunay_test_1_1_delaunay_test_runner_35b31bbf13a7d61967abbc077d2c9110}{DelaunayTestRunner} (void)}
\label{class_delaunay_test_1_1_delaunay_test_runner_35b31bbf13a7d61967abbc077d2c9110}

\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hypertarget{class_delaunay_test_1_1_delaunay_test_runner_8d676ce745737daa4c32dad590b7e50d}{
\hyperlink{class_delaunay_test_1_1_delaunay_test_runner_8d676ce745737daa4c32dad590b7e50d}{$\sim$DelaunayTestRunner} (void)}
\label{class_delaunay_test_1_1_delaunay_test_runner_8d676ce745737daa4c32dad590b7e50d}

\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
void \hyperlink{class_delaunay_test_1_1_delaunay_test_runner_e7b937721dce371aba84612addcb6129}{InitializeOpengl} (int width, int height)
\begin{CompactList}\small\item\em Creates opengl context and initialize some opengl states. \item\end{CompactList}\item 
void \hyperlink{class_delaunay_test_1_1_delaunay_test_runner_5a756466094adf6a3aed733d82f33435}{Run} (void)
\begin{CompactList}\small\item\em It runs a step of the test. It renders the triangulation. \item\end{CompactList}\item 
void \hyperlink{class_delaunay_test_1_1_delaunay_test_runner_32c92a007c0c5188085aad140a52c601}{Reshape} (int width, int height)
\begin{CompactList}\small\item\em It configs opengl with the new render window width and height. \item\end{CompactList}\item 
void \hyperlink{class_delaunay_test_1_1_delaunay_test_runner_768e58e40cfbc6c615e4a44b25300653}{ProcessMenuEvents} (int option)
\begin{CompactList}\small\item\em It process the events sent from right button mouse menu. Depending on the event it calls logic methods. \item\end{CompactList}\item 
const std::vector$<$ \hyperlink{struct_glut_wrapper_1_1_menu_entry}{GlutWrapper::MenuEntry} $>$ \& \hyperlink{class_delaunay_test_1_1_delaunay_test_runner_5306438d0df570faab732cfedd8ab0b2}{GetMenuEntries} (void) const 
\begin{CompactList}\small\item\em It gets the entries of the right button mouse menu. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
It acts as a controller between render, logic and user interaction. It's executed by GlutWrapper::Window through \hyperlink{class_glut_wrapper_1_1_i_runner}{GlutWrapper::IRunner} interface. Also the right mouse menus are defined through \hyperlink{class_glut_wrapper_1_1_i_menu_listener}{GlutWrapper::IMenuListener} (GetMenuEntries method). 

\subsection{Member Function Documentation}
\hypertarget{class_delaunay_test_1_1_delaunay_test_runner_5306438d0df570faab732cfedd8ab0b2}{
\index{DelaunayTest::DelaunayTestRunner@{DelaunayTest::DelaunayTestRunner}!GetMenuEntries@{GetMenuEntries}}
\index{GetMenuEntries@{GetMenuEntries}!DelaunayTest::DelaunayTestRunner@{DelaunayTest::DelaunayTestRunner}}
\subsubsection[{GetMenuEntries}]{\setlength{\rightskip}{0pt plus 5cm}const std::vector$<$ {\bf GlutWrapper::MenuEntry} $>$ \& DelaunayTestRunner::GetMenuEntries (void) const}}
\label{class_delaunay_test_1_1_delaunay_test_runner_5306438d0df570faab732cfedd8ab0b2}


It gets the entries of the right button mouse menu. 

\begin{Desc}
\item[Returns:]entries of the right button mouse menu. \end{Desc}
\begin{Desc}
\item[See also:]\hyperlink{class_glut_wrapper_1_1_i_menu_listener}{GlutWrapper::IMenuListener} \end{Desc}
\hypertarget{class_delaunay_test_1_1_delaunay_test_runner_e7b937721dce371aba84612addcb6129}{
\index{DelaunayTest::DelaunayTestRunner@{DelaunayTest::DelaunayTestRunner}!InitializeOpengl@{InitializeOpengl}}
\index{InitializeOpengl@{InitializeOpengl}!DelaunayTest::DelaunayTestRunner@{DelaunayTest::DelaunayTestRunner}}
\subsubsection[{InitializeOpengl}]{\setlength{\rightskip}{0pt plus 5cm}void DelaunayTestRunner::InitializeOpengl (int {\em width}, \/  int {\em height})\hspace{0.3cm}{\tt  \mbox{[}virtual\mbox{]}}}}
\label{class_delaunay_test_1_1_delaunay_test_runner_e7b937721dce371aba84612addcb6129}


Creates opengl context and initialize some opengl states. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em width}]render window width \item[{\em height}]render window height \end{description}
\end{Desc}
\begin{Desc}
\item[See also:]\hyperlink{class_glut_wrapper_1_1_i_runner}{GlutWrapper::IRunner} \end{Desc}


Implements \hyperlink{class_glut_wrapper_1_1_i_runner_c039b0a50e80f0f30e8936366bfac79e}{GlutWrapper::IRunner}.\hypertarget{class_delaunay_test_1_1_delaunay_test_runner_768e58e40cfbc6c615e4a44b25300653}{
\index{DelaunayTest::DelaunayTestRunner@{DelaunayTest::DelaunayTestRunner}!ProcessMenuEvents@{ProcessMenuEvents}}
\index{ProcessMenuEvents@{ProcessMenuEvents}!DelaunayTest::DelaunayTestRunner@{DelaunayTest::DelaunayTestRunner}}
\subsubsection[{ProcessMenuEvents}]{\setlength{\rightskip}{0pt plus 5cm}void DelaunayTestRunner::ProcessMenuEvents (int {\em option})\hspace{0.3cm}{\tt  \mbox{[}virtual\mbox{]}}}}
\label{class_delaunay_test_1_1_delaunay_test_runner_768e58e40cfbc6c615e4a44b25300653}


It process the events sent from right button mouse menu. Depending on the event it calls logic methods. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em option}]the menu option \end{description}
\end{Desc}
\begin{Desc}
\item[See also:]\hyperlink{class_glut_wrapper_1_1_i_menu_listener}{GlutWrapper::IMenuListener} \end{Desc}


Implements \hyperlink{class_glut_wrapper_1_1_i_menu_listener_c62bad8e0f968c7706f0b862d3ae3f40}{GlutWrapper::IMenuListener}.\hypertarget{class_delaunay_test_1_1_delaunay_test_runner_32c92a007c0c5188085aad140a52c601}{
\index{DelaunayTest::DelaunayTestRunner@{DelaunayTest::DelaunayTestRunner}!Reshape@{Reshape}}
\index{Reshape@{Reshape}!DelaunayTest::DelaunayTestRunner@{DelaunayTest::DelaunayTestRunner}}
\subsubsection[{Reshape}]{\setlength{\rightskip}{0pt plus 5cm}void DelaunayTestRunner::Reshape (int {\em width}, \/  int {\em height})\hspace{0.3cm}{\tt  \mbox{[}virtual\mbox{]}}}}
\label{class_delaunay_test_1_1_delaunay_test_runner_32c92a007c0c5188085aad140a52c601}


It configs opengl with the new render window width and height. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em width}]new render window width \item[{\em height}]new render window height \end{description}
\end{Desc}
\begin{Desc}
\item[See also:]\hyperlink{class_glut_wrapper_1_1_i_runner}{GlutWrapper::IRunner} \end{Desc}


Implements \hyperlink{class_glut_wrapper_1_1_i_runner_c7b048663fc8de7f3ddb17ff8d51e437}{GlutWrapper::IRunner}.\hypertarget{class_delaunay_test_1_1_delaunay_test_runner_5a756466094adf6a3aed733d82f33435}{
\index{DelaunayTest::DelaunayTestRunner@{DelaunayTest::DelaunayTestRunner}!Run@{Run}}
\index{Run@{Run}!DelaunayTest::DelaunayTestRunner@{DelaunayTest::DelaunayTestRunner}}
\subsubsection[{Run}]{\setlength{\rightskip}{0pt plus 5cm}void DelaunayTestRunner::Run (void)\hspace{0.3cm}{\tt  \mbox{[}virtual\mbox{]}}}}
\label{class_delaunay_test_1_1_delaunay_test_runner_5a756466094adf6a3aed733d82f33435}


It runs a step of the test. It renders the triangulation. 

\begin{Desc}
\item[See also:]\hyperlink{class_glut_wrapper_1_1_i_runner}{GlutWrapper::IRunner} \end{Desc}


Implements \hyperlink{class_glut_wrapper_1_1_i_runner_e929784e463c3d975a9ab6988dd1315f}{GlutWrapper::IRunner}.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
src/tests/2dRender/\hyperlink{_delaunay_test_runner_8h}{DelaunayTestRunner.h}\item 
src/tests/2dRender/\hyperlink{_delaunay_test_runner_8cpp}{DelaunayTestRunner.cpp}\end{CompactItemize}
