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


Class for generating nice colors for doubles.  




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

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00425_ab6c1a2f0eb3bee11942a86e21725a6e0}{\hyperlink{a00425_ab6c1a2f0eb3bee11942a86e21725a6e0}{Color\+Coder} (float \+\_\+min=0.\+0, float \+\_\+max=1.\+0, bool \+\_\+signed=false)}\label{a00425_ab6c1a2f0eb3bee11942a86e21725a6e0}

\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\hypertarget{a00425_a6612dfefc06da72c4980dca943ad0993}{void \hyperlink{a00425_a6612dfefc06da72c4980dca943ad0993}{set\+\_\+range} (float \+\_\+min, float \+\_\+max, bool \+\_\+signed)}\label{a00425_a6612dfefc06da72c4980dca943ad0993}

\begin{DoxyCompactList}\small\item\em set the color coding range for unsigned coding \end{DoxyCompactList}\item 
\hypertarget{a00425_a6b02f902940e3644fdd5ae83c6d284de}{\hyperlink{a03336_adb89a8d57b6d179ad535c0880a8b616e}{A\+C\+G\+::\+Vec4uc} \hyperlink{a00425_a6b02f902940e3644fdd5ae83c6d284de}{color4} (float \+\_\+v) const }\label{a00425_a6b02f902940e3644fdd5ae83c6d284de}

\begin{DoxyCompactList}\small\item\em color coding \end{DoxyCompactList}\item 
\hypertarget{a00425_a89d8b16c2d1bb7e9882e6f01891a4426}{\hyperlink{a03336_a9334e4037c813f1a3d41719ee499dedc}{A\+C\+G\+::\+Vec3uc} \hyperlink{a00425_a89d8b16c2d1bb7e9882e6f01891a4426}{color} (float \+\_\+v) const }\label{a00425_a89d8b16c2d1bb7e9882e6f01891a4426}

\begin{DoxyCompactList}\small\item\em color coding \end{DoxyCompactList}\item 
\hypertarget{a00425_afafbf40b350fcbc3b773a7c3e68ea435}{\hyperlink{a03336_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f} \hyperlink{a00425_afafbf40b350fcbc3b773a7c3e68ea435}{color\+\_\+float} (float \+\_\+v) const }\label{a00425_afafbf40b350fcbc3b773a7c3e68ea435}

\begin{DoxyCompactList}\small\item\em color coding \end{DoxyCompactList}\item 
\hypertarget{a00425_aa5e235b3cdaea8be9eff3499f347a789}{\hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{A\+C\+G\+::\+Vec4f} \hyperlink{a00425_aa5e235b3cdaea8be9eff3499f347a789}{color\+\_\+float4} (float \+\_\+v) const }\label{a00425_aa5e235b3cdaea8be9eff3499f347a789}

\begin{DoxyCompactList}\small\item\em color coding \end{DoxyCompactList}\item 
\hypertarget{a00425_a1cf2f0ffcbfab9fa46e757ff8774b0e1}{Q\+Color \hyperlink{a00425_a1cf2f0ffcbfab9fa46e757ff8774b0e1}{color\+\_\+qcolor} (float \+\_\+v) const }\label{a00425_a1cf2f0ffcbfab9fa46e757ff8774b0e1}

\begin{DoxyCompactList}\small\item\em color coding \end{DoxyCompactList}\item 
\hypertarget{a00425_a8323cd819e067e6550641817dca8d95a}{float \hyperlink{a00425_a8323cd819e067e6550641817dca8d95a}{min} () const }\label{a00425_a8323cd819e067e6550641817dca8d95a}

\begin{DoxyCompactList}\small\item\em min scalar value \end{DoxyCompactList}\item 
\hypertarget{a00425_a835584ead29bafed9f11786807830c33}{float \hyperlink{a00425_a835584ead29bafed9f11786807830c33}{max} () const }\label{a00425_a835584ead29bafed9f11786807830c33}

\begin{DoxyCompactList}\small\item\em max scalar value \end{DoxyCompactList}\item 
\hypertarget{a00425_a4ccc92577fd97d6ff9486b125694882a}{\hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{A\+C\+G\+::\+Vec4f} {\bfseries operator()} (float \+\_\+v) const }\label{a00425_a4ccc92577fd97d6ff9486b125694882a}

\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00425_acbda068696ee39e4f5cb6714b59a2c2f}{\hyperlink{a03336_adb89a8d57b6d179ad535c0880a8b616e}{A\+C\+G\+::\+Vec4uc} {\bfseries color\+\_\+unsigned} (float \+\_\+v) const }\label{a00425_acbda068696ee39e4f5cb6714b59a2c2f}

\item 
\hypertarget{a00425_a93f7eb3d1c3ce38ee20b367527a20e0c}{\hyperlink{a03336_adb89a8d57b6d179ad535c0880a8b616e}{A\+C\+G\+::\+Vec4uc} {\bfseries color\+\_\+signed} (float \+\_\+v) const }\label{a00425_a93f7eb3d1c3ce38ee20b367527a20e0c}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00425_adb6aa703484d846d07050c6b5a576db8}{float {\bfseries val0\+\_\+}}\label{a00425_adb6aa703484d846d07050c6b5a576db8}

\item 
\hypertarget{a00425_a4a84cd19617defe9eed90fe205b61c5d}{float {\bfseries val1\+\_\+}}\label{a00425_a4a84cd19617defe9eed90fe205b61c5d}

\item 
\hypertarget{a00425_ab06d9a3f3f84c0c3dbcbd86fa17c9e81}{float {\bfseries val2\+\_\+}}\label{a00425_ab06d9a3f3f84c0c3dbcbd86fa17c9e81}

\item 
\hypertarget{a00425_a764cf4ab9b2afb898f9d8087e6d50877}{float {\bfseries val3\+\_\+}}\label{a00425_a764cf4ab9b2afb898f9d8087e6d50877}

\item 
\hypertarget{a00425_ae1a46ec2f3beb51412cc5afbd786a754}{float {\bfseries val4\+\_\+}}\label{a00425_ae1a46ec2f3beb51412cc5afbd786a754}

\item 
\hypertarget{a00425_af63aed21926fb157d8b2dfd2319e8c75}{bool {\bfseries signed\+\_\+mode\+\_\+}}\label{a00425_af63aed21926fb157d8b2dfd2319e8c75}

\end{DoxyCompactItemize}


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



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



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