Definition of a multiple-size window. More...
#include <multiple_size.hh>

Public Types | |
| typedef multiple_size_qiter< n, W, F > | bkd_qiter |
| typedef Window< void > | category |
| typedef psite | center_t |
| Type of the window center. | |
| typedef W::dpsite | dpsite |
| DPsite associated type. | |
| typedef W | element |
| typedef multiple_size< n, W, F > | exact_t |
| typedef multiple_size_qiter< n, W, F > | fwd_qiter |
| typedef W::psite | psite |
| Psite associated type. | |
| typedef multiple_size_qiter< n, W, F > | qiter |
| typedef multiple_size< n, window< dpsite >, F > | regular |
| typedef W::site | site |
| Site associated type. | |
Public Member Functions | |
| unsigned | delta () const |
| const F & | function () const |
| bool | is_centered () const |
| bool | is_empty () const |
| bool | is_neighbable_ () const |
| Test if this window can be a neighborhood. | |
| bool | is_symmetric () const |
| bool | is_valid () const |
| return true by default. | |
| const W::dpsite & | ith_dp_around (unsigned i, const typename W::psite &p) const |
| multiple_size (const F &f) | |
| multiple_size () | |
| unsigned | nwindows () const |
| void | set_window (unsigned i, const W &win) |
| unsigned | size_around (const typename W::psite &p) const |
| void | sym () |
| const W & | window_ (unsigned i) const |
Private Attributes | |
| F | f_ |
| util::array< W > | win_ |
Definition of a multiple-size window.
Definition at line 78 of file multiple_size.hh.
| typedef multiple_size_qiter<n,W,F> mln::win::multiple_size< n, W, F >::bkd_qiter |
Definition at line 97 of file multiple_size.hh.
typedef Window<void> mln::Window< multiple_size< n, W, F > >::category [inherited] |
Reimplemented from mln::Object< multiple_size< n, W, F > >.
Definition at line 89 of file concept/window.hh.
typedef psite mln::internal::window_base< W::dpsite , multiple_size< n, W, F > >::center_t [inherited] |
Type of the window center.
Definition at line 62 of file window_base.hh.
| typedef W ::dpsite mln::win::multiple_size< n, W, F >::dpsite |
DPsite associated type.
Reimplemented from mln::internal::window_base< W::dpsite, multiple_size< n, W, F > >.
Definition at line 90 of file multiple_size.hh.
| typedef W mln::win::multiple_size< n, W, F >::element |
Definition at line 100 of file multiple_size.hh.
typedef multiple_size< n, W, F > mln::Object< multiple_size< n, W, F > >::exact_t [inherited] |
| typedef multiple_size_qiter<n,W,F> mln::win::multiple_size< n, W, F >::fwd_qiter |
Definition at line 96 of file multiple_size.hh.
| typedef W ::psite mln::win::multiple_size< n, W, F >::psite |
Psite associated type.
Reimplemented from mln::internal::window_base< W::dpsite, multiple_size< n, W, F > >.
Definition at line 91 of file multiple_size.hh.
| typedef multiple_size_qiter<n,W,F> mln::win::multiple_size< n, W, F >::qiter |
Definition at line 98 of file multiple_size.hh.
| typedef multiple_size< n, window<dpsite>, F > mln::win::multiple_size< n, W, F >::regular |
Definition at line 94 of file multiple_size.hh.
| typedef W ::site mln::win::multiple_size< n, W, F >::site |
Site associated type.
Reimplemented from mln::internal::window_base< W::dpsite, multiple_size< n, W, F > >.
Definition at line 92 of file multiple_size.hh.
| mln::win::multiple_size< n, W, F >::multiple_size | ( | ) | [inline] |
Definition at line 180 of file multiple_size.hh.
| mln::win::multiple_size< n, W, F >::multiple_size | ( | const F & | f | ) | [inline] |
Definition at line 187 of file multiple_size.hh.
| unsigned mln::win::multiple_size< n, W, F >::delta | ( | ) | const [inline] |
Definition at line 272 of file multiple_size.hh.
| const F & mln::win::multiple_size< n, W, F >::function | ( | ) | const [inline] |
Definition at line 230 of file multiple_size.hh.
| bool mln::win::multiple_size< n, W, F >::is_centered | ( | ) | const [inline] |
Definition at line 238 of file multiple_size.hh.
| bool mln::win::multiple_size< n, W, F >::is_empty | ( | ) | const [inline] |
Definition at line 195 of file multiple_size.hh.
| bool mln::internal::window_base< W::dpsite , multiple_size< n, W, F > >::is_neighbable_ | ( | ) | const [inherited] |
Test if this window can be a neighborhood.
| bool mln::win::multiple_size< n, W, F >::is_symmetric | ( | ) | const [inline] |
Definition at line 250 of file multiple_size.hh.
| bool mln::internal::window_base< W::dpsite , multiple_size< n, W, F > >::is_valid | ( | ) | const [inherited] |
return true by default.
| const W::dpsite & mln::win::multiple_size< n, W, F >::ith_dp_around | ( | unsigned | i, | |
| const typename W::psite & | p | |||
| ) | const [inline] |
Definition at line 298 of file multiple_size.hh.
References mln::win::multiple_size< n, W, F >::f_.
| unsigned mln::win::multiple_size< n, W, F >::nwindows | ( | ) | const [inline] |
Definition at line 222 of file multiple_size.hh.
| void mln::win::multiple_size< n, W, F >::set_window | ( | unsigned | i, | |
| const W & | win | |||
| ) | [inline] |
Definition at line 203 of file multiple_size.hh.
| unsigned mln::win::multiple_size< n, W, F >::size_around | ( | const typename W::psite & | p | ) | const [inline] |
Definition at line 288 of file multiple_size.hh.
References mln::win::multiple_size< n, W, F >::f_.
| void mln::win::multiple_size< n, W, F >::sym | ( | ) | [inline] |
Definition at line 262 of file multiple_size.hh.
| const W & mln::win::multiple_size< n, W, F >::window_ | ( | unsigned | i | ) | const [inline] |
Definition at line 213 of file multiple_size.hh.
F mln::win::multiple_size< n, W, F >::f_ [private] |
Definition at line 131 of file multiple_size.hh.
Referenced by mln::win::multiple_size< n, W, F >::ith_dp_around(), and mln::win::multiple_size< n, W, F >::size_around().
util::array<W> mln::win::multiple_size< n, W, F >::win_ [private] |
Definition at line 130 of file multiple_size.hh.
1.7.1