Base class for weighted window classes. More...
#include <weighted_window_base.hh>

Public Types | |
| typedef Weighted_Window< void > | category |
| typedef W::dpsite | dpsite |
| Dpsite associated type. | |
| typedef E | exact_t |
| typedef W::psite | psite |
| Psite associated type. | |
| typedef W::site | site |
| Site associated type. | |
| typedef W | window |
| Window associated type. | |
Public Member Functions | |
| unsigned | delta () const |
| Give the maximum coordinate gap; final method. | |
| const W::dpsite & | dp (unsigned i) const |
Give the i-th delta-point; final method. | |
| bool | has (const typename W::dpsite &dp) const |
Test if the dp delta-point is in this window; final method. | |
| bool | is_centered () const |
| Test if the weighted window is centered; final method. | |
| bool | is_empty () const |
| Test if the weighted window is empty; final method. | |
| bool | is_valid () const |
| return true by default. | |
| unsigned | size () const |
| Give the window size; final method. | |
Protected Member Functions | |
| weighted_window_base () | |
Related Functions | |
(Note that these are not member functions.) | |
| template<typename W > | |
| W | operator- (const Weighted_Window< W > &rhs) |
Compute the symmetrical weighted window of rhs. | |
Base class for weighted window classes.
W is the corresponding window type.
typedef Weighted_Window<void> mln::Weighted_Window< E >::category [inherited] |
Reimplemented from mln::Object< E >.
| typedef W ::dpsite mln::internal::weighted_window_base< W, E >::dpsite |
Dpsite associated type.
Reimplemented in mln::w_window< D, W >.
typedef E mln::Object< E >::exact_t [inherited] |
| typedef W ::psite mln::internal::weighted_window_base< W, E >::psite |
Psite associated type.
| typedef W ::site mln::internal::weighted_window_base< W, E >::site |
Site associated type.
| typedef W mln::internal::weighted_window_base< W, E >::window |
Window associated type.
| mln::internal::weighted_window_base< W, E >::weighted_window_base | ( | ) | [inline, protected] |
| unsigned mln::internal::weighted_window_base< W, E >::delta | ( | ) | const [inline] |
Give the maximum coordinate gap; final method.
This method is valid iff the support is regular and the definition is not varying.
References mln::exact().
| const W::dpsite & mln::internal::weighted_window_base< W, E >::dp | ( | unsigned | i | ) | const [inline] |
Give the i-th delta-point; final method.
This method is valid iff the support is regular and the definition is unique.
References mln::exact(), and mln::internal::weighted_window_base< W, E >::size().
| bool mln::internal::weighted_window_base< W, E >::has | ( | const typename W::dpsite & | dp | ) | const [inline] |
Test if the dp delta-point is in this window; final method.
This method is valid iff the support is regular and the definition is unique.
References mln::exact().
| bool mln::internal::weighted_window_base< W, E >::is_centered | ( | ) | const [inline] |
Test if the weighted window is centered; final method.
This method is valid iff the support is regular and the definition is not varying.
References mln::exact().
| bool mln::internal::weighted_window_base< W, E >::is_empty | ( | ) | const [inline] |
Test if the weighted window is empty; final method.
References mln::exact().
| bool mln::internal::weighted_window_base< W, E >::is_valid | ( | ) | const [inline] |
return true by default.
| unsigned mln::internal::weighted_window_base< W, E >::size | ( | ) | const [inline] |
Give the window size; final method.
This method is valid iff the underlying window has a fixed size.
References mln::exact().
Referenced by mln::internal::weighted_window_base< W, E >::dp().
| W operator- | ( | const Weighted_Window< W > & | rhs | ) | [related, inherited] |
Compute the symmetrical weighted window of rhs.
1.7.1