mln::neighb< W > Class Template Reference

Adapter class from window to neighborhood. More...

#include <neighb.hh>

Inheritance diagram for mln::neighb< W >:

Inheritance graph

List of all members.

Public Types

typedef neighb_bkd_niter< W > bkd_niter
 Backward site iterator associated type.
typedef Neighborhood< void > category
typedef W::dpsite dpsite
 Dpsite associated type.
typedef E exact_t
typedef neighb_fwd_niter< W > fwd_niter
 Forward site iterator associated type.
typedef fwd_niter niter
 Site iterator associated type.
typedef W::psite psite
 Psite associated type.
typedef W::site site
 Site associated type.
typedef W window
 Window associated type.

Public Member Functions

void change_window (const W &new_win)
 Change the corresponding window.
unsigned delta () const
 Give the maximum coordinate gap between the neighborhood center and a neighboring point.
const W::dpsite & dp (unsigned i) const
 Give the maximum coordinate gap between the neighborhood center and a neighboring point.
W & hook_win_ ()
bool is_valid () const
 Return true by default.
 neighb (const W &win)
 Constructor from a window win.
 neighb ()
 Constructor without argument.
unsigned size () const
 Give the neighborhood size, i.e., the number of elements it contains.
const W & win () const
 Get the corresponding window.

Package Attributes

 __pad0__:neighb_base<W
neighb< W > super_


Detailed Description

template<typename W>
class mln::neighb< W >

Adapter class from window to neighborhood.

Definition at line 76 of file mln/core/neighb.hh.


Member Typedef Documentation

template<typename W>
typedef neighb_bkd_niter<W> mln::neighb< W >::bkd_niter

Backward site iterator associated type.

Definition at line 87 of file mln/core/neighb.hh.

template<typename E>
typedef Neighborhood<void> mln::Neighborhood< E >::category [inherited]

Reimplemented from mln::Object< E >.

Definition at line 68 of file core/concept/neighborhood.hh.

template<typename W, typename E>
typedef W ::dpsite mln::internal::neighborhood_base< W, E >::dpsite [inherited]

Dpsite associated type.

Definition at line 125 of file neighborhood_base.hh.

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]

Definition at line 172 of file object.hh.

template<typename W>
typedef neighb_fwd_niter<W> mln::neighb< W >::fwd_niter

Forward site iterator associated type.

Definition at line 84 of file mln/core/neighb.hh.

template<typename W>
typedef fwd_niter mln::neighb< W >::niter

Site iterator associated type.

Definition at line 90 of file mln/core/neighb.hh.

template<typename W, typename E>
typedef W ::psite mln::internal::neighborhood_base< W, E >::psite [inherited]

Psite associated type.

Definition at line 128 of file neighborhood_base.hh.

template<typename W, typename E>
typedef W ::site mln::internal::neighborhood_base< W, E >::site [inherited]

Site associated type.

Definition at line 131 of file neighborhood_base.hh.

template<typename W, typename E>
typedef W mln::internal::neighborhood_base< W, E >::window [inherited]

Window associated type.

Definition at line 122 of file neighborhood_base.hh.


Constructor & Destructor Documentation

template<typename W>
mln::neighb< W >::neighb (  )  [inline]

Constructor without argument.

Definition at line 150 of file mln/core/neighb.hh.

template<typename W>
mln::neighb< W >::neighb ( const W &  win  )  [inline]

Constructor from a window win.

Definition at line 156 of file mln/core/neighb.hh.


Member Function Documentation

template<typename W, typename E>
void mln::internal::neighb_base< W, E >::change_window ( const W &  new_win  )  [inline, inherited]

template<typename W, typename E>
unsigned mln::internal::neighborhood_impl< W, E >::delta (  )  const [inline, inherited]

Give the maximum coordinate gap between the neighborhood center and a neighboring point.

Definition at line 177 of file neighborhood_base.hh.

References mln::exact().

template<typename W, typename E>
const W::dpsite & mln::internal::neighborhood_impl< W, E >::dp ( unsigned  i  )  const [inline, inherited]

Give the maximum coordinate gap between the neighborhood center and a neighboring point.

Definition at line 189 of file neighborhood_base.hh.

References mln::exact().

template<typename W, typename E>
W & mln::internal::neighb_base< W, E >::hook_win_ (  )  [inline, inherited]

template<typename W, typename E>
bool mln::internal::neighborhood_base< W, E >::is_valid (  )  const [inline, inherited]

Return true by default.

Definition at line 157 of file neighborhood_base.hh.

template<typename W, typename E>
unsigned mln::internal::neighborhood_impl< W, E >::size (  )  const [inline, inherited]

Give the neighborhood size, i.e., the number of elements it contains.

Definition at line 167 of file neighborhood_base.hh.

References mln::exact().

Referenced by mln::c18(), mln::c2(), mln::c26(), mln::c2_col(), mln::c2_row(), mln::c4(), mln::c4_3d(), mln::c6(), mln::c8(), mln::c8_3d(), and mln::world::inter_pixel::v2v().

template<typename W, typename E>
const W & mln::internal::neighb_base< W, E >::win (  )  const [inline, inherited]


Member Data Documentation

template<typename W>
mln::neighb< W >::__pad0__ [package]

Definition at line 79 of file mln/core/neighb.hh.

template<typename W>
neighb<W> mln::neighb< W >::super_ [package]


Generated on Sun Apr 25 01:55:52 2010 for Milena (Olena) by  doxygen 1.5.6