\hypertarget{a00712}{\section{A\+C\+G\+:\+:Hue\+Partitioning\+Colors Class Reference}
\label{a00712}\index{A\+C\+G\+::\+Hue\+Partitioning\+Colors@{A\+C\+G\+::\+Hue\+Partitioning\+Colors}}
}


{\ttfamily \#include $<$A\+C\+G/\+Utils/\+Hue\+Partitioning\+Colors.\+hh$>$}

Inheritance diagram for A\+C\+G\+:\+:Hue\+Partitioning\+Colors\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a00712}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a00712_a168a84937ffbcb646120ff2718d19ee3}{Hue\+Partitioning\+Colors} (float \+\_\+alpha=1.\+0f, float \+\_\+base\+Hue=0.\+5694f)
\item 
virtual \hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \hyperlink{a00712_a4cb431a5669aeebe446a785b9d3d0bb5}{generate\+Next\+Color} ()
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$class O\+U\+T\+P\+U\+T\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R $>$ }\\static void \hyperlink{a00712_a336a4932449f0a0ad93369a811f40bd0}{generate\+N\+Colors} (int n, O\+U\+T\+P\+U\+T\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R oit)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00712_a16527e15951db6adea8ee454dde53727}{int {\bfseries current\+Subdiv\+\_\+}}\label{a00712_a16527e15951db6adea8ee454dde53727}

\item 
\hypertarget{a00712_ab80df95e4710af7ab35e55086e908285}{int {\bfseries current\+It\+\_\+}}\label{a00712_ab80df95e4710af7ab35e55086e908285}

\item 
\hypertarget{a00712_af6dc0e29d0671da36343b8548bb50a56}{int {\bfseries current\+Triad\+It\+\_\+}}\label{a00712_af6dc0e29d0671da36343b8548bb50a56}

\item 
\hypertarget{a00712_aaf797acde9c54e67e80a3321fa5827ce}{float {\bfseries alpha\+\_\+}}\label{a00712_aaf797acde9c54e67e80a3321fa5827ce}

\item 
\hypertarget{a00712_a09eb3d2f470996883788f66ece6e638e}{float {\bfseries base\+Hue\+\_\+}}\label{a00712_a09eb3d2f470996883788f66ece6e638e}

\item 
\hypertarget{a00712_aefcea1d949c8cc864a60f0c694777b68}{const float {\bfseries default\+Saturation\+\_\+}}\label{a00712_aefcea1d949c8cc864a60f0c694777b68}

\item 
\hypertarget{a00712_a635ba00afa8e2b772e57aa280dc2c532}{const float {\bfseries default\+Value\+\_\+}}\label{a00712_a635ba00afa8e2b772e57aa280dc2c532}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
The \hyperlink{a00712}{Hue\+Partitioning\+Colors} generator tries to generate a set of well distinguishable and esthetically somewhat pleasing colors.

Note that it intentionally behaves totally deterministic. (Because reproducibility rocks.) 

Definition at line 66 of file Hue\+Partitioning\+Colors.\+hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00712_a168a84937ffbcb646120ff2718d19ee3}{\index{A\+C\+G\+::\+Hue\+Partitioning\+Colors@{A\+C\+G\+::\+Hue\+Partitioning\+Colors}!Hue\+Partitioning\+Colors@{Hue\+Partitioning\+Colors}}
\index{Hue\+Partitioning\+Colors@{Hue\+Partitioning\+Colors}!A\+C\+G\+::\+Hue\+Partitioning\+Colors@{A\+C\+G\+::\+Hue\+Partitioning\+Colors}}
\subsubsection[{Hue\+Partitioning\+Colors}]{\setlength{\rightskip}{0pt plus 5cm}A\+C\+G\+::\+Hue\+Partitioning\+Colors\+::\+Hue\+Partitioning\+Colors (
\begin{DoxyParamCaption}
\item[{float}]{\+\_\+alpha = {\ttfamily 1.0f}, }
\item[{float}]{\+\_\+base\+Hue = {\ttfamily 0.5694f}}
\end{DoxyParamCaption}
)}}\label{a00712_a168a84937ffbcb646120ff2718d19ee3}
Constructor


\begin{DoxyParams}{Parameters}
{\em \+\_\+alpha} & The alpha value for all the colors.\\
\hline
{\em \+\_\+base\+Hue} & The H\+S\+V-\/hue from which to start. This is the hue of the first requested color. Default is an utterly delighting shade of blue awesomeness. \\
\hline
\end{DoxyParams}


Definition at line 59 of file Hue\+Partitioning\+Colors.\+cc.



\subsection{Member Function Documentation}
\hypertarget{a00712_a336a4932449f0a0ad93369a811f40bd0}{\index{A\+C\+G\+::\+Hue\+Partitioning\+Colors@{A\+C\+G\+::\+Hue\+Partitioning\+Colors}!generate\+N\+Colors@{generate\+N\+Colors}}
\index{generate\+N\+Colors@{generate\+N\+Colors}!A\+C\+G\+::\+Hue\+Partitioning\+Colors@{A\+C\+G\+::\+Hue\+Partitioning\+Colors}}
\subsubsection[{generate\+N\+Colors}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class O\+U\+T\+P\+U\+T\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R $>$ static void A\+C\+G\+::\+Hue\+Partitioning\+Colors\+::generate\+N\+Colors (
\begin{DoxyParamCaption}
\item[{int}]{n, }
\item[{O\+U\+T\+P\+U\+T\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R}]{oit}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{a00712_a336a4932449f0a0ad93369a811f40bd0}
Convenience method if you just need a bunch of colors and don't need to instantiate a \hyperlink{a00426}{Color\+Generator}.

See description of \hyperlink{a00426_a5050869eb7e806c740b90600e04b051c}{generate\+Next\+N\+Colors()} for details. 

Definition at line 93 of file Hue\+Partitioning\+Colors.\+hh.

\hypertarget{a00712_a4cb431a5669aeebe446a785b9d3d0bb5}{\index{A\+C\+G\+::\+Hue\+Partitioning\+Colors@{A\+C\+G\+::\+Hue\+Partitioning\+Colors}!generate\+Next\+Color@{generate\+Next\+Color}}
\index{generate\+Next\+Color@{generate\+Next\+Color}!A\+C\+G\+::\+Hue\+Partitioning\+Colors@{A\+C\+G\+::\+Hue\+Partitioning\+Colors}}
\subsubsection[{generate\+Next\+Color}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Vec4f} A\+C\+G\+::\+Hue\+Partitioning\+Colors\+::generate\+Next\+Color (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a00712_a4cb431a5669aeebe446a785b9d3d0bb5}
\begin{DoxyReturn}{Returns}
A new color. 
\end{DoxyReturn}


Implements \hyperlink{a00426_ac2cc72983068bd86ddc07930d6e19a4c}{A\+C\+G\+::\+Color\+Generator}.



Definition at line 72 of file Hue\+Partitioning\+Colors.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
A\+C\+G/\+Utils/Hue\+Partitioning\+Colors.\+hh\item 
A\+C\+G/\+Utils/Hue\+Partitioning\+Colors.\+cc\end{DoxyCompactItemize}
