$extrastylesheet
#include <mln/win/vline2d.hh>
Public Member Functions | |
| vline2d (unsigned length) | |
| unsigned | delta () const |
| unsigned | delta_ () const |
| const D & | dp (unsigned i) const |
| bool | has (const D &dp) const |
| bool | is_centered () const |
| bool | is_empty () const |
| bool | is_symmetric () const |
| bool | is_valid () const |
| unsigned | length () const |
| void | print (std::ostream &ostr) const |
| void | print_ (std::ostream &ostr) const |
| unsigned | size () const |
| const std::vector< D > & | std_vector () const |
| void | sym () |
| const std::vector< D > & | vect () const |
Protected Member Functions | |
| void | insert (const D &d) |
Protected Attributes | |
| unsigned | length_ |
| mln::window< D > | win_ |
Public Types | |
| enum | |
| typedef dpsites_fwd_piter< E > | bkd_qiter |
| typedef Window< void > | category |
| typedef psite | center_t |
| typedef D | dpsite |
| typedef E | exact_t |
| typedef dpsites_fwd_piter< E > | fwd_qiter |
| typedef D::psite | psite |
| typedef fwd_qiter | qiter |
| typedef window< D > | regular |
| typedef D::site | site |
Related Functions | |
(Note that these are not member functions.) | |
| template<typename I , typename W > | |
| util::array< int > | negative_offsets_wrt (const Image< I > &ima, const Window< W > &win) |
| template<typename I , typename W > | |
| util::array< int > | offsets_wrt (const Image< I > &ima, const Window< W > &win) |
| template<typename I , typename W > | |
| util::array< int > | positive_offsets_wrt (const Image< I > &ima, const Window< W > &win) |
Vertical line window defined on the 2D square grid.
An vline2d is centered and symmetric; so its width is 1 and its height (length) is odd.
For instance:
o x o
is defined with length = 3.
Definition at line 8 of file vline2d.dox.
| mln::win::vline2d::vline2d | ( | unsigned | length | ) |
Constructor.
| [in] | length | Length of the line. |
length is odd.
|
inherited |
Give the maximum coordinate gap between the window center and a window point.
|
inherited |
Give the maximum coordinate gap between the window center and a window point.
Reimplemented from mln::internal::classical_window_base< D, E >.
|
inherited |
Give the i-th delta-point.
|
inherited |
Test if the delta-point dp belongs to the window.
|
protectedinherited |
|
inherited |
Test if the window is centered; return true.
|
inherited |
Test if the window is empty (null size; no delta-point).
|
inherited |
Test if the window is symmetric; return true.
|
inherited |
return true by default.
|
inherited |
Give the line length.
|
inherited |
Print into ostr the window definition.
|
inherited |
Reimplemented from mln::internal::classical_window_base< D, E >.
|
inherited |
Give the line size, that is, its length.
Reimplemented from mln::internal::classical_window_base< D, E >.
|
inherited |
Give the vector of delta-points.
Reimplemented in mln::win::rectangle2d.
|
inherited |
Apply a central symmetry to the target window; a no-op here.
|
inherited |
Give the vector of delta-points.
|
related |
|
related |
|
related |
|
protectedinherited |
Definition at line 96 of file win/line.hh.
|
protectedinherited |
Definition at line 119 of file classical_window_base.hh.
|
inherited |
Backward site iterator associated type.
Definition at line 68 of file classical_window_base.hh.
|
inherited |
Definition at line 95 of file concept/window.hh.
|
inherited |
Type of the window center.
Definition at line 64 of file window_base.hh.
|
inherited |
DPsite associated type.
Definition at line 55 of file window_base.hh.
|
inherited |
|
inherited |
Forward site iterator associated type.
Definition at line 65 of file classical_window_base.hh.
|
inherited |
Psite associated type.
Definition at line 58 of file window_base.hh.
|
inherited |
Site iterator associated type.
Definition at line 71 of file classical_window_base.hh.
|
inherited |
Regular window associated type.
Definition at line 61 of file classical_window_base.hh.
|
inherited |
Site associated type.
Definition at line 61 of file window_base.hh.
|
inherited |
Direction.
Definition at line 76 of file win/line.hh.