\hypertarget{a00148}{
\section{mln::canvas::browsing::snake\_\-vert\_\-t Struct Reference}
\label{db/d48/a00148}\index{mln::canvas::browsing::snake\_\-vert\_\-t@{mln::canvas::browsing::snake\_\-vert\_\-t}}
}


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




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



Inheritance diagram for mln::canvas::browsing::snake\_\-vert\_\-t:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=364pt]{dc/df3/a03773}
\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 :

$|$ /$\backslash$ $|$ $|$ $|$ $|$ $\backslash$/ $|$ $\backslash$/

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.
\item \hyperlink{a01799_aeedd381ffb166129f54ecb8e01e11ae9}{up()} : Will ba called after each moving up.
\item fwd() : Will be called after each moving right. (will also be called once at the first point).
\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 \hyperlink{a01799_aeedd381ffb166129f54ecb8e01e11ae9}{up()}; \par
 void fwd(); \par
 \} \par
 

Definition at line 83 of file snake\_\-vert.hh.

