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


Class for generating nice colors for doubles.  




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

Inheritance diagram for A\+CG\+:\+:Color\+Coder\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classACG_1_1ColorCoder}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1ColorCoder_ab6c1a2f0eb3bee11942a86e21725a6e0}\label{classACG_1_1ColorCoder_ab6c1a2f0eb3bee11942a86e21725a6e0}} 
\hyperlink{classACG_1_1ColorCoder_ab6c1a2f0eb3bee11942a86e21725a6e0}{Color\+Coder} (float \+\_\+min=0.\+0, float \+\_\+max=1.\+0, bool \+\_\+signed=false)
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1ColorCoder_a6612dfefc06da72c4980dca943ad0993}\label{classACG_1_1ColorCoder_a6612dfefc06da72c4980dca943ad0993}} 
void \hyperlink{classACG_1_1ColorCoder_a6612dfefc06da72c4980dca943ad0993}{set\+\_\+range} (float \+\_\+min, float \+\_\+max, bool \+\_\+signed)
\begin{DoxyCompactList}\small\item\em set the color coding range for unsigned coding \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1ColorCoder_ab4b18f7b28b2656cc563c63bed54bf52}\label{classACG_1_1ColorCoder_ab4b18f7b28b2656cc563c63bed54bf52}} 
\hyperlink{namespaceACG_adb89a8d57b6d179ad535c0880a8b616e}{A\+C\+G\+::\+Vec4uc} \hyperlink{classACG_1_1ColorCoder_ab4b18f7b28b2656cc563c63bed54bf52}{color4\+\_\+raw} (float \+\_\+v) const override
\begin{DoxyCompactList}\small\item\em color coding \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1ColorCoder_aa6fb3686f064e87b995867e117a82e68}\label{classACG_1_1ColorCoder_aa6fb3686f064e87b995867e117a82e68}} 
\hyperlink{namespaceACG_a4850d8bd22bf3ccf7088b80adc17c989}{A\+C\+G\+::\+Vec4f} \hyperlink{classACG_1_1ColorCoder_aa6fb3686f064e87b995867e117a82e68}{color\+\_\+float4\+\_\+raw} (float \+\_\+v) const override
\begin{DoxyCompactList}\small\item\em color coding \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1ColorCoder_ab093f8fb270c531b823889438fa33d04}\label{classACG_1_1ColorCoder_ab093f8fb270c531b823889438fa33d04}} 
float \hyperlink{classACG_1_1ColorCoder_ab093f8fb270c531b823889438fa33d04}{min} () const override
\begin{DoxyCompactList}\small\item\em min scalar value \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1ColorCoder_aeab4ab70cc4b84ac2fe67b510ecb6e9e}\label{classACG_1_1ColorCoder_aeab4ab70cc4b84ac2fe67b510ecb6e9e}} 
float \hyperlink{classACG_1_1ColorCoder_aeab4ab70cc4b84ac2fe67b510ecb6e9e}{max} () const override
\begin{DoxyCompactList}\small\item\em max scalar value \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1ColorCoder_a97817cc685567d9a0dcab35a87dd68ab}\label{classACG_1_1ColorCoder_a97817cc685567d9a0dcab35a87dd68ab}} 
\hyperlink{namespaceACG_adb89a8d57b6d179ad535c0880a8b616e}{A\+C\+G\+::\+Vec4uc} {\bfseries color\+\_\+unsigned} (float \+\_\+v) const
\item 
\mbox{\Hypertarget{classACG_1_1ColorCoder_ab5137dce47a767e4506f968067a11f7f}\label{classACG_1_1ColorCoder_ab5137dce47a767e4506f968067a11f7f}} 
\hyperlink{namespaceACG_adb89a8d57b6d179ad535c0880a8b616e}{A\+C\+G\+::\+Vec4uc} {\bfseries color\+\_\+signed} (float \+\_\+v) const
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1ColorCoder_adb6aa703484d846d07050c6b5a576db8}\label{classACG_1_1ColorCoder_adb6aa703484d846d07050c6b5a576db8}} 
float {\bfseries val0\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1ColorCoder_a4a84cd19617defe9eed90fe205b61c5d}\label{classACG_1_1ColorCoder_a4a84cd19617defe9eed90fe205b61c5d}} 
float {\bfseries val1\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1ColorCoder_ab06d9a3f3f84c0c3dbcbd86fa17c9e81}\label{classACG_1_1ColorCoder_ab06d9a3f3f84c0c3dbcbd86fa17c9e81}} 
float {\bfseries val2\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1ColorCoder_a764cf4ab9b2afb898f9d8087e6d50877}\label{classACG_1_1ColorCoder_a764cf4ab9b2afb898f9d8087e6d50877}} 
float {\bfseries val3\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1ColorCoder_ae1a46ec2f3beb51412cc5afbd786a754}\label{classACG_1_1ColorCoder_ae1a46ec2f3beb51412cc5afbd786a754}} 
float {\bfseries val4\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1ColorCoder_af63aed21926fb157d8b2dfd2319e8c75}\label{classACG_1_1ColorCoder_af63aed21926fb157d8b2dfd2319e8c75}} 
bool {\bfseries signed\+\_\+mode\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Class for generating nice colors for doubles. 



Definition at line 68 of file Color\+Coder.\+hh.



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