\doxysection{Route\+Painter\+Lines.\+hpp}
\hypertarget{RoutePainterLines_8hpp_source}{}\label{RoutePainterLines_8hpp_source}\index{/home/chr/devel/PhD/Environment/pub/PCBEnv/pcbenv/cxx/UI/RoutePainterLines.hpp@{/home/chr/devel/PhD/Environment/pub/PCBEnv/pcbenv/cxx/UI/RoutePainterLines.hpp}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#ifndef\ GYM\_PCB\_UI\_ROUTEPAINTERLINES\_H}}
\DoxyCodeLine{00003\ \textcolor{preprocessor}{\#define\ GYM\_PCB\_UI\_ROUTEPAINTERLINES\_H}}
\DoxyCodeLine{00004\ }
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ "{}GLContext.hpp"{}}}
\DoxyCodeLine{00006\ }
\DoxyCodeLine{00007\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classConnection}{Connection}};}
\DoxyCodeLine{00008\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classPCBoard}{PCBoard}};}
\DoxyCodeLine{00009\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classCamera}{Camera}};}
\DoxyCodeLine{00010\ }
\DoxyCodeLine{00011\ \textcolor{keyword}{class\ }RoutePainterLines}
\DoxyCodeLine{00012\ \{}
\DoxyCodeLine{00013\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00014\ \ \ \ \ RoutePainterLines(\textcolor{keyword}{const}\ \mbox{\hyperlink{classPCBoard}{PCBoard}}\&);}
\DoxyCodeLine{00015\ \ \ \ \ \string~RoutePainterLines();}
\DoxyCodeLine{00016\ \ \ \ \ \textcolor{keywordtype}{void}\ update(\textcolor{keyword}{const}\ std::vector<Connection\ *>\&);}
\DoxyCodeLine{00017\ \ \ \ \ \textcolor{keywordtype}{void}\ setLineWidth(\textcolor{keywordtype}{float}\ w)\ \{\ mBaseLineWidth\ =\ w;\ \}}
\DoxyCodeLine{00018\ \ \ \ \ \textcolor{keywordtype}{void}\ draw(\textcolor{keyword}{const}\ \mbox{\hyperlink{classCamera}{Camera}}\&);}
\DoxyCodeLine{00019\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00020\ \ \ \ \ \textcolor{keyword}{const}\ \mbox{\hyperlink{classPCBoard}{PCBoard}}\ \&mPCB;}
\DoxyCodeLine{00021\ \ \ \ \ uint\ mNumLineStrips\{0\};}
\DoxyCodeLine{00022\ \ \ \ \ uint\ mVertexCountEstimate\{64\};}
\DoxyCodeLine{00023\ \ \ \ \ \textcolor{keywordtype}{float}\ mBaseLineWidth\{2.0f\};}
\DoxyCodeLine{00024\ \ \ \ \ \textcolor{keywordtype}{float}\ mColorVars[2][4];}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00026\ \ \ \ \ GLuint\ mVBO\{0\};}
\DoxyCodeLine{00027\ \ \ \ \ GLuint\ mCMD\{0\};}
\DoxyCodeLine{00028\ \ \ \ \ GLuint\ mVAO\{0\};}
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00030\ \ \ \ \ \textcolor{keyword}{static}\ GLuint\ sVP,\ sFP,\ sPP;}
\DoxyCodeLine{00031\ \ \ \ \ \textcolor{keyword}{static}\ GLint\ sUniformColors;}
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00033\ \ \ \ \ \textcolor{keywordtype}{void}\ createVAO();}
\DoxyCodeLine{00034\ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{void}\ createShaders();}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00036\ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keyword}{constexpr}\ \textcolor{keyword}{const}\ GLushort\ RestartIndex\ =\ 0xffff;}
\DoxyCodeLine{00037\ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keyword}{constexpr}\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{bool}\ UseLineStrips\ =\ \textcolor{keyword}{false};}
\DoxyCodeLine{00038\ \};}
\DoxyCodeLine{00039\ }
\DoxyCodeLine{00040\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ GYM\_PCB\_UI\_ROUTEPAINTERLINES\_H}}

\end{DoxyCode}
