Milena (Olena)  User documentation 2.0a Id
 All Classes Namespaces Functions Variables Typedefs Enumerator Groups Pages
3D 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::c2_3d_sli ()
 depth 2-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.

Definition at line 50 of file neighb3d.hh.

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.

Definition at line 288 of file neighb3d.hh.

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.

Definition at line 309 of file neighb3d.hh.

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

const neighb3d & mln::c2_3d_sli ( )
inline

depth 2-connectivity neighborhood on the 3D grid.

  . . .
 . o .
. . .

  . . .
 . x .
. . .

  . . .
 . o .
. . .
Returns
A neighb3d.

Definition at line 226 of file neighb3d.hh.

References mln::window< D >::insert().

const neighb3d & mln::c4_3d ( )
inline

4-connectivity neighborhood on the 3D grid.

  . . .
 . . .
. . .

  . o .
 o x o
. o .

  . . .
 . . .
. . .
Returns
A neighb3d.

Definition at line 241 of file neighb3d.hh.

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.

Definition at line 271 of file neighb3d.hh.

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.

Definition at line 257 of file neighb3d.hh.