3D neighborhoods
[Neighborhoods]

Predefined 3D neighborhoods. More...


Typedefs

typedef neighb< window3d > mln::neighb3d
 Type alias for a neighborhood defined on the 3D square grid with integer coordinates.

Functions

const neighb3d & mln::c18 ()
 18-connectivity neighborhood on the 3D grid.
const neighb3d & mln::c26 ()
 26-connectivity neighborhood on the 3D grid.
const neighb3d & mln::c4_3d ()
 4-connectivity neighborhood on the 3D grid.
const neighb3d & mln::c6 ()
 6-connectivity neighborhood on the 3D grid.
const neighb3d & mln::c8_3d ()
 8-connectivity neighborhood on the 3D grid.


Detailed Description

Predefined 3D neighborhoods.

Typedef Documentation

typedef neighb<window3d> mln::neighb3d

Type alias for a neighborhood defined on the 3D square grid with integer coordinates.


Function Documentation

const neighb3d & mln::c18 (  )  [inline]

18-connectivity neighborhood on the 3D grid.


      . o .
     o o o
    . o .

      o o o
     o x o
    o o o

      . o .
     o o o
    . o .

    

Returns:
A neighb3d.

References mln::c6(), mln::window< D >::insert(), and mln::win::sym().

Referenced by mln::c26().

const neighb3d & mln::c26 (  )  [inline]

26-connectivity neighborhood on the 3D grid.


      o o o
     o o o
    o o o

      o o o
     o x o
    o o o

      o o o
     o o o
    o o o

    

Returns:
A neighb3d.

References mln::c18(), mln::window< D >::insert(), and mln::win::sym().

const neighb3d & mln::c4_3d (  )  [inline]

4-connectivity neighborhood on the 3D grid.


     . . .
    . . .
   . . .

     . o .
    o x o
   . o .

     . . .
    . . .
   . . .

    

Returns:
A neighb3d.

References mln::window< D >::insert(), and mln::win::sym().

const neighb3d & mln::c6 (  )  [inline]

6-connectivity neighborhood on the 3D grid.


       . . .
      . o .
     . . .

       . o .
      o x o
     . o .

       . . .
      . o .
     . . .

    

Returns:
A neighb3d.

References mln::window< D >::insert(), and mln::win::sym().

Referenced by mln::c18().

const neighb3d & mln::c8_3d (  )  [inline]

8-connectivity neighborhood on the 3D grid.


       . . .
      . . .
     . . .

       o o o
      o x o
     o o o

       . . .
      . . .
     . . .

    

Returns:
A neighb3d.


Generated on Tue Jul 14 16:30:21 2009 for Milena (Olena) by  doxygen 1.5.9