\hypertarget{a00681}{\section{A\+C\+G\+:\+:Halton\+Colors Class Reference}
\label{a00681}\index{A\+C\+G\+::\+Halton\+Colors@{A\+C\+G\+::\+Halton\+Colors}}
}


Implementation of halton colors Provides deterministic pseudo-\/random low-\/discrepancy colors with a uniform distribution over a visually pleasing subset of H\+S\+L space, independent of the number of colors required. Simply instantiate and use \hyperlink{a00681_acacddee97133611d8d1ad2a5b291b08a}{get\+\_\+next\+\_\+color()}.  




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

Inheritance diagram for A\+C\+G\+:\+:Halton\+Colors\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a00681}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00681_a542029f5c454ec365fe0d73ceb53a8e4}{\hyperlink{a00681_a542029f5c454ec365fe0d73ceb53a8e4}{Halton\+Colors} (int skip=250)}\label{a00681_a542029f5c454ec365fe0d73ceb53a8e4}

\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\hypertarget{a00681_acacddee97133611d8d1ad2a5b291b08a}{\hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{A\+C\+G\+::\+Vec4f} \hyperlink{a00681_acacddee97133611d8d1ad2a5b291b08a}{get\+\_\+next\+\_\+color} ()}\label{a00681_acacddee97133611d8d1ad2a5b291b08a}

\begin{DoxyCompactList}\small\item\em Generate the next color (legacy method) \end{DoxyCompactList}\item 
\hypertarget{a00681_a9c86ae5444431b9cdb7eca842bedd283}{virtual \hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{A\+C\+G\+::\+Vec4f} \hyperlink{a00681_a9c86ae5444431b9cdb7eca842bedd283}{generate\+Next\+Color} ()}\label{a00681_a9c86ae5444431b9cdb7eca842bedd283}

\begin{DoxyCompactList}\small\item\em Generate the next color. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00681_a62ed6273423ab18753e169b8e1da5173}{float {\bfseries halton} (int index)}\label{a00681_a62ed6273423ab18753e169b8e1da5173}

\item 
\hypertarget{a00681_a77d0e0645c86ed084fe4c107e79b3df3}{float {\bfseries random\+\_\+interval} (int index, float min, float max)}\label{a00681_a77d0e0645c86ed084fe4c107e79b3df3}

\item 
\hypertarget{a00681_a1ed1b2733866f6cef22225ce8ba4d8c8}{\hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{A\+C\+G\+::\+Vec4f} {\bfseries H\+S\+L2\+R\+G\+B} (double h, double sl, double l)}\label{a00681_a1ed1b2733866f6cef22225ce8ba4d8c8}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00681_aebebc75ade809345af00891544ab3acb}{int {\bfseries current} \mbox{[}3\mbox{]}}\label{a00681_aebebc75ade809345af00891544ab3acb}

\item 
\hypertarget{a00681_ab2eb7eb6a71a0a1aeb9cce65b566b4ff}{int {\bfseries bases} \mbox{[}3\mbox{]}}\label{a00681_ab2eb7eb6a71a0a1aeb9cce65b566b4ff}

\item 
\hypertarget{a00681_ae28d5f512b8d6d5939f4b69661a929a4}{float {\bfseries inverse\+\_\+bases} \mbox{[}3\mbox{]}}\label{a00681_ae28d5f512b8d6d5939f4b69661a929a4}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Implementation of halton colors Provides deterministic pseudo-\/random low-\/discrepancy colors with a uniform distribution over a visually pleasing subset of H\+S\+L space, independent of the number of colors required. Simply instantiate and use \hyperlink{a00681_acacddee97133611d8d1ad2a5b291b08a}{get\+\_\+next\+\_\+color()}. 

Definition at line 80 of file Halton\+Colors.\+hh.



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