\hypertarget{a08216}{}\section{A\+CG\+:\+:Color\+Coder Class Reference}
\label{a08216}\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]{a08216}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08216_ab6c1a2f0eb3bee11942a86e21725a6e0}\label{a08216_ab6c1a2f0eb3bee11942a86e21725a6e0}} 
\hyperlink{a08216_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{a08216_a6612dfefc06da72c4980dca943ad0993}\label{a08216_a6612dfefc06da72c4980dca943ad0993}} 
void \hyperlink{a08216_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{a08216_ab4b18f7b28b2656cc563c63bed54bf52}\label{a08216_ab4b18f7b28b2656cc563c63bed54bf52}} 
\hyperlink{a06176_adb89a8d57b6d179ad535c0880a8b616e}{A\+C\+G\+::\+Vec4uc} \hyperlink{a08216_ab4b18f7b28b2656cc563c63bed54bf52}{color4\+\_\+raw} (float \+\_\+v) const override
\begin{DoxyCompactList}\small\item\em color coding \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08216_aa6fb3686f064e87b995867e117a82e68}\label{a08216_aa6fb3686f064e87b995867e117a82e68}} 
\hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{A\+C\+G\+::\+Vec4f} \hyperlink{a08216_aa6fb3686f064e87b995867e117a82e68}{color\+\_\+float4\+\_\+raw} (float \+\_\+v) const override
\begin{DoxyCompactList}\small\item\em color coding \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08216_ab093f8fb270c531b823889438fa33d04}\label{a08216_ab093f8fb270c531b823889438fa33d04}} 
float \hyperlink{a08216_ab093f8fb270c531b823889438fa33d04}{min} () const override
\begin{DoxyCompactList}\small\item\em min scalar value \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08216_aeab4ab70cc4b84ac2fe67b510ecb6e9e}\label{a08216_aeab4ab70cc4b84ac2fe67b510ecb6e9e}} 
float \hyperlink{a08216_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{a08216_a97817cc685567d9a0dcab35a87dd68ab}\label{a08216_a97817cc685567d9a0dcab35a87dd68ab}} 
\hyperlink{a06176_adb89a8d57b6d179ad535c0880a8b616e}{A\+C\+G\+::\+Vec4uc} {\bfseries color\+\_\+unsigned} (float \+\_\+v) const
\item 
\mbox{\Hypertarget{a08216_ab5137dce47a767e4506f968067a11f7f}\label{a08216_ab5137dce47a767e4506f968067a11f7f}} 
\hyperlink{a06176_adb89a8d57b6d179ad535c0880a8b616e}{A\+C\+G\+::\+Vec4uc} {\bfseries color\+\_\+signed} (float \+\_\+v) const
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08216_adb6aa703484d846d07050c6b5a576db8}\label{a08216_adb6aa703484d846d07050c6b5a576db8}} 
float {\bfseries val0\+\_\+}
\item 
\mbox{\Hypertarget{a08216_a4a84cd19617defe9eed90fe205b61c5d}\label{a08216_a4a84cd19617defe9eed90fe205b61c5d}} 
float {\bfseries val1\+\_\+}
\item 
\mbox{\Hypertarget{a08216_ab06d9a3f3f84c0c3dbcbd86fa17c9e81}\label{a08216_ab06d9a3f3f84c0c3dbcbd86fa17c9e81}} 
float {\bfseries val2\+\_\+}
\item 
\mbox{\Hypertarget{a08216_a764cf4ab9b2afb898f9d8087e6d50877}\label{a08216_a764cf4ab9b2afb898f9d8087e6d50877}} 
float {\bfseries val3\+\_\+}
\item 
\mbox{\Hypertarget{a08216_ae1a46ec2f3beb51412cc5afbd786a754}\label{a08216_ae1a46ec2f3beb51412cc5afbd786a754}} 
float {\bfseries val4\+\_\+}
\item 
\mbox{\Hypertarget{a08216_af63aed21926fb157d8b2dfd2319e8c75}\label{a08216_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}
