$extrastylesheet
#include <mln/core/alias/window1d.hh>
Public Member Functions | |
void | clear () |
unsigned | delta () const |
const mln::dpoint1d & | dp (unsigned i) const |
const mln::util::set < mln::dpoint1d > & | dps_hook_ () const |
bool | has (const mln::dpoint1d &dp) const |
window< mln::dpoint1d > & | insert (const mln::dpoint1d &dp) |
window< mln::dpoint1d > & | insert (const Window< W > &win) |
bool | is_centered () const |
bool | is_empty () const |
bool | is_symmetric () const |
bool | is_valid () const |
void | print (std::ostream &ostr) const |
unsigned | size () const |
const std::vector < mln::dpoint1d > & | std_vector () const |
void | sym () |
window< mln::dpoint1d > & | insert (const typename mln::dpoint1d::coord &dind) |
window< mln::dpoint1d > & | insert (const typename mln::dpoint1d::coord &drow, const typename mln::dpoint1d::coord &dcol) |
window< mln::dpoint1d > & | insert (const typename mln::dpoint1d::coord &dsli, const typename mln::dpoint1d::coord &drow, const typename mln::dpoint1d::coord &dcol) |
Public Types | |
typedef dpsites_bkd_piter < window< mln::dpoint1d > > | bkd_qiter |
typedef Window< void > | category |
typedef psite | center_t |
typedef mln::dpoint1d | dpsite |
typedef window< mln::dpoint1d > | exact_t |
typedef dpsites_fwd_piter < window< mln::dpoint1d > > | fwd_qiter |
typedef mln::dpoint1d::psite | psite |
typedef fwd_qiter | qiter |
typedef window< mln::dpoint1d > | regular |
typedef mln::dpoint1d::site | site |
Type alias for a window with arbitrary shape, defined on the 1D square grid with integer coordinates.
Common 1D windows are predefined and can be used directly. See section 1D windows.
The list of dpoint1d included in a window1d is accessible from std_vector() method or simply by iterating over this list:
Iterating over the neighbors of a specific point is performed thanks to q-iterators, as follows:
It also works while iterating the sites of an image domain:
Definition at line 6 of file window1d.dox.
|
inherited |
Clear the window.
|
inherited |
Give the maximum coordinate gap between the window center and a window point.
|
inherited |
Give the i-th
delta-point.
|
inherited |
INTERNAL_API
Hook to the set of D.
|
inherited |
Test if dp
is in this window definition.
|
inherited |
Insert a delta-point dp
.
|
inherited |
Insert another window win
.
|
inherited |
Insertion of a delta-point with different numbers of arguments (coordinates) w.r.t. the dimension.
|
inherited |
|
inherited |
|
inherited |
Test if the window is centered.
|
inherited |
Test if the window is empty (null size; no delta-point).
|
inherited |
Test if the window is symmetric.
\return True if for every dp of this window, -dp is also in this window.
|
inherited |
return true by default.
|
inherited |
Print the window definition into ostr
.
|
inherited |
Give the window size, i.e., the number of delta-sites.
|
inherited |
Give the std vector of delta-points.
|
inherited |
Apply a central symmetry to the target window.
|
inherited |
|
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 |
|
inherited |
Psite associated type.
Definition at line 58 of file window_base.hh.
|
inherited |
|
inherited |
|
inherited |
Site associated type.
Definition at line 61 of file window_base.hh.