\hypertarget{a00879}{\section{A\+C\+G\+:\+:Color\+Stack\+:\+:Node Class Reference}
\label{a00879}\index{A\+C\+G\+::\+Color\+Stack\+::\+Node@{A\+C\+G\+::\+Color\+Stack\+::\+Node}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00879_a0d73b63927815bdccefc78a0062e7771}{{\bfseries Node} (unsigned int \+\_\+idx, \hyperlink{a00879}{Node} $\ast$\+\_\+parent, \hyperlink{a00433}{Color\+Translator} $\ast$\+\_\+ct)}\label{a00879_a0d73b63927815bdccefc78a0062e7771}

\item 
\hypertarget{a00879_a1805c55cfa91b851438a09b758073a19}{bool \hyperlink{a00879_a1805c55cfa91b851438a09b758073a19}{set\+Maximum\+Index} (unsigned int \+\_\+idx)}\label{a00879_a1805c55cfa91b851438a09b758073a19}

\begin{DoxyCompactList}\small\item\em sets the maximum index number used in current node \end{DoxyCompactList}\item 
\hypertarget{a00879_a36ce34b27b1a425a7b06e07d538a8a82}{bool \hyperlink{a00879_a36ce34b27b1a425a7b06e07d538a8a82}{set\+Index} (unsigned int \+\_\+idx) const }\label{a00879_a36ce34b27b1a425a7b06e07d538a8a82}

\begin{DoxyCompactList}\small\item\em sets the current color the given index (like gl\+Load\+Name) \end{DoxyCompactList}\item 
\hypertarget{a00879_ac7ae3de7c3f814c7f32775b79b6b6e67}{bool \hyperlink{a00879_ac7ae3de7c3f814c7f32775b79b6b6e67}{get\+Index\+Color} (unsigned int \+\_\+idx, \hyperlink{a03336_adb89a8d57b6d179ad535c0880a8b616e}{Vec4uc} \&\+\_\+rgba) const }\label{a00879_ac7ae3de7c3f814c7f32775b79b6b6e67}

\begin{DoxyCompactList}\small\item\em gets the color instead of setting it directly \end{DoxyCompactList}\item 
\hypertarget{a00879_a24bd96402c4514d8b4cb310c1a0595fe}{\hyperlink{a00879}{Node} $\ast$ \hyperlink{a00879_a24bd96402c4514d8b4cb310c1a0595fe}{push\+Index} (unsigned int \+\_\+idx)}\label{a00879_a24bd96402c4514d8b4cb310c1a0595fe}

\begin{DoxyCompactList}\small\item\em creates a new node the stack (like gl\+Push\+Name) \end{DoxyCompactList}\item 
\hypertarget{a00879_ad221e346218fa6c68f825dd5e31de300}{\hyperlink{a00879}{Node} $\ast$ \hyperlink{a00879_ad221e346218fa6c68f825dd5e31de300}{pop\+Index} ()}\label{a00879_ad221e346218fa6c68f825dd5e31de300}

\begin{DoxyCompactList}\small\item\em pops the current node from the stack (like gl\+Pop\+Name) \end{DoxyCompactList}\item 
\hypertarget{a00879_add495791f4640629c46acadde9fd3669}{void {\bfseries color\+To\+Stack} (std\+::vector$<$ unsigned int $>$ \&\+\_\+stack, unsigned int \+\_\+index)}\label{a00879_add495791f4640629c46acadde9fd3669}

\item 
\hypertarget{a00879_a3ce0fcd56cefd181e7d7d57d1b67ef36}{unsigned int {\bfseries start\+Index} ()}\label{a00879_a3ce0fcd56cefd181e7d7d57d1b67ef36}

\item 
\hypertarget{a00879_a5ad8da44a67c51a5125333c72959dea3}{unsigned int {\bfseries end\+Index} ()}\label{a00879_a5ad8da44a67c51a5125333c72959dea3}

\item 
\hypertarget{a00879_af745231193d52921b61f3dfc00b84bba}{unsigned int {\bfseries color\+Index} ()}\label{a00879_af745231193d52921b61f3dfc00b84bba}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00879_a5d6a9221c34b013458d9fdc085375a65}{\hyperlink{a00879}{Node} $\ast$ {\bfseries parent\+\_\+}}\label{a00879_a5d6a9221c34b013458d9fdc085375a65}

\item 
\hypertarget{a00879_aa259076f04f6bd708337f70893e54608}{unsigned int {\bfseries index\+\_\+}}\label{a00879_aa259076f04f6bd708337f70893e54608}

\item 
\hypertarget{a00879_aa93593accd636ba7cfda7242032454d2}{\hyperlink{a00433}{Color\+Translator} $\ast$ {\bfseries translator\+\_\+}}\label{a00879_aa93593accd636ba7cfda7242032454d2}

\item 
\hypertarget{a00879_a07885fedb9f1c9e07c8bd0bf6124c935}{std\+::vector$<$ \hyperlink{a00879}{Node} $\ast$ $>$ {\bfseries nodes\+\_\+}}\label{a00879_a07885fedb9f1c9e07c8bd0bf6124c935}

\item 
\hypertarget{a00879_aa4835099fd034d081c7b696d05638242}{unsigned int {\bfseries start\+Idx\+\_\+}}\label{a00879_aa4835099fd034d081c7b696d05638242}

\item 
\hypertarget{a00879_a8bdc428ca3237a5d15b1dc414df05146}{unsigned int {\bfseries end\+Idx\+\_\+}}\label{a00879_a8bdc428ca3237a5d15b1dc414df05146}

\item 
\hypertarget{a00879_a162a3aae7ab68c01d7f59ae7ffa2c5e9}{unsigned int {\bfseries color\+Start\+Idx\+\_\+}}\label{a00879_a162a3aae7ab68c01d7f59ae7ffa2c5e9}

\item 
\hypertarget{a00879_a3816aa27c06d85e6e12406346583579b}{unsigned int {\bfseries color\+End\+Idx\+\_\+}}\label{a00879_a3816aa27c06d85e6e12406346583579b}

\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 128 of file Color\+Stack.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
A\+C\+G/\+G\+L/Color\+Stack.\+hh\item 
A\+C\+G/\+G\+L/Color\+Stack.\+cc\end{DoxyCompactItemize}
