\hypertarget{class_delaunay_test_1_1_delaunay_test2d_render}{
\section{DelaunayTest::DelaunayTest2dRender Class Reference}
\label{class_delaunay_test_1_1_delaunay_test2d_render}\index{DelaunayTest::DelaunayTest2dRender@{DelaunayTest::DelaunayTest2dRender}}
}
Opengl Render tailored specifically for 2dRender 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 $<$DelaunayTest2dRender.h$>$}

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

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

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

\begin{CompactList}\small\item\em Begins render frame. \item\end{CompactList}\item 
void \hyperlink{class_delaunay_test_1_1_delaunay_test2d_render_565c53e21978b24acf0249c3212ad65c}{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_delaunay_test_1_1_delaunay_test2d_render_c4d5ef520c8c1eeb0d7cc501f3cbd641}{DrawPoints} (const std::vector$<$ \hyperlink{class_delaunay_test_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_delaunay_test_1_1_delaunay_test2d_render_dc576e5d3998c453cea2c958648d6eae}{DrawLines} (const std::vector$<$ \hyperlink{class_delaunay_test_1_1_line}{Line} $>$ \&lines)
\begin{CompactList}\small\item\em Draws a vector of lines in 2d. \item\end{CompactList}\item 
void \hyperlink{class_delaunay_test_1_1_delaunay_test2d_render_572f508f656aa835f2d8ff883597d59b}{DrawCircles} (const std::vector$<$ \hyperlink{class_delaunay_test_1_1_circle}{Circle} $>$ \&circles)
\begin{CompactList}\small\item\em Draws a vector of circles in 2d. \item\end{CompactList}\item 
\hypertarget{class_delaunay_test_1_1_delaunay_test2d_render_c18fb5d48267515c220aabc73539f3a4}{
void \hyperlink{class_delaunay_test_1_1_delaunay_test2d_render_c18fb5d48267515c220aabc73539f3a4}{EndFrame} (void)}
\label{class_delaunay_test_1_1_delaunay_test2d_render_c18fb5d48267515c220aabc73539f3a4}

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


\subsection{Detailed Description}
Opengl Render tailored specifically for 2dRender 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_delaunay_test_1_1_delaunay_test2d_render_572f508f656aa835f2d8ff883597d59b}{
\index{DelaunayTest::DelaunayTest2dRender@{DelaunayTest::DelaunayTest2dRender}!DrawCircles@{DrawCircles}}
\index{DrawCircles@{DrawCircles}!DelaunayTest::DelaunayTest2dRender@{DelaunayTest::DelaunayTest2dRender}}
\subsubsection[{DrawCircles}]{\setlength{\rightskip}{0pt plus 5cm}void DelaunayTest2dRender::DrawCircles (const std::vector$<$ {\bf Circle} $>$ \& {\em circles})}}
\label{class_delaunay_test_1_1_delaunay_test2d_render_572f508f656aa835f2d8ff883597d59b}


Draws a vector of circles in 2d. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em circles}]the vector of circles \end{description}
\end{Desc}


Draw a circle

get the current angle \hypertarget{class_delaunay_test_1_1_delaunay_test2d_render_dc576e5d3998c453cea2c958648d6eae}{
\index{DelaunayTest::DelaunayTest2dRender@{DelaunayTest::DelaunayTest2dRender}!DrawLines@{DrawLines}}
\index{DrawLines@{DrawLines}!DelaunayTest::DelaunayTest2dRender@{DelaunayTest::DelaunayTest2dRender}}
\subsubsection[{DrawLines}]{\setlength{\rightskip}{0pt plus 5cm}void DelaunayTest2dRender::DrawLines (const std::vector$<$ {\bf Line} $>$ \& {\em lines})}}
\label{class_delaunay_test_1_1_delaunay_test2d_render_dc576e5d3998c453cea2c958648d6eae}


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_delaunay_test_1_1_delaunay_test2d_render_c4d5ef520c8c1eeb0d7cc501f3cbd641}{
\index{DelaunayTest::DelaunayTest2dRender@{DelaunayTest::DelaunayTest2dRender}!DrawPoints@{DrawPoints}}
\index{DrawPoints@{DrawPoints}!DelaunayTest::DelaunayTest2dRender@{DelaunayTest::DelaunayTest2dRender}}
\subsubsection[{DrawPoints}]{\setlength{\rightskip}{0pt plus 5cm}void DelaunayTest2dRender::DrawPoints (const std::vector$<$ {\bf Point} $>$ \& {\em points})}}
\label{class_delaunay_test_1_1_delaunay_test2d_render_c4d5ef520c8c1eeb0d7cc501f3cbd641}


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_delaunay_test_1_1_delaunay_test2d_render_2ad8b7d0ef8530e633f43df13811a462}{
\index{DelaunayTest::DelaunayTest2dRender@{DelaunayTest::DelaunayTest2dRender}!LoadPresetConfiguration@{LoadPresetConfiguration}}
\index{LoadPresetConfiguration@{LoadPresetConfiguration}!DelaunayTest::DelaunayTest2dRender@{DelaunayTest::DelaunayTest2dRender}}
\subsubsection[{LoadPresetConfiguration}]{\setlength{\rightskip}{0pt plus 5cm}void DelaunayTest2dRender::LoadPresetConfiguration (int {\em width}, \/  int {\em height})}}
\label{class_delaunay_test_1_1_delaunay_test2d_render_2ad8b7d0ef8530e633f43df13811a462}


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_delaunay_test_1_1_delaunay_test2d_render_565c53e21978b24acf0249c3212ad65c}{
\index{DelaunayTest::DelaunayTest2dRender@{DelaunayTest::DelaunayTest2dRender}!SetMaterial@{SetMaterial}}
\index{SetMaterial@{SetMaterial}!DelaunayTest::DelaunayTest2dRender@{DelaunayTest::DelaunayTest2dRender}}
\subsubsection[{SetMaterial}]{\setlength{\rightskip}{0pt plus 5cm}void DelaunayTest2dRender::SetMaterial (float {\em red}, \/  float {\em green}, \/  float {\em blue})}}
\label{class_delaunay_test_1_1_delaunay_test2d_render_565c53e21978b24acf0249c3212ad65c}


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/tests/2dRender/\hyperlink{_delaunay_test2d_render_8h}{DelaunayTest2dRender.h}\item 
src/tests/2dRender/\hyperlink{_delaunay_test2d_render_8cpp}{DelaunayTest2dRender.cpp}\end{CompactItemize}
