\hypertarget{a02810}{
\section{3D windows}
\label{d6/d59/a02810}\index{3D windows@{3D windows}}
}


Predefined 3D windows.  


\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{a00446}{mln::win::cube3d}
\begin{DoxyCompactList}\small\item\em Cube window defined on the 3D grid. \item\end{DoxyCompactList}\item 
struct \hyperlink{a00447}{mln::win::cuboid3d}
\begin{DoxyCompactList}\small\item\em Cuboid defined on the 3-\/D square grid. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef line$<$ grid::cube, 0, def::coord $>$ \hyperlink{a02810_gab77d4ce6475d4a73a3e7a800ea378194}{mln::win::sline3d}
\begin{DoxyCompactList}\small\item\em Depth line window defined on the 3D cubic grid. \item\end{DoxyCompactList}\item 
typedef ball$<$ grid::cube, def::coord $>$ \hyperlink{a02810_ga5ea1c1ab863e1af4ae5d3b412130d691}{mln::win::sphere3d}
\begin{DoxyCompactList}\small\item\em 3D sphere window; precisely, ball-\/shaped window defined on the 3D cubic grid. \item\end{DoxyCompactList}\item 
typedef window$<$ \hyperlink{a00178}{mln::dpoint3d} $>$ \hyperlink{a02810_gab748a62a7864736e9c74b671776cff9f}{mln::window3d}
\begin{DoxyCompactList}\small\item\em Type alias for a window with arbitrary shape, defined on the 3D square grid with integer coordinates. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
const window3d \& \hyperlink{a02810_ga554a3dba411c8f9113b1046c9a494013}{mln::win\_\-c4p\_\-3d} ()
\begin{DoxyCompactList}\small\item\em 4-\/connectivity window on the 3D grid, including the center. \item\end{DoxyCompactList}\item 
const window3d \& \hyperlink{a02810_ga2f78147fee4cfcf807ef0ff6bd5843ed}{mln::win\_\-c8p\_\-3d} ()
\begin{DoxyCompactList}\small\item\em 8-\/connectivity window on the 3D grid, including the center. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Predefined 3D windows. 

\subsection{Typedef Documentation}
\hypertarget{a02810_gab77d4ce6475d4a73a3e7a800ea378194}{
\index{modwin3d@{modwin3d}!sline3d@{sline3d}}
\index{sline3d@{sline3d}!modwin3d@{modwin3d}}
\subsubsection[{sline3d}]{\setlength{\rightskip}{0pt plus 5cm}typedef line$<$grid::cube, 0, def::coord$>$ {\bf mln::win::sline3d}}}
\label{d6/d59/a02810_gab77d4ce6475d4a73a3e7a800ea378194}


Depth line window defined on the 3D cubic grid. 

An sline3d is centered and symmetric; so its height and its width are 1 and its depth is odd.

For instance: \begin{DoxyVerb}
         . . .
        . o .
       . . .

         . . .
        . x .
       . . .

         . . .
        . o .
       . . .

       \end{DoxyVerb}
 is defined with length = 3. 

Definition at line 68 of file sline3d.hh.

\hypertarget{a02810_ga5ea1c1ab863e1af4ae5d3b412130d691}{
\index{modwin3d@{modwin3d}!sphere3d@{sphere3d}}
\index{sphere3d@{sphere3d}!modwin3d@{modwin3d}}
\subsubsection[{sphere3d}]{\setlength{\rightskip}{0pt plus 5cm}typedef ball$<$grid::cube, def::coord$>$ {\bf mln::win::sphere3d}}}
\label{d6/d59/a02810_ga5ea1c1ab863e1af4ae5d3b412130d691}


3D sphere window; precisely, ball-\/shaped window defined on the 3D cubic grid. 



Definition at line 47 of file sphere3d.hh.

\hypertarget{a02810_gab748a62a7864736e9c74b671776cff9f}{
\index{modwin3d@{modwin3d}!window3d@{window3d}}
\index{window3d@{window3d}!modwin3d@{modwin3d}}
\subsubsection[{window3d}]{\setlength{\rightskip}{0pt plus 5cm}typedef window$<${\bf mln::dpoint3d}$>$ {\bf mln::window3d}}}
\label{d6/d59/a02810_gab748a62a7864736e9c74b671776cff9f}


Type alias for a window with arbitrary shape, defined on the 3D square grid with integer coordinates. 



Definition at line 48 of file window3d.hh.



\subsection{Function Documentation}
\hypertarget{a02810_ga554a3dba411c8f9113b1046c9a494013}{
\index{modwin3d@{modwin3d}!win\_\-c4p\_\-3d@{win\_\-c4p\_\-3d}}
\index{win\_\-c4p\_\-3d@{win\_\-c4p\_\-3d}!modwin3d@{modwin3d}}
\subsubsection[{win\_\-c4p\_\-3d}]{\setlength{\rightskip}{0pt plus 5cm}const window3d \& mln::win\_\-c4p\_\-3d (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d6/d59/a02810_ga554a3dba411c8f9113b1046c9a494013}


4-\/connectivity window on the 3D grid, including the center. 

\begin{DoxyVerb}

       - - -
      - - -
     - - -

       - o -
      o x o
     - o -

       - - -
      - - -
     - - -
    \end{DoxyVerb}


\begin{DoxyReturn}{Returns}
A window3d. 
\end{DoxyReturn}


Definition at line 119 of file window3d.hh.



References mln::window$<$ D $>$::insert(), and mln::window$<$ D $>$::size().

\hypertarget{a02810_ga2f78147fee4cfcf807ef0ff6bd5843ed}{
\index{modwin3d@{modwin3d}!win\_\-c8p\_\-3d@{win\_\-c8p\_\-3d}}
\index{win\_\-c8p\_\-3d@{win\_\-c8p\_\-3d}!modwin3d@{modwin3d}}
\subsubsection[{win\_\-c8p\_\-3d}]{\setlength{\rightskip}{0pt plus 5cm}const window3d \& mln::win\_\-c8p\_\-3d (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d6/d59/a02810_ga2f78147fee4cfcf807ef0ff6bd5843ed}


8-\/connectivity window on the 3D grid, including the center. 

\begin{DoxyVerb}
       - - -
      - - -
     - - -

       o o o
      o x o
     o o o

       - - -
      - - -
     - - -
    \end{DoxyVerb}


\begin{DoxyReturn}{Returns}
A window3d. 
\end{DoxyReturn}


Definition at line 135 of file window3d.hh.



References mln::window$<$ D $>$::insert(), and mln::window$<$ D $>$::size().

