#include <classical_window_base.hh>

Public Types | |
| typedef dpsites_fwd_piter< E > | bkd_qiter |
| Backward site iterator associated type. | |
| typedef Window< void > | category |
| typedef D | dpsite |
| DPsite associated type. | |
| typedef E | exact_t |
| typedef dpsites_fwd_piter< E > | fwd_qiter |
| Forward site iterator associated type. | |
| typedef D::psite | psite |
| Psite associated type. | |
| typedef fwd_qiter | qiter |
| Site iterator associated type. | |
| typedef window< D > | regular |
| Regular window associated type. | |
| typedef D::site | site |
| Site associated type. | |
Public Member Functions | |
| unsigned | delta () const |
| Give the maximum coordinate gap between the window center and a window point. | |
| const D & | dp (unsigned i) const |
Give the i-th delta-point. | |
| bool | has (const D &dp) const |
Test if the delta-point dp belongs to the window. | |
| bool | is_centered () const |
| Test if the window is centered; return true. | |
| bool | is_empty () const |
| Test if the window is empty (null size; no delta-point). | |
| bool | is_neighbable_ () const |
| Test if this window can be a neighborhood. | |
| bool | is_symmetric () const |
| Test if the window is symmetric; return true. | |
| bool | is_valid () const |
| return true by default. | |
| void | print (std::ostream &ostr) const |
Print into ostr the window definition. | |
| unsigned | size () const |
| Give the number of delta-points. | |
| const std::vector< D > & | std_vector () const |
| Give the vector of delta-points. | |
| void | sym () |
| Apply a central symmetry to the target window; a no-op here. | |
| const std::vector< D > & | vect () const |
| Give the vector of delta-points. | |
Protected Member Functions | |
| classical_window_base () | |
| unsigned | delta_ () const |
| void | insert (const D &d) |
| void | print_ (std::ostream &ostr) const |
Protected Attributes | |
| mln::window< D > | win_ |
FIXME.
| typedef dpsites_fwd_piter<E> mln::internal::classical_window_base< D, E >::bkd_qiter |
Backward site iterator associated type.
typedef Window<void> mln::Window< E >::category [inherited] |
Reimplemented from mln::Object< E >.
typedef D mln::internal::window_base< D, E >::dpsite [inherited] |
DPsite associated type.
Reimplemented in mln::win::multiple< W, F >, and mln::win::multiple_size< n, W, F >.
typedef E mln::Object< E >::exact_t [inherited] |
| typedef dpsites_fwd_piter<E> mln::internal::classical_window_base< D, E >::fwd_qiter |
Forward site iterator associated type.
typedef D ::psite mln::internal::window_base< D, E >::psite [inherited] |
Psite associated type.
Reimplemented in mln::win::multiple< W, F >, and mln::win::multiple_size< n, W, F >.
| typedef fwd_qiter mln::internal::classical_window_base< D, E >::qiter |
Site iterator associated type.
| typedef window<D> mln::internal::classical_window_base< D, E >::regular |
Regular window associated type.
typedef D ::site mln::internal::window_base< D, E >::site [inherited] |
Site associated type.
Reimplemented in mln::win::multiple< W, F >, and mln::win::multiple_size< n, W, F >.
| mln::internal::classical_window_base< D, E >::classical_window_base | ( | ) | [inline, protected] |
| unsigned mln::internal::classical_window_base< D, E >::delta | ( | ) | const [inline] |
Give the maximum coordinate gap between the window center and a window point.
References mln::exact().
| unsigned mln::internal::classical_window_base< D, E >::delta_ | ( | ) | const [inline, protected] |
| const D & mln::internal::classical_window_base< D, E >::dp | ( | unsigned | i | ) | const [inline] |
Give the i-th delta-point.
References mln::internal::classical_window_base< D, E >::size(), and mln::internal::classical_window_base< D, E >::win_.
| bool mln::internal::classical_window_base< D, E >::has | ( | const D & | dp | ) | const [inline] |
Test if the delta-point dp belongs to the window.
References mln::internal::classical_window_base< D, E >::win_.
| void mln::internal::classical_window_base< D, E >::insert | ( | const D & | d | ) | [inline, protected] |
| bool mln::internal::classical_window_base< D, E >::is_centered | ( | ) | const [inline] |
Test if the window is centered; return true.
References mln::internal::classical_window_base< D, E >::win_.
| bool mln::internal::classical_window_base< D, E >::is_empty | ( | ) | const [inline] |
Test if the window is empty (null size; no delta-point).
References mln::internal::classical_window_base< D, E >::win_.
| bool mln::internal::window_base< D, E >::is_neighbable_ | ( | ) | const [inline, inherited] |
Test if this window can be a neighborhood.
References mln::exact().
Referenced by mln::convert::over_load::from_to_().
| bool mln::internal::classical_window_base< D, E >::is_symmetric | ( | ) | const [inline] |
Test if the window is symmetric; return true.
References mln::internal::classical_window_base< D, E >::win_.
| bool mln::internal::window_base< D, E >::is_valid | ( | ) | const [inline, inherited] |
return true by default.
Referenced by mln::morpho::approx::impl::dilation_by_distance_thresholding_2d(), mln::morpho::approx::impl::dilation_by_distance_thresholding_3d(), mln::morpho::approx::impl::erosion_by_distance_thresholding_2d(), and mln::morpho::approx::impl::erosion_by_distance_thresholding_3d().
| void mln::internal::classical_window_base< D, E >::print | ( | std::ostream & | ostr | ) | const [inline] |
Print into ostr the window definition.
References mln::exact().
| void mln::internal::classical_window_base< D, E >::print_ | ( | std::ostream & | ostr | ) | const [inline, protected] |
| unsigned mln::internal::classical_window_base< D, E >::size | ( | ) | const [inline] |
Give the number of delta-points.
Reimplemented in mln::win::line< M, i, C >.
References mln::internal::classical_window_base< D, E >::win_.
Referenced by mln::internal::classical_window_base< D, E >::dp().
| const std::vector< D > & mln::internal::classical_window_base< D, E >::std_vector | ( | ) | const [inline] |
Give the vector of delta-points.
Reimplemented in mln::win::rectangle2d.
References mln::internal::classical_window_base< D, E >::win_.
Referenced by mln::internal::classical_window_base< D, E >::vect().
| void mln::internal::classical_window_base< D, E >::sym | ( | ) | [inline] |
Apply a central symmetry to the target window; a no-op here.
References mln::internal::classical_window_base< D, E >::win_.
| const std::vector< D > & mln::internal::classical_window_base< D, E >::vect | ( | ) | const [inline] |
Give the vector of delta-points.
References mln::internal::classical_window_base< D, E >::std_vector().
mln::window<D> mln::internal::classical_window_base< D, E >::win_ [protected] |
Referenced by mln::internal::classical_window_base< D, E >::delta_(), mln::internal::classical_window_base< D, E >::dp(), mln::internal::classical_window_base< D, E >::has(), mln::internal::classical_window_base< D, E >::insert(), mln::internal::classical_window_base< D, E >::is_centered(), mln::internal::classical_window_base< D, E >::is_empty(), mln::internal::classical_window_base< D, E >::is_symmetric(), mln::internal::classical_window_base< D, E >::print_(), mln::internal::classical_window_base< D, E >::size(), mln::internal::classical_window_base< D, E >::std_vector(), and mln::internal::classical_window_base< D, E >::sym().
1.7.1