$extrastylesheet
#include <mln/core/alias/window3d.hh>
Public Member Functions | |
void | clear () |
unsigned | delta () const |
const mln::dpoint3d & | dp (unsigned i) const |
const mln::util::set < mln::dpoint3d > & | dps_hook_ () const |
bool | has (const mln::dpoint3d &dp) const |
window< mln::dpoint3d > & | insert (const mln::dpoint3d &dp) |
window< mln::dpoint3d > & | 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::dpoint3d > & | std_vector () const |
void | sym () |
window< mln::dpoint3d > & | insert (const typename mln::dpoint3d::coord &dind) |
window< mln::dpoint3d > & | insert (const typename mln::dpoint3d::coord &drow, const typename mln::dpoint3d::coord &dcol) |
window< mln::dpoint3d > & | insert (const typename mln::dpoint3d::coord &dsli, const typename mln::dpoint3d::coord &drow, const typename mln::dpoint3d::coord &dcol) |
Public Types | |
typedef dpsites_bkd_piter < window< mln::dpoint3d > > | bkd_qiter |
typedef Window< void > | category |
typedef psite | center_t |
typedef mln::dpoint3d | dpsite |
typedef window< mln::dpoint3d > | exact_t |
typedef dpsites_fwd_piter < window< mln::dpoint3d > > | fwd_qiter |
typedef mln::dpoint3d::psite | psite |
typedef fwd_qiter | qiter |
typedef window< mln::dpoint3d > | regular |
typedef mln::dpoint3d::site | site |
Type alias for a window with arbitrary shape, defined on the 3D square grid with integer coordinates.
Common 3D windows are predefined and can be used directly: win_c4p_3d(), win_c8p_3d(). See section 3D windows.
The list of dpoint3d included in a window3d 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 window3d.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.