\hypertarget{class_glut_wrapper_1_1_i_runner}{
\section{GlutWrapper::IRunner Class Reference}
\label{class_glut_wrapper_1_1_i_runner}\index{GlutWrapper::IRunner@{GlutWrapper::IRunner}}
}
Runs the test. It's used by Window.  


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

Inheritance diagram for GlutWrapper::IRunner::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_glut_wrapper_1_1_i_runner}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
virtual void \hyperlink{class_glut_wrapper_1_1_i_runner_c039b0a50e80f0f30e8936366bfac79e}{InitializeOpengl} (int width, int height)=0
\begin{CompactList}\small\item\em It is called after opengl context is created. It can be used to setup opengl states. \item\end{CompactList}\item 
\hypertarget{class_glut_wrapper_1_1_i_runner_e929784e463c3d975a9ab6988dd1315f}{
virtual void \hyperlink{class_glut_wrapper_1_1_i_runner_e929784e463c3d975a9ab6988dd1315f}{Run} (void)=0}
\label{class_glut_wrapper_1_1_i_runner_e929784e463c3d975a9ab6988dd1315f}

\begin{CompactList}\small\item\em Runs a step of the test. Its called once every iteration of the main loop. \item\end{CompactList}\item 
virtual void \hyperlink{class_glut_wrapper_1_1_i_runner_c7b048663fc8de7f3ddb17ff8d51e437}{Reshape} (int width, int height)=0
\begin{CompactList}\small\item\em It is called when the window has been reshaped. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
\hypertarget{class_glut_wrapper_1_1_i_runner_2b10cf4e44f1d70be6654b84c3adcebd}{
\hyperlink{class_glut_wrapper_1_1_i_runner_2b10cf4e44f1d70be6654b84c3adcebd}{IRunner} (void)}
\label{class_glut_wrapper_1_1_i_runner_2b10cf4e44f1d70be6654b84c3adcebd}

\begin{CompactList}\small\item\em Contructor hidden from user. \item\end{CompactList}\item 
\hypertarget{class_glut_wrapper_1_1_i_runner_9f1d0b39c701113c38052e7aa889887a}{
virtual \hyperlink{class_glut_wrapper_1_1_i_runner_9f1d0b39c701113c38052e7aa889887a}{$\sim$IRunner} (void)=0}
\label{class_glut_wrapper_1_1_i_runner_9f1d0b39c701113c38052e7aa889887a}

\begin{CompactList}\small\item\em Destructor hidden from user. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Runs the test. It's used by Window. 

\begin{Desc}
\item[Note:]GlutWrapper::Window \end{Desc}


\subsection{Member Function Documentation}
\hypertarget{class_glut_wrapper_1_1_i_runner_c039b0a50e80f0f30e8936366bfac79e}{
\index{GlutWrapper::IRunner@{GlutWrapper::IRunner}!InitializeOpengl@{InitializeOpengl}}
\index{InitializeOpengl@{InitializeOpengl}!GlutWrapper::IRunner@{GlutWrapper::IRunner}}
\subsubsection[{InitializeOpengl}]{\setlength{\rightskip}{0pt plus 5cm}virtual void GlutWrapper::IRunner::InitializeOpengl (int {\em width}, \/  int {\em height})\hspace{0.3cm}{\tt  \mbox{[}pure virtual\mbox{]}}}}
\label{class_glut_wrapper_1_1_i_runner_c039b0a50e80f0f30e8936366bfac79e}


It is called after opengl context is created. It can be used to setup opengl states. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em width}]render window width \item[{\em height}]render window height \end{description}
\end{Desc}


Implemented in \hyperlink{class_letter_c_d_t_1_1_letter_c_d_t_test_runner_dfaf67f8b7b76f5509198a6eca4c4915}{LetterCDT::LetterCDTTestRunner}.\hypertarget{class_glut_wrapper_1_1_i_runner_c7b048663fc8de7f3ddb17ff8d51e437}{
\index{GlutWrapper::IRunner@{GlutWrapper::IRunner}!Reshape@{Reshape}}
\index{Reshape@{Reshape}!GlutWrapper::IRunner@{GlutWrapper::IRunner}}
\subsubsection[{Reshape}]{\setlength{\rightskip}{0pt plus 5cm}virtual void GlutWrapper::IRunner::Reshape (int {\em width}, \/  int {\em height})\hspace{0.3cm}{\tt  \mbox{[}pure virtual\mbox{]}}}}
\label{class_glut_wrapper_1_1_i_runner_c7b048663fc8de7f3ddb17ff8d51e437}


It is called when the window has been reshaped. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em width}]render window width \item[{\em height}]render window height \end{description}
\end{Desc}


Implemented in \hyperlink{class_letter_c_d_t_1_1_letter_c_d_t_test_runner_b00b50ef8b0043e43d7d0949beff87d8}{LetterCDT::LetterCDTTestRunner}.

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
src/letterCdt/\hyperlink{_i_runner_8h}{IRunner.h}\end{CompactItemize}
