\hypertarget{a08224}{}\section{A\+CG\+:\+:Halton\+Colors Class Reference}
\label{a08224}\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\+SL space, independent of the number of colors required. Simply instantiate and use \hyperlink{a08224_acacddee97133611d8d1ad2a5b291b08a}{get\+\_\+next\+\_\+color()}.  




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

Inheritance diagram for A\+CG\+:\+:Halton\+Colors\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a08224}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08224_a542029f5c454ec365fe0d73ceb53a8e4}\label{a08224_a542029f5c454ec365fe0d73ceb53a8e4}} 
\hyperlink{a08224_a542029f5c454ec365fe0d73ceb53a8e4}{Halton\+Colors} (int skip=250)
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08224_acacddee97133611d8d1ad2a5b291b08a}\label{a08224_acacddee97133611d8d1ad2a5b291b08a}} 
\hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{A\+C\+G\+::\+Vec4f} \hyperlink{a08224_acacddee97133611d8d1ad2a5b291b08a}{get\+\_\+next\+\_\+color} ()
\begin{DoxyCompactList}\small\item\em Generate the next color (legacy method) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08224_a9c86ae5444431b9cdb7eca842bedd283}\label{a08224_a9c86ae5444431b9cdb7eca842bedd283}} 
virtual \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{A\+C\+G\+::\+Vec4f} \hyperlink{a08224_a9c86ae5444431b9cdb7eca842bedd283}{generate\+Next\+Color} ()
\begin{DoxyCompactList}\small\item\em Generate the next color. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08224_a62ed6273423ab18753e169b8e1da5173}\label{a08224_a62ed6273423ab18753e169b8e1da5173}} 
float {\bfseries halton} (int index)
\item 
\mbox{\Hypertarget{a08224_a77d0e0645c86ed084fe4c107e79b3df3}\label{a08224_a77d0e0645c86ed084fe4c107e79b3df3}} 
float {\bfseries random\+\_\+interval} (int index, float min, float max)
\item 
\mbox{\Hypertarget{a08224_a1ed1b2733866f6cef22225ce8ba4d8c8}\label{a08224_a1ed1b2733866f6cef22225ce8ba4d8c8}} 
\hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{A\+C\+G\+::\+Vec4f} {\bfseries H\+S\+L2\+R\+GB} (double h, double sl, double l)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08224_aebebc75ade809345af00891544ab3acb}\label{a08224_aebebc75ade809345af00891544ab3acb}} 
int {\bfseries current} \mbox{[}3\mbox{]}
\item 
\mbox{\Hypertarget{a08224_ab2eb7eb6a71a0a1aeb9cce65b566b4ff}\label{a08224_ab2eb7eb6a71a0a1aeb9cce65b566b4ff}} 
int {\bfseries bases} \mbox{[}3\mbox{]}
\item 
\mbox{\Hypertarget{a08224_ae28d5f512b8d6d5939f4b69661a929a4}\label{a08224_ae28d5f512b8d6d5939f4b69661a929a4}} 
float {\bfseries inverse\+\_\+bases} \mbox{[}3\mbox{]}
\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\+SL space, independent of the number of colors required. Simply instantiate and use \hyperlink{a08224_acacddee97133611d8d1ad2a5b291b08a}{get\+\_\+next\+\_\+color()}. 

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



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