\hypertarget{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render}{
\section{LetterCDT::LetterCDTTest2dRender Class Reference}
\label{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render}\index{LetterCDT::LetterCDTTest2dRender@{LetterCDT::LetterCDTTest2dRender}}
}
Opengl Render tailored specifically for letterCDT test. It can render these 2d geometry:\begin{itemize}
\item Points\item Circles\item Lines It only supports a material being a configurable emissive color. \end{itemize}
 


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

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hypertarget{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_569d7356e9aca4d895614c979e53754e}{
\hyperlink{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_569d7356e9aca4d895614c979e53754e}{LetterCDTTest2dRender} (void)}
\label{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_569d7356e9aca4d895614c979e53754e}

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

\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
void \hyperlink{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_ddfcf83cc89711452312c61090516e05}{LoadPresetConfiguration} (int width, int height)
\begin{CompactList}\small\item\em Loads a default opengl configuration. \item\end{CompactList}\item 
\hypertarget{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_7d45314a1f0e5c58cf6143bc76877483}{
void \hyperlink{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_7d45314a1f0e5c58cf6143bc76877483}{BeginFrame} (void)}
\label{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_7d45314a1f0e5c58cf6143bc76877483}

\begin{CompactList}\small\item\em Begins render frame. \item\end{CompactList}\item 
void \hyperlink{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_a23b52fe5f51deeff47a3805e1955736}{SetMaterial} (float red, float green, float blue)
\begin{CompactList}\small\item\em Sets the only material: emissive color. \item\end{CompactList}\item 
void \hyperlink{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_2a790106595e30c1ee0b48ec50995fe4}{DrawPoints} (const std::vector$<$ \hyperlink{class_letter_c_d_t_1_1_point}{Point} $>$ \&points)
\begin{CompactList}\small\item\em Draws a vector of points in 2d with a fixed point size. \item\end{CompactList}\item 
void \hyperlink{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_e335c39e757c344e6b4f301a85351592}{DrawLines} (const std::vector$<$ Line $>$ \&lines)
\begin{CompactList}\small\item\em Draws a vector of lines in 2d. \item\end{CompactList}\item 
\hypertarget{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_f4ba40341dc66ce96301cb8ee2c6daf6}{
void \textbf{DrawTriangles} (const std::vector$<$ \hyperlink{class_letter_c_d_t_1_1_point}{Point} $>$ \&points, const std::vector$<$ int $>$ \&indices)}
\label{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_f4ba40341dc66ce96301cb8ee2c6daf6}

\item 
\hypertarget{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_3571f842345749c8a73cef05303871e1}{
void \hyperlink{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_3571f842345749c8a73cef05303871e1}{EndFrame} (void)}
\label{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_3571f842345749c8a73cef05303871e1}

\begin{CompactList}\small\item\em Ends render frame. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Opengl Render tailored specifically for letterCDT test. It can render these 2d geometry:\begin{itemize}
\item Points\item Circles\item Lines It only supports a material being a configurable emissive color. \end{itemize}


\subsection{Member Function Documentation}
\hypertarget{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_e335c39e757c344e6b4f301a85351592}{
\index{LetterCDT::LetterCDTTest2dRender@{LetterCDT::LetterCDTTest2dRender}!DrawLines@{DrawLines}}
\index{DrawLines@{DrawLines}!LetterCDT::LetterCDTTest2dRender@{LetterCDT::LetterCDTTest2dRender}}
\subsubsection[{DrawLines}]{\setlength{\rightskip}{0pt plus 5cm}void LetterCDTTest2dRender::DrawLines (const std::vector$<$ Line $>$ \& {\em lines})}}
\label{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_e335c39e757c344e6b4f301a85351592}


Draws a vector of lines in 2d. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em lines}]the vector of lines \end{description}
\end{Desc}
\hypertarget{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_2a790106595e30c1ee0b48ec50995fe4}{
\index{LetterCDT::LetterCDTTest2dRender@{LetterCDT::LetterCDTTest2dRender}!DrawPoints@{DrawPoints}}
\index{DrawPoints@{DrawPoints}!LetterCDT::LetterCDTTest2dRender@{LetterCDT::LetterCDTTest2dRender}}
\subsubsection[{DrawPoints}]{\setlength{\rightskip}{0pt plus 5cm}void LetterCDTTest2dRender::DrawPoints (const std::vector$<$ {\bf Point} $>$ \& {\em points})}}
\label{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_2a790106595e30c1ee0b48ec50995fe4}


Draws a vector of points in 2d with a fixed point size. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em points}]the vector of points \end{description}
\end{Desc}
\hypertarget{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_ddfcf83cc89711452312c61090516e05}{
\index{LetterCDT::LetterCDTTest2dRender@{LetterCDT::LetterCDTTest2dRender}!LoadPresetConfiguration@{LoadPresetConfiguration}}
\index{LoadPresetConfiguration@{LoadPresetConfiguration}!LetterCDT::LetterCDTTest2dRender@{LetterCDT::LetterCDTTest2dRender}}
\subsubsection[{LoadPresetConfiguration}]{\setlength{\rightskip}{0pt plus 5cm}void LetterCDTTest2dRender::LoadPresetConfiguration (int {\em width}, \/  int {\em height})}}
\label{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_ddfcf83cc89711452312c61090516e05}


Loads a default opengl configuration. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em width}]render window width \item[{\em height}]render window height \end{description}
\end{Desc}
\hypertarget{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_a23b52fe5f51deeff47a3805e1955736}{
\index{LetterCDT::LetterCDTTest2dRender@{LetterCDT::LetterCDTTest2dRender}!SetMaterial@{SetMaterial}}
\index{SetMaterial@{SetMaterial}!LetterCDT::LetterCDTTest2dRender@{LetterCDT::LetterCDTTest2dRender}}
\subsubsection[{SetMaterial}]{\setlength{\rightskip}{0pt plus 5cm}void LetterCDTTest2dRender::SetMaterial (float {\em red}, \/  float {\em green}, \/  float {\em blue})}}
\label{class_letter_c_d_t_1_1_letter_c_d_t_test2d_render_a23b52fe5f51deeff47a3805e1955736}


Sets the only material: emissive color. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em red}]red channel \item[{\em green}]green channel \item[{\em blue}]blue channel \end{description}
\end{Desc}


The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
src/letterCdt/\hyperlink{_letter_c_d_t_test2d_render_8h}{LetterCDTTest2dRender.h}\item 
src/letterCdt/\hyperlink{_letter_c_d_t_test2d_render_8cpp}{LetterCDTTest2dRender.cpp}\end{CompactItemize}
