\hypertarget{a00141}{
\section{mln::canvas::browsing::diagonal2d\_\-t Struct Reference}
\label{d5/d4e/a00141}\index{mln::canvas::browsing::diagonal2d\_\-t@{mln::canvas::browsing::diagonal2d\_\-t}}
}


\hyperlink{a00029}{Browsing} in a certain direction.  




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



Inheritance diagram for mln::canvas::browsing::diagonal2d\_\-t:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=364pt]{d7/d87/a03759}
\end{center}
\end{figure}


\subsection{Detailed Description}
\hyperlink{a00029}{Browsing} in a certain direction. This canvas browse all the point of an image 'input' of type 'I' and of dimension 'dim' in the direction 'dir'.

The functor should provide (In addition to 'input', 'I', 'dim' and 'dir') three methods :


\begin{DoxyItemize}
\item init() : Will be called at the beginning.
\item next() : Will be called at each point 'p' (also provided by the fonctor).
\item final(): Will be called at the end.
\end{DoxyItemize}

F shall features : \par
 \{ \par
 -\/-\/-\/ as types: \par
 I; \par
 -\/-\/-\/ as attributes: \par
 dim; \par
 dir; // and test dir $<$ dim \par
 input; \par
 p; \par
 -\/-\/-\/ as methods: \par
 void init(); \par
 void next(); \par
 void final(); \par
 \} \par


Example : \par


$|$ 1 3 6 $|$ 2 5 8 $|$ 4 7 9 L-\/-\/-\/-\/-\/-\/$>$ 

Definition at line 82 of file diagonal2d.hh.

