\hypertarget{a00142}{
\section{mln::canvas::browsing::dir\_\-struct\_\-elt\_\-incr\_\-update\_\-t Struct Reference}
\label{d2/d82/a00142}\index{mln::canvas::browsing::dir\_\-struct\_\-elt\_\-incr\_\-update\_\-t@{mln::canvas::browsing::dir\_\-struct\_\-elt\_\-incr\_\-update\_\-t}}
}


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




{\ttfamily \#include $<$dir\_\-struct\_\-elt\_\-incr\_\-update.hh$>$}



Inheritance diagram for mln::canvas::browsing::dir\_\-struct\_\-elt\_\-incr\_\-update\_\-t:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{de/d79/a03761}
\end{center}
\end{figure}


\subsection{Detailed Description}
\hyperlink{a00029}{Browsing} in a certain direction with a segment. This canvas browse all the point of an image 'input' of type 'I', of dimension 'dim' in the direction 'dir' with considering weigh the 'length' nearest points.

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


\begin{DoxyItemize}
\item init() : Will be called at the beginning.
\item init\_\-line() : Will be called at the beginning of each line.
\item add\_\-point(q) : Will be called for taking the new point 'q' into account.
\item remove\_\-point(q): Will be called for untaking the new point 'q' into account.
\item next() : Will be called at each point 'p' (also provided by the functor).
\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
 length; \par
 -\/-\/-\/ as methods: \par
 void init(); \par
 void init\_\-line(); \par
 void add\_\-point(q) \par
 void remove\_\-point(q) \par
 void next(); \par
 void final(); \par
 \} \par
 

Definition at line 86 of file dir\_\-struct\_\-elt\_\-incr\_\-update.hh.

