\hypertarget{a08220}{}\section{A\+CG\+:\+:Color\+Generator Class Reference}
\label{a08220}\index{A\+C\+G\+::\+Color\+Generator@{A\+C\+G\+::\+Color\+Generator}}


{\ttfamily \#include $<$Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Utils/\+Color\+Generator.\+hh$>$}

Inheritance diagram for A\+CG\+:\+:Color\+Generator\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a08220}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \hyperlink{a08220_ac2cc72983068bd86ddc07930d6e19a4c}{generate\+Next\+Color} ()=0
\item 
{\footnotesize template$<$class O\+U\+T\+P\+U\+T\+\_\+\+I\+T\+E\+R\+A\+T\+OR $>$ }\\void \hyperlink{a08220_a5050869eb7e806c740b90600e04b051c}{generate\+Next\+N\+Colors} (int n, O\+U\+T\+P\+U\+T\+\_\+\+I\+T\+E\+R\+A\+T\+OR oit)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
The \hyperlink{a08220}{Color\+Generator} interface provides a generic interface for color generators with different strategies. 

Definition at line 55 of file Color\+Generator.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a08220_ac2cc72983068bd86ddc07930d6e19a4c}\label{a08220_ac2cc72983068bd86ddc07930d6e19a4c}} 
\index{A\+C\+G\+::\+Color\+Generator@{A\+C\+G\+::\+Color\+Generator}!generate\+Next\+Color@{generate\+Next\+Color}}
\index{generate\+Next\+Color@{generate\+Next\+Color}!A\+C\+G\+::\+Color\+Generator@{A\+C\+G\+::\+Color\+Generator}}
\subsubsection{\texorpdfstring{generate\+Next\+Color()}{generateNextColor()}}
{\footnotesize\ttfamily virtual \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} A\+C\+G\+::\+Color\+Generator\+::generate\+Next\+Color (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}

\begin{DoxyReturn}{Returns}
A new color. 
\end{DoxyReturn}


Implemented in \hyperlink{a08224_a9c86ae5444431b9cdb7eca842bedd283}{A\+C\+G\+::\+Halton\+Colors}, and \hyperlink{a08244_a4cb431a5669aeebe446a785b9d3d0bb5}{A\+C\+G\+::\+Hue\+Partitioning\+Colors}.

\mbox{\Hypertarget{a08220_a5050869eb7e806c740b90600e04b051c}\label{a08220_a5050869eb7e806c740b90600e04b051c}} 
\index{A\+C\+G\+::\+Color\+Generator@{A\+C\+G\+::\+Color\+Generator}!generate\+Next\+N\+Colors@{generate\+Next\+N\+Colors}}
\index{generate\+Next\+N\+Colors@{generate\+Next\+N\+Colors}!A\+C\+G\+::\+Color\+Generator@{A\+C\+G\+::\+Color\+Generator}}
\subsubsection{\texorpdfstring{generate\+Next\+N\+Colors()}{generateNextNColors()}}
{\footnotesize\ttfamily template$<$class O\+U\+T\+P\+U\+T\+\_\+\+I\+T\+E\+R\+A\+T\+OR $>$ \\
void A\+C\+G\+::\+Color\+Generator\+::generate\+Next\+N\+Colors (\begin{DoxyParamCaption}\item[{int}]{n,  }\item[{O\+U\+T\+P\+U\+T\+\_\+\+I\+T\+E\+R\+A\+T\+OR}]{oit }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Put a bunch of colors into the output iterator.

Generates the same colors as if calling \hyperlink{a08220_ac2cc72983068bd86ddc07930d6e19a4c}{generate\+Next\+Color()} n times.

Typically, you would use std\+::back\+\_\+inserter(container) as the argument for oit.


\begin{DoxyParams}{Parameters}
{\em n} & How many colors to generate. \\
\hline
{\em oit} & An output iterator. Should support \char`\"{}$\ast$oit++ = $<$\+Vec4f$>$;\char`\"{}. \\
\hline
\end{DoxyParams}


Definition at line 78 of file Color\+Generator.\+hh.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Utils/Color\+Generator.\+hh\end{DoxyCompactItemize}
