\hypertarget{a00151}{
\section{mln::complex\_\-image$<$ D, G, V $>$ Class Template Reference}
\label{dd/db2/a00151}\index{mln::complex\_\-image@{mln::complex\_\-image}}
}


\hyperlink{a00044}{Image} based on a complex.  




{\ttfamily \#include $<$complex\_\-image.hh$>$}



Inherits image\_\-primary$<$ V, p\_\-complex$<$ D, G $>$, complex\_\-image$<$ D, G, V $>$ $>$.

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef G \hyperlink{a00151_a11a95e2c914b97af9a27f70cbf861a20}{geom}
\begin{DoxyCompactList}\small\item\em The geometry type of the complex. \item\end{DoxyCompactList}\item 
typedef V \& \hyperlink{a00151_aa77fdcac99487c692bcf7ece86da3405}{lvalue}
\begin{DoxyCompactList}\small\item\em Return type of read-\/write access. \item\end{DoxyCompactList}\item 
typedef const V \& \hyperlink{a00151_a3c1e28d8f3a3d48c9ee2f3721e93d114}{rvalue}
\begin{DoxyCompactList}\small\item\em Return type of read-\/only access. \item\end{DoxyCompactList}\item 
typedef \hyperlink{a00151}{complex\_\-image}$<$ D, tag::psite\_\-$<$ G $>$, tag::value\_\-$<$ V $>$ $>$ \hyperlink{a00151_a7bd0e23e2f6675cbbfaf9aabe095b12c}{skeleton}
\begin{DoxyCompactList}\small\item\em Skeleton. \item\end{DoxyCompactList}\item 
typedef V \hyperlink{a00151_a8e31e5b5cb171607e799a9b3d0b06df1}{value}
\begin{DoxyCompactList}\small\item\em \hyperlink{a00418}{Value} associated type. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a00151_a3c1e28d8f3a3d48c9ee2f3721e93d114}{rvalue} \hyperlink{a00151_ab0ef3f926e32f19b0d9cef9a122a8a69}{operator()} (const \hyperlink{a00154}{complex\_\-psite}$<$ D, G $>$ \&p) const 
\begin{DoxyCompactList}\small\item\em Read-\/only access of face value at point site {\ttfamily p}. \item\end{DoxyCompactList}\item 
\hyperlink{a00151_aa77fdcac99487c692bcf7ece86da3405}{lvalue} \hyperlink{a00151_a49cc09246daa473aa0ed3f061c1d2eff}{operator()} (const \hyperlink{a00154}{complex\_\-psite}$<$ D, G $>$ \&p)
\begin{DoxyCompactList}\small\item\em Read-\/write access of face value at point site {\ttfamily p}. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{Indent}{\bf }\par
{\em \label{_amgrpd41d8cd98f00b204e9800998ecf8427e}
 }\begin{DoxyCompactItemize}
\item 
\hyperlink{a00151_a6eaafd84dffcbbb3848b1eab2022de49}{complex\_\-image} ()
\begin{DoxyCompactList}\small\item\em Constructors. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf }\par
{\em \label{_amgrpd41d8cd98f00b204e9800998ecf8427e}
 }\begin{DoxyCompactItemize}
\item 
const \hyperlink{a00302}{p\_\-complex}$<$ D, G $>$ \& \hyperlink{a00151_a7a59e44b72b038468fb92611970d44ee}{domain} () const 
\begin{DoxyCompactList}\small\item\em Accessors. \item\end{DoxyCompactList}\item 
const metal::vec$<$ D+1, std::vector$<$ mlc\_\-unbool(V) $>$ $>$ \& \hyperlink{a00151_aa56edabd404662f8b3980b02d57709a9}{values} () const 
\begin{DoxyCompactList}\small\item\em Return the array of values associated to the faces. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static const unsigned \hyperlink{a00151_a3c84c7b06498940eb0a52c2b23127c30}{dim} = D
\begin{DoxyCompactList}\small\item\em The dimension of the complex. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$unsigned D, typename G, typename V$>$ class mln::complex\_\-image$<$ D, G, V $>$}

\hyperlink{a00044}{Image} based on a complex. Values attached to each face of the complex.


\begin{DoxyTemplParams}{Template Parameters}
\item[{\em D}]The dimension of the complex. \item[{\em G}]The geometry type of the complex. \item[{\em V}]The value type of the image. \end{DoxyTemplParams}


Definition at line 164 of file mln/core/image/complex\_\-image.hh.



\subsection{Member Typedef Documentation}
\hypertarget{a00151_a11a95e2c914b97af9a27f70cbf861a20}{
\index{mln::complex\_\-image@{mln::complex\_\-image}!geom@{geom}}
\index{geom@{geom}!mln::complex_image@{mln::complex\_\-image}}
\subsubsection[{geom}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G, typename V$>$ typedef G {\bf mln::complex\_\-image}$<$ D, G, V $>$::{\bf geom}}}
\label{dd/db2/a00151_a11a95e2c914b97af9a27f70cbf861a20}


The geometry type of the complex. 



Definition at line 172 of file mln/core/image/complex\_\-image.hh.

\hypertarget{a00151_aa77fdcac99487c692bcf7ece86da3405}{
\index{mln::complex\_\-image@{mln::complex\_\-image}!lvalue@{lvalue}}
\index{lvalue@{lvalue}!mln::complex_image@{mln::complex\_\-image}}
\subsubsection[{lvalue}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G, typename V$>$ typedef V\& {\bf mln::complex\_\-image}$<$ D, G, V $>$::{\bf lvalue}}}
\label{dd/db2/a00151_aa77fdcac99487c692bcf7ece86da3405}


Return type of read-\/write access. 



Definition at line 177 of file mln/core/image/complex\_\-image.hh.

\hypertarget{a00151_a3c1e28d8f3a3d48c9ee2f3721e93d114}{
\index{mln::complex\_\-image@{mln::complex\_\-image}!rvalue@{rvalue}}
\index{rvalue@{rvalue}!mln::complex_image@{mln::complex\_\-image}}
\subsubsection[{rvalue}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G, typename V$>$ typedef const V\& {\bf mln::complex\_\-image}$<$ D, G, V $>$::{\bf rvalue}}}
\label{dd/db2/a00151_a3c1e28d8f3a3d48c9ee2f3721e93d114}


Return type of read-\/only access. 



Definition at line 180 of file mln/core/image/complex\_\-image.hh.

\hypertarget{a00151_a7bd0e23e2f6675cbbfaf9aabe095b12c}{
\index{mln::complex\_\-image@{mln::complex\_\-image}!skeleton@{skeleton}}
\index{skeleton@{skeleton}!mln::complex_image@{mln::complex\_\-image}}
\subsubsection[{skeleton}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G, typename V$>$ typedef {\bf complex\_\-image}$<$ D, tag::psite\_\-$<$G$>$, tag::value\_\-$<$V$>$ $>$ {\bf mln::complex\_\-image}$<$ D, G, V $>$::{\bf skeleton}}}
\label{dd/db2/a00151_a7bd0e23e2f6675cbbfaf9aabe095b12c}


Skeleton. 



Definition at line 183 of file mln/core/image/complex\_\-image.hh.

\hypertarget{a00151_a8e31e5b5cb171607e799a9b3d0b06df1}{
\index{mln::complex\_\-image@{mln::complex\_\-image}!value@{value}}
\index{value@{value}!mln::complex_image@{mln::complex\_\-image}}
\subsubsection[{value}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G, typename V$>$ typedef V {\bf mln::complex\_\-image}$<$ D, G, V $>$::{\bf value}}}
\label{dd/db2/a00151_a8e31e5b5cb171607e799a9b3d0b06df1}


\hyperlink{a00418}{Value} associated type. 



Definition at line 174 of file mln/core/image/complex\_\-image.hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00151_a6eaafd84dffcbbb3848b1eab2022de49}{
\index{mln::complex\_\-image@{mln::complex\_\-image}!complex\_\-image@{complex\_\-image}}
\index{complex\_\-image@{complex\_\-image}!mln::complex_image@{mln::complex\_\-image}}
\subsubsection[{complex\_\-image}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G , typename V $>$ {\bf mln::complex\_\-image}$<$ D, G, V $>$::{\bf complex\_\-image} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dd/db2/a00151_a6eaafd84dffcbbb3848b1eab2022de49}


Constructors. 



Definition at line 276 of file mln/core/image/complex\_\-image.hh.



\subsection{Member Function Documentation}
\hypertarget{a00151_a7a59e44b72b038468fb92611970d44ee}{
\index{mln::complex\_\-image@{mln::complex\_\-image}!domain@{domain}}
\index{domain@{domain}!mln::complex_image@{mln::complex\_\-image}}
\subsubsection[{domain}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G , typename V $>$ const {\bf p\_\-complex}$<$ D, G $>$ \& {\bf mln::complex\_\-image}$<$ D, G, V $>$::domain (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dd/db2/a00151_a7a59e44b72b038468fb92611970d44ee}


Accessors. 

Return the domain of psites od the image. 

Definition at line 343 of file mln/core/image/complex\_\-image.hh.

\hypertarget{a00151_a49cc09246daa473aa0ed3f061c1d2eff}{
\index{mln::complex\_\-image@{mln::complex\_\-image}!operator()@{operator()}}
\index{operator()@{operator()}!mln::complex_image@{mln::complex\_\-image}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G, typename V $>$ {\bf complex\_\-image}$<$ D, G, V $>$::{\bf lvalue} {\bf mln::complex\_\-image}$<$ D, G, V $>$::operator() (
\begin{DoxyParamCaption}
\item[{const {\bf complex\_\-psite}$<$ D, G $>$ \&}]{ p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dd/db2/a00151_a49cc09246daa473aa0ed3f061c1d2eff}


Read-\/write access of face value at point site {\ttfamily p}. 



Definition at line 326 of file mln/core/image/complex\_\-image.hh.



References mln::complex\_\-psite$<$ D, G $>$::face\_\-id(), and mln::complex\_\-psite$<$ D, G $>$::n().

\hypertarget{a00151_ab0ef3f926e32f19b0d9cef9a122a8a69}{
\index{mln::complex\_\-image@{mln::complex\_\-image}!operator()@{operator()}}
\index{operator()@{operator()}!mln::complex_image@{mln::complex\_\-image}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G, typename V $>$ {\bf complex\_\-image}$<$ D, G, V $>$::{\bf rvalue} {\bf mln::complex\_\-image}$<$ D, G, V $>$::operator() (
\begin{DoxyParamCaption}
\item[{const {\bf complex\_\-psite}$<$ D, G $>$ \&}]{ p}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dd/db2/a00151_ab0ef3f926e32f19b0d9cef9a122a8a69}


Read-\/only access of face value at point site {\ttfamily p}. 



Definition at line 317 of file mln/core/image/complex\_\-image.hh.



References mln::complex\_\-psite$<$ D, G $>$::face\_\-id(), and mln::complex\_\-psite$<$ D, G $>$::n().

\hypertarget{a00151_aa56edabd404662f8b3980b02d57709a9}{
\index{mln::complex\_\-image@{mln::complex\_\-image}!values@{values}}
\index{values@{values}!mln::complex_image@{mln::complex\_\-image}}
\subsubsection[{values}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G , typename V $>$ const metal::vec$<$ D+1, std::vector$<$ mlc\_\-unbool(V) $>$ $>$ \& {\bf mln::complex\_\-image}$<$ D, G, V $>$::values (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dd/db2/a00151_aa56edabd404662f8b3980b02d57709a9}


Return the array of values associated to the faces. 



Definition at line 335 of file mln/core/image/complex\_\-image.hh.



\subsection{Member Data Documentation}
\hypertarget{a00151_a3c84c7b06498940eb0a52c2b23127c30}{
\index{mln::complex\_\-image@{mln::complex\_\-image}!dim@{dim}}
\index{dim@{dim}!mln::complex_image@{mln::complex\_\-image}}
\subsubsection[{dim}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G, typename V$>$ const unsigned {\bf mln::complex\_\-image}$<$ D, G, V $>$::{\bf dim} = D\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{dd/db2/a00151_a3c84c7b06498940eb0a52c2b23127c30}


The dimension of the complex. 



Definition at line 170 of file mln/core/image/complex\_\-image.hh.

