\hypertarget{a07868}{}\section{A\+CG\+:\+:Scene\+Graph\+:\+:A\+CG\+:\+:Color\+Stack\+:\+:Node Class Reference}
\label{a07868}\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Color\+Stack\+::\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Color\+Stack\+::\+Node}}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07868_a96db39dc87a1ba758eef61b527718332}\label{a07868_a96db39dc87a1ba758eef61b527718332}} 
{\bfseries Node} (size\+\_\+t \+\_\+idx, \hyperlink{a07868}{Node} $\ast$\+\_\+parent, \hyperlink{a07860}{Color\+Translator} $\ast$\+\_\+ct)
\item 
\mbox{\Hypertarget{a07868_a54ff043feaa2e61484b406a8b2782af2}\label{a07868_a54ff043feaa2e61484b406a8b2782af2}} 
bool \hyperlink{a07868_a54ff043feaa2e61484b406a8b2782af2}{set\+Maximum\+Index} (size\+\_\+t \+\_\+idx)
\begin{DoxyCompactList}\small\item\em sets the maximum index number used in current node \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07868_acef09fddb643eec1d87e98fc99dcfd8e}\label{a07868_acef09fddb643eec1d87e98fc99dcfd8e}} 
bool \hyperlink{a07868_acef09fddb643eec1d87e98fc99dcfd8e}{set\+Index} (size\+\_\+t \+\_\+idx) const
\begin{DoxyCompactList}\small\item\em sets the current color the given index (like gl\+Load\+Name) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07868_a9346f46783d17d98252486f26bc2d8b4}\label{a07868_a9346f46783d17d98252486f26bc2d8b4}} 
bool \hyperlink{a07868_a9346f46783d17d98252486f26bc2d8b4}{get\+Index\+Color} (size\+\_\+t \+\_\+idx, \hyperlink{a08448}{Vec4uc} \&\+\_\+rgba) const
\begin{DoxyCompactList}\small\item\em gets the color instead of setting it directly \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07868_a11a055dafacc0ebad385291d9f2ddd96}\label{a07868_a11a055dafacc0ebad385291d9f2ddd96}} 
\hyperlink{a07868}{Node} $\ast$ \hyperlink{a07868_a11a055dafacc0ebad385291d9f2ddd96}{push\+Index} (size\+\_\+t \+\_\+idx)
\begin{DoxyCompactList}\small\item\em creates a new node the stack (like gl\+Push\+Name) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07868_ae1c2582b9a53eadcb3daf0ffd7946eda}\label{a07868_ae1c2582b9a53eadcb3daf0ffd7946eda}} 
\hyperlink{a07868}{Node} $\ast$ \hyperlink{a07868_ae1c2582b9a53eadcb3daf0ffd7946eda}{pop\+Index} ()
\begin{DoxyCompactList}\small\item\em pops the current node from the stack (like gl\+Pop\+Name) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07868_a07a642487cf88255b99b93312e2de3ac}\label{a07868_a07a642487cf88255b99b93312e2de3ac}} 
void {\bfseries color\+To\+Stack} (std\+::vector$<$ size\+\_\+t $>$ \&\+\_\+stack, size\+\_\+t size\+\_\+t)
\item 
\mbox{\Hypertarget{a07868_a44f73d23c52d0c5762e3061c22f28be5}\label{a07868_a44f73d23c52d0c5762e3061c22f28be5}} 
size\+\_\+t {\bfseries start\+Index} () const
\item 
\mbox{\Hypertarget{a07868_ab28d430ad5db21feedcb42342182b424}\label{a07868_ab28d430ad5db21feedcb42342182b424}} 
size\+\_\+t {\bfseries end\+Index} () const
\item 
\mbox{\Hypertarget{a07868_aaa2e823741da2a7655094beb5a2e5f6d}\label{a07868_aaa2e823741da2a7655094beb5a2e5f6d}} 
size\+\_\+t {\bfseries color\+Index} () const
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07868_a3f361992d4fa305b80dec91a520546c2}\label{a07868_a3f361992d4fa305b80dec91a520546c2}} 
\hyperlink{a07868}{Node} $\ast$ {\bfseries parent\+\_\+}
\item 
\mbox{\Hypertarget{a07868_a414f48348e828abf36bbb2272d1d2765}\label{a07868_a414f48348e828abf36bbb2272d1d2765}} 
size\+\_\+t {\bfseries index\+\_\+}
\item 
\mbox{\Hypertarget{a07868_aab3577642e504e462784977988662406}\label{a07868_aab3577642e504e462784977988662406}} 
\hyperlink{a07860}{Color\+Translator} $\ast$ {\bfseries translator\+\_\+}
\item 
\mbox{\Hypertarget{a07868_aec2e04aa3b16c4e1e9eac6481102ca95}\label{a07868_aec2e04aa3b16c4e1e9eac6481102ca95}} 
std\+::vector$<$ \hyperlink{a07868}{Node} $\ast$ $>$ {\bfseries nodes\+\_\+}
\item 
\mbox{\Hypertarget{a07868_a43697f417de273cc13931efc9d00b051}\label{a07868_a43697f417de273cc13931efc9d00b051}} 
size\+\_\+t {\bfseries start\+Idx\+\_\+}
\item 
\mbox{\Hypertarget{a07868_a10bfeab789288300f6b608f330e722a1}\label{a07868_a10bfeab789288300f6b608f330e722a1}} 
size\+\_\+t {\bfseries end\+Idx\+\_\+}
\item 
\mbox{\Hypertarget{a07868_a92937d7ccc1b8a82efe1ae847abf96d6}\label{a07868_a92937d7ccc1b8a82efe1ae847abf96d6}} 
size\+\_\+t {\bfseries color\+Start\+Idx\+\_\+}
\item 
\mbox{\Hypertarget{a07868_ad8a02388431d3f3601a936a07aab0ec8}\label{a07868_ad8a02388431d3f3601a936a07aab0ec8}} 
size\+\_\+t {\bfseries color\+End\+Idx\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 118 of file Mesh\+Node2\+T\+\_\+impl.\+hh.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Scenegraph/Mesh\+Node2\+T\+\_\+impl.\+hh\end{DoxyCompactItemize}
