\hypertarget{a00430}{
\section{mln::value::qt::rgb32 Struct Reference}
\label{dc/d0c/a00430}\index{mln::value::qt::rgb32@{mln::value::qt::rgb32}}
}


Color class for red-\/green-\/blue where every component is n-\/bit encoded.  




{\ttfamily \#include $<$rgb32.hh$>$}



Inherits mln::value::Vectorial$<$ rgb32 $>$, and mln::value::internal::value\_\-like\_\-$<$ algebra::vec$<$ 3, int\_\-u$<$ 8 $>$ $>$,algebra::vec$<$ 3, int\_\-u$<$ 8 $>$ $>$,algebra::vec$<$ 3, int $>$,rgb32 $>$.

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a00430}{rgb32} \& \hyperlink{a00430_adc24a5a22474b35069c443d856b479f9}{operator=} (const \hyperlink{a00430}{rgb32} \&rhs)
\begin{DoxyCompactList}\small\item\em Assignment. \item\end{DoxyCompactList}\item 
\hyperlink{a00430_a2e2f51f640f98589b0dd8a8b336c11e7}{rgb32} (const algebra::vec$<$ 3, int $>$ \&rhs)
\begin{DoxyCompactList}\small\item\em Constructor from a algebra::vec. \item\end{DoxyCompactList}\item 
\hyperlink{a00430_afc821fbfab1da7a17544b586899f2cb6}{rgb32} (int r, int g, int b)
\begin{DoxyCompactList}\small\item\em Constructor from component values. \item\end{DoxyCompactList}\item 
\hyperlink{a00430_a0efc189caaa3e730ffde35126d7f9e9e}{rgb32} ()
\begin{DoxyCompactList}\small\item\em Constructor without argument. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{Indent}{\bf }\par
{\em \label{_amgrpd41d8cd98f00b204e9800998ecf8427e}
 }\begin{DoxyCompactItemize}
\item 
\hyperlink{a00424}{int\_\-u}$<$ 8 $>$ \hyperlink{a00430_a6ca602b3afad3a445e6c9f6449553d4e}{red} () const 
\begin{DoxyCompactList}\small\item\em Acces to red/green/blue component. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf }\par
{\em \label{_amgrpd41d8cd98f00b204e9800998ecf8427e}
 }\begin{DoxyCompactItemize}
\item 
\hyperlink{a00430_af686e6da3dabd150e7597d58805a4931}{rgb32} (const \hyperlink{a00280}{mln::literal::zero\_\-t} \&)
\begin{DoxyCompactList}\small\item\em Constructors with literals. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static const \hyperlink{a00430}{rgb32} \hyperlink{a00430_a8d2aa19a15758c2d2656e52b891e748d}{zero}
\begin{DoxyCompactList}\small\item\em Zero value. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Color class for red-\/green-\/blue where every component is n-\/bit encoded. 

Definition at line 197 of file rgb32.hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00430_a0efc189caaa3e730ffde35126d7f9e9e}{
\index{mln::value::qt::rgb32@{mln::value::qt::rgb32}!rgb32@{rgb32}}
\index{rgb32@{rgb32}!mln::value::qt::rgb32@{mln::value::qt::rgb32}}
\subsubsection[{rgb32}]{\setlength{\rightskip}{0pt plus 5cm}mln::value::qt::rgb32::rgb32 (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dc/d0c/a00430_a0efc189caaa3e730ffde35126d7f9e9e}


Constructor without argument. 



Definition at line 385 of file rgb32.hh.

\hypertarget{a00430_afc821fbfab1da7a17544b586899f2cb6}{
\index{mln::value::qt::rgb32@{mln::value::qt::rgb32}!rgb32@{rgb32}}
\index{rgb32@{rgb32}!mln::value::qt::rgb32@{mln::value::qt::rgb32}}
\subsubsection[{rgb32}]{\setlength{\rightskip}{0pt plus 5cm}mln::value::qt::rgb32::rgb32 (
\begin{DoxyParamCaption}
\item[{int}]{ r, }
\item[{int}]{ g, }
\item[{int}]{ b}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dc/d0c/a00430_afc821fbfab1da7a17544b586899f2cb6}


Constructor from component values. 



Definition at line 427 of file rgb32.hh.

\hypertarget{a00430_a2e2f51f640f98589b0dd8a8b336c11e7}{
\index{mln::value::qt::rgb32@{mln::value::qt::rgb32}!rgb32@{rgb32}}
\index{rgb32@{rgb32}!mln::value::qt::rgb32@{mln::value::qt::rgb32}}
\subsubsection[{rgb32}]{\setlength{\rightskip}{0pt plus 5cm}mln::value::qt::rgb32::rgb32 (
\begin{DoxyParamCaption}
\item[{const algebra::vec$<$ 3, int $>$ \&}]{ rhs}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dc/d0c/a00430_a2e2f51f640f98589b0dd8a8b336c11e7}


Constructor from a algebra::vec. 



Definition at line 391 of file rgb32.hh.

\hypertarget{a00430_af686e6da3dabd150e7597d58805a4931}{
\index{mln::value::qt::rgb32@{mln::value::qt::rgb32}!rgb32@{rgb32}}
\index{rgb32@{rgb32}!mln::value::qt::rgb32@{mln::value::qt::rgb32}}
\subsubsection[{rgb32}]{\setlength{\rightskip}{0pt plus 5cm}mln::value::qt::rgb32::rgb32 (
\begin{DoxyParamCaption}
\item[{const {\bf mln::literal::zero\_\-t} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dc/d0c/a00430_af686e6da3dabd150e7597d58805a4931}


Constructors with literals. 



Definition at line 442 of file rgb32.hh.



\subsection{Member Function Documentation}
\hypertarget{a00430_adc24a5a22474b35069c443d856b479f9}{
\index{mln::value::qt::rgb32@{mln::value::qt::rgb32}!operator=@{operator=}}
\index{operator=@{operator=}!mln::value::qt::rgb32@{mln::value::qt::rgb32}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf rgb32} \& mln::value::qt::rgb32::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf rgb32} \&}]{ rhs}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dc/d0c/a00430_adc24a5a22474b35069c443d856b479f9}


Assignment. 



Definition at line 623 of file rgb32.hh.

\hypertarget{a00430_a6ca602b3afad3a445e6c9f6449553d4e}{
\index{mln::value::qt::rgb32@{mln::value::qt::rgb32}!red@{red}}
\index{red@{red}!mln::value::qt::rgb32@{mln::value::qt::rgb32}}
\subsubsection[{red}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int\_\-u}$<$8$>$ mln::value::qt::rgb32::red (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dc/d0c/a00430_a6ca602b3afad3a445e6c9f6449553d4e}


Acces to red/green/blue component. 



Definition at line 212 of file rgb32.hh.



\subsection{Member Data Documentation}
\hypertarget{a00430_a8d2aa19a15758c2d2656e52b891e748d}{
\index{mln::value::qt::rgb32@{mln::value::qt::rgb32}!zero@{zero}}
\index{zero@{zero}!mln::value::qt::rgb32@{mln::value::qt::rgb32}}
\subsubsection[{zero}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf rgb32} {\bf mln::value::qt::rgb32::zero}\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{dc/d0c/a00430_a8d2aa19a15758c2d2656e52b891e748d}


Zero value. 



Definition at line 272 of file rgb32.hh.

