\hypertarget{classACG_1_1HaltonColors}{}\section{A\+CG\+:\+:Halton\+Colors Class Reference}
\label{classACG_1_1HaltonColors}\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{classACG_1_1HaltonColors_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]{classACG_1_1HaltonColors}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1HaltonColors_a542029f5c454ec365fe0d73ceb53a8e4}\label{classACG_1_1HaltonColors_a542029f5c454ec365fe0d73ceb53a8e4}} 
\hyperlink{classACG_1_1HaltonColors_a542029f5c454ec365fe0d73ceb53a8e4}{Halton\+Colors} (int skip=250)
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1HaltonColors_acacddee97133611d8d1ad2a5b291b08a}\label{classACG_1_1HaltonColors_acacddee97133611d8d1ad2a5b291b08a}} 
\hyperlink{namespaceACG_a4850d8bd22bf3ccf7088b80adc17c989}{A\+C\+G\+::\+Vec4f} \hyperlink{classACG_1_1HaltonColors_acacddee97133611d8d1ad2a5b291b08a}{get\+\_\+next\+\_\+color} ()
\begin{DoxyCompactList}\small\item\em Generate the next color (legacy method) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1HaltonColors_a9c86ae5444431b9cdb7eca842bedd283}\label{classACG_1_1HaltonColors_a9c86ae5444431b9cdb7eca842bedd283}} 
virtual \hyperlink{namespaceACG_a4850d8bd22bf3ccf7088b80adc17c989}{A\+C\+G\+::\+Vec4f} \hyperlink{classACG_1_1HaltonColors_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{classACG_1_1HaltonColors_a62ed6273423ab18753e169b8e1da5173}\label{classACG_1_1HaltonColors_a62ed6273423ab18753e169b8e1da5173}} 
float {\bfseries halton} (int index)
\item 
\mbox{\Hypertarget{classACG_1_1HaltonColors_a77d0e0645c86ed084fe4c107e79b3df3}\label{classACG_1_1HaltonColors_a77d0e0645c86ed084fe4c107e79b3df3}} 
float {\bfseries random\+\_\+interval} (int index, float min, float max)
\item 
\mbox{\Hypertarget{classACG_1_1HaltonColors_a1ed1b2733866f6cef22225ce8ba4d8c8}\label{classACG_1_1HaltonColors_a1ed1b2733866f6cef22225ce8ba4d8c8}} 
\hyperlink{namespaceACG_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{classACG_1_1HaltonColors_aebebc75ade809345af00891544ab3acb}\label{classACG_1_1HaltonColors_aebebc75ade809345af00891544ab3acb}} 
int {\bfseries current} \mbox{[}3\mbox{]}
\item 
\mbox{\Hypertarget{classACG_1_1HaltonColors_ab2eb7eb6a71a0a1aeb9cce65b566b4ff}\label{classACG_1_1HaltonColors_ab2eb7eb6a71a0a1aeb9cce65b566b4ff}} 
int {\bfseries bases} \mbox{[}3\mbox{]}
\item 
\mbox{\Hypertarget{classACG_1_1HaltonColors_ae28d5f512b8d6d5939f4b69661a929a4}\label{classACG_1_1HaltonColors_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{classACG_1_1HaltonColors_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}
