\hypertarget{a00180}{
\section{mln::dpoints\_\-fwd\_\-pixter$<$ I $>$ Class Template Reference}
\label{d0/d81/a00180}\index{mln::dpoints\_\-fwd\_\-pixter@{mln::dpoints\_\-fwd\_\-pixter}}
}


A generic forward iterator on the pixels of a dpoint-\/based window or neighborhood.  




{\ttfamily \#include $<$dpoints\_\-pixter.hh$>$}



Inheritance diagram for mln::dpoints\_\-fwd\_\-pixter$<$ I $>$:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{d8/df7/a03469}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
const I::value \& \hyperlink{a00180_a11890a2631bdbac5d518089d6ef4a1b4}{center\_\-val} () const 
\begin{DoxyCompactList}\small\item\em The value around which this iterator moves. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename Dps , typename Pref $>$ }\\\hyperlink{a00180_a09d18ef6a8f430606f61d2f5ba43107c}{dpoints\_\-fwd\_\-pixter} (const \hyperlink{a00038}{Generalized\_\-Pixel}$<$ Pref $>$ \&pxl\_\-ref, const Dps \&dps)
\begin{DoxyCompactList}\small\item\em Constructor (using a generalized pixel). \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename Dps , typename Pref $>$ }\\\hyperlink{a00180_a4681dee836d5b119ed75e7f65dc87f22}{dpoints\_\-fwd\_\-pixter} (I \&image, const Dps \&dps, const Pref \&p\_\-ref)
\begin{DoxyCompactList}\small\item\em Constructor (using an image). \item\end{DoxyCompactList}\item 
void \hyperlink{a00046_a6770c91baa5666e09d1a0d5a6566afcf}{next} ()
\begin{DoxyCompactList}\small\item\em Go to the next element. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{Indent}{\bf }\par
{\em \label{_amgrpd41d8cd98f00b204e9800998ecf8427e}
 }\begin{DoxyCompactItemize}
\item 
void \hyperlink{a00180_aa340a76157fff562bf800505a7e06906}{start} ()
\begin{DoxyCompactList}\small\item\em Manipulation. \item\end{DoxyCompactList}\item 
void \hyperlink{a00180_a1ce5f6cce38cd4cdbbbfb62f68707cec}{invalidate} ()
\begin{DoxyCompactList}\small\item\em Invalidate the iterator. \item\end{DoxyCompactList}\item 
bool \hyperlink{a00180_a84bb39bb129c2d86917fda092e175aa1}{is\_\-valid} () const 
\begin{DoxyCompactList}\small\item\em Test the iterator validity. \item\end{DoxyCompactList}\item 
void \hyperlink{a00180_ab6fb3e7baadc1f66b3e4eed8df040035}{update} ()
\begin{DoxyCompactList}\small\item\em Force this iterator to update its location to take into account that its center point may have moved. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}


\subsection{Detailed Description}
\subsubsection*{template$<$typename I$>$ class mln::dpoints\_\-fwd\_\-pixter$<$ I $>$}

A generic forward iterator on the pixels of a dpoint-\/based window or neighborhood. Parameter {\ttfamily I} is the image type. 

Definition at line 57 of file dpoints\_\-pixter.hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00180_a4681dee836d5b119ed75e7f65dc87f22}{
\index{mln::dpoints\_\-fwd\_\-pixter@{mln::dpoints\_\-fwd\_\-pixter}!dpoints\_\-fwd\_\-pixter@{dpoints\_\-fwd\_\-pixter}}
\index{dpoints\_\-fwd\_\-pixter@{dpoints\_\-fwd\_\-pixter}!mln::dpoints_fwd_pixter@{mln::dpoints\_\-fwd\_\-pixter}}
\subsubsection[{dpoints\_\-fwd\_\-pixter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ template$<$typename Dps , typename Pref $>$ {\bf mln::dpoints\_\-fwd\_\-pixter}$<$ I $>$::{\bf dpoints\_\-fwd\_\-pixter} (
\begin{DoxyParamCaption}
\item[{I \&}]{ image, }
\item[{const Dps \&}]{ dps, }
\item[{const Pref \&}]{ p\_\-ref}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d0/d81/a00180_a4681dee836d5b119ed75e7f65dc87f22}


Constructor (using an image). 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em image}]The image to iterate over. \item[\mbox{\tt[in]} {\em dps}]An object (neighborhood or window) that can provide a set of delta-\/points. \item[\mbox{\tt[in]} {\em p\_\-ref}]Center (resp. reference) point of the neighborhood (resp. window). \end{DoxyParams}


Definition at line 224 of file dpoints\_\-pixter.hh.

\hypertarget{a00180_a09d18ef6a8f430606f61d2f5ba43107c}{
\index{mln::dpoints\_\-fwd\_\-pixter@{mln::dpoints\_\-fwd\_\-pixter}!dpoints\_\-fwd\_\-pixter@{dpoints\_\-fwd\_\-pixter}}
\index{dpoints\_\-fwd\_\-pixter@{dpoints\_\-fwd\_\-pixter}!mln::dpoints_fwd_pixter@{mln::dpoints\_\-fwd\_\-pixter}}
\subsubsection[{dpoints\_\-fwd\_\-pixter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ template$<$typename Dps , typename Pref $>$ {\bf mln::dpoints\_\-fwd\_\-pixter}$<$ I $>$::{\bf dpoints\_\-fwd\_\-pixter} (
\begin{DoxyParamCaption}
\item[{const {\bf Generalized\_\-Pixel}$<$ Pref $>$ \&}]{ pxl\_\-ref, }
\item[{const Dps \&}]{ dps}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d0/d81/a00180_a09d18ef6a8f430606f61d2f5ba43107c}


Constructor (using a generalized pixel). 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em pxl\_\-ref}]Center (generalized) pixel to iterate around. \item[\mbox{\tt[in]} {\em dps}]An object (neighborhood or window) that can provide a set of delta-\/points. \end{DoxyParams}


Definition at line 241 of file dpoints\_\-pixter.hh.



\subsection{Member Function Documentation}
\hypertarget{a00180_a11890a2631bdbac5d518089d6ef4a1b4}{
\index{mln::dpoints\_\-fwd\_\-pixter@{mln::dpoints\_\-fwd\_\-pixter}!center\_\-val@{center\_\-val}}
\index{center\_\-val@{center\_\-val}!mln::dpoints_fwd_pixter@{mln::dpoints\_\-fwd\_\-pixter}}
\subsubsection[{center\_\-val}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ const I::value \& {\bf mln::dpoints\_\-fwd\_\-pixter}$<$ I $>$::center\_\-val (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d0/d81/a00180_a11890a2631bdbac5d518089d6ef4a1b4}


The value around which this iterator moves. 



Definition at line 256 of file dpoints\_\-pixter.hh.

\hypertarget{a00180_a1ce5f6cce38cd4cdbbbfb62f68707cec}{
\index{mln::dpoints\_\-fwd\_\-pixter@{mln::dpoints\_\-fwd\_\-pixter}!invalidate@{invalidate}}
\index{invalidate@{invalidate}!mln::dpoints_fwd_pixter@{mln::dpoints\_\-fwd\_\-pixter}}
\subsubsection[{invalidate}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ void {\bf mln::dpoints\_\-fwd\_\-pixter}$<$ I $>$::invalidate (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d0/d81/a00180_a1ce5f6cce38cd4cdbbbfb62f68707cec}


Invalidate the iterator. 



Definition at line 325 of file dpoints\_\-pixter.hh.

\hypertarget{a00180_a84bb39bb129c2d86917fda092e175aa1}{
\index{mln::dpoints\_\-fwd\_\-pixter@{mln::dpoints\_\-fwd\_\-pixter}!is\_\-valid@{is\_\-valid}}
\index{is\_\-valid@{is\_\-valid}!mln::dpoints_fwd_pixter@{mln::dpoints\_\-fwd\_\-pixter}}
\subsubsection[{is\_\-valid}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ bool {\bf mln::dpoints\_\-fwd\_\-pixter}$<$ I $>$::is\_\-valid (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d0/d81/a00180_a84bb39bb129c2d86917fda092e175aa1}


Test the iterator validity. 



Definition at line 317 of file dpoints\_\-pixter.hh.



Referenced by mln::dpoints\_\-fwd\_\-pixter$<$ I $>$::update().

\hypertarget{a00046_a6770c91baa5666e09d1a0d5a6566afcf}{
\index{mln::dpoints\_\-fwd\_\-pixter@{mln::dpoints\_\-fwd\_\-pixter}!next@{next}}
\index{next@{next}!mln::dpoints_fwd_pixter@{mln::dpoints\_\-fwd\_\-pixter}}
\subsubsection[{next}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf mln::Iterator}$<$ {\bf dpoints\_\-fwd\_\-pixter}$<$ I $>$  $>$::next (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inherited\mbox{]}}}}
\label{d3/dea/a00046_a6770c91baa5666e09d1a0d5a6566afcf}


Go to the next element. 

\begin{DoxyWarning}{Warning}
This is a final method; iterator classes should not re-\/defined this method. The actual \char`\"{}next\char`\"{} operation has to be defined through the {\itshape next\_\-\/} method.
\end{DoxyWarning}
\begin{DoxyPrecond}{Precondition}
The iterator is valid. 
\end{DoxyPrecond}
\hypertarget{a00180_aa340a76157fff562bf800505a7e06906}{
\index{mln::dpoints\_\-fwd\_\-pixter@{mln::dpoints\_\-fwd\_\-pixter}!start@{start}}
\index{start@{start}!mln::dpoints_fwd_pixter@{mln::dpoints\_\-fwd\_\-pixter}}
\subsubsection[{start}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ void {\bf mln::dpoints\_\-fwd\_\-pixter}$<$ I $>$::start (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d0/d81/a00180_aa340a76157fff562bf800505a7e06906}


Manipulation. 

Start an iteration. 

Definition at line 298 of file dpoints\_\-pixter.hh.



References mln::dpoints\_\-fwd\_\-pixter$<$ I $>$::update().

\hypertarget{a00180_ab6fb3e7baadc1f66b3e4eed8df040035}{
\index{mln::dpoints\_\-fwd\_\-pixter@{mln::dpoints\_\-fwd\_\-pixter}!update@{update}}
\index{update@{update}!mln::dpoints_fwd_pixter@{mln::dpoints\_\-fwd\_\-pixter}}
\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ void {\bf mln::dpoints\_\-fwd\_\-pixter}$<$ I $>$::update (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d0/d81/a00180_ab6fb3e7baadc1f66b3e4eed8df040035}


Force this iterator to update its location to take into account that its center point may have moved. 



Definition at line 284 of file dpoints\_\-pixter.hh.



References mln::dpoints\_\-fwd\_\-pixter$<$ I $>$::is\_\-valid().



Referenced by mln::dpoints\_\-fwd\_\-pixter$<$ I $>$::start().

