\section{Simple\-List Class Reference}
\label{class_simple_list}\index{SimpleList@{SimpleList}}
Simple\-List distance transform algorithm.  


{\tt \#include $<$Simple\-List.h$>$}

Inheritance diagram for Simple\-List::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_simple_list}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Simple\-List} (const int {\bf x\-Size}, const int {\bf y\-Size}, const bool unload=true)\label{class_simple_list_0a3359ac51f077367b7f8bad0b7ef301}

\item 
void {\bf do\-Transform} (const unsigned char $\ast$const I)\label{class_simple_list_e4f491b87b80e7a1a433d917af000c78}

\begin{CompactList}\small\item\em calculate the distance transform \item\end{CompactList}\item 
virtual bool {\bf get\-P} (const int x, const int y, int \&px, int \&py) const 
\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
P $\ast$ {\bf p}\label{class_simple_list_83878c91171338902e0fe0fb97a8c47a}

\end{CompactItemize}


\subsection{Detailed Description}
Simple\-List distance transform algorithm. 

The Simple\-List distance transform is simply an exhaustive search but it employs a list of border points. It compares each non border point to its distance from each border point and determines the minimum distance (from the non border point to the border points). 



\subsection{Member Function Documentation}
\index{SimpleList@{Simple\-List}!getP@{getP}}
\index{getP@{getP}!SimpleList@{Simple\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual bool Simple\-List::get\-P (const int {\em x}, const int {\em y}, int \& {\em px}, int \& {\em py}) const\hspace{0.3cm}{\tt  [virtual]}}\label{class_simple_list_96812fce6c340f8e08e9326a44f8e067}


\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em x}]is the x location \item[{\em y}]is the y location \item[{\em px}]is the parent's x location to be returned \item[{\em py}]is the parent's y location to be returned \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if the parent is know; otherwise false. \end{Desc}


Reimplemented from {\bf Distance\-Transform} {\rm (p.\,\pageref{class_distance_transform_96812fce6c340f8e08e9326a44f8e067})}.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
{\bf Simple\-List.h}\item 
{\bf Simple\-List.cpp}\end{CompactItemize}
