\hypertarget{a00146}{
\section{mln::canvas::browsing::snake\_\-fwd\_\-t Struct Reference}
\label{d9/db6/a00146}\index{mln::canvas::browsing::snake\_\-fwd\_\-t@{mln::canvas::browsing::snake\_\-fwd\_\-t}}
}


\hyperlink{a00029}{Browsing} in a snake-\/way, forward.  




{\ttfamily \#include $<$snake\_\-fwd.hh$>$}



Inheritance diagram for mln::canvas::browsing::snake\_\-fwd\_\-t:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=362pt]{d5/ddf/a03769}
\end{center}
\end{figure}


\subsection{Detailed Description}
\hyperlink{a00029}{Browsing} in a snake-\/way, forward. This canvas browse all the point of an image 'input' like this :

-\/-\/-\/-\/-\/-\/-\/$>$ $<$-\/-\/-\/-\/-\/-\/' '-\/-\/-\/-\/-\/-\/$>$

The fonctor should provide (In addition to 'input') four methods :


\begin{DoxyItemize}
\item init() : Will be called at the beginning.
\item down() : Will be called after each moving down. (will also be called once at the first point).
\item fwd() : Will be called after each moving right.
\item bwd() : Will ba called after each moving left.
\end{DoxyItemize}

This methods should acces to the current working point 'p' also provided by the functor.

Warning: This canvas works only on 2D.

F shall feature: \par
 \{ \par
 -\/-\/-\/ as attributes: \par
 input; \par
 p; \par
 -\/-\/-\/ as methods: \par
 void init(); \par
 void down(); \par
 void fwd(); \par
 void bkd(); \par
 \} \par
 

Definition at line 84 of file snake\_\-fwd.hh.

