$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::internal::weighted_window_base< W, E > Struct Template Reference

#include <mln/core/internal/weighted_window_base.hh>

Public Member Functions

unsigned delta () const
const W::dpsite & dp (unsigned i) const
bool has (const typename W::dpsite &dp) const
bool is_centered () const
bool is_empty () const
bool is_valid () const
unsigned size () const

Protected Member Functions

 weighted_window_base ()

Public Types

typedef Weighted_Window< void > category
typedef W::dpsite dpsite
typedef E exact_t
typedef W::psite psite
typedef W::site site
typedef W window

Related Functions

(Note that these are not member functions.)

template<typename W >
operator- (const Weighted_Window< W > &rhs)

Detailed Description

template<typename W, typename E>
struct mln::internal::weighted_window_base< W, E >

Definition at line 50 of file weighted_window_base.hh.

Constructor & Destructor Documentation

template<typename W, typename E>
mln::internal::weighted_window_base< W, E >::weighted_window_base ( )
protected

Member Function Documentation

template<typename W, typename E>
unsigned mln::internal::weighted_window_base< W, E >::delta ( ) const

Give the maximum coordinate gap; final method.

This method is valid iff the support is regular and the definition is not varying.

template<typename W, typename E>
const W ::dpsite& mln::internal::weighted_window_base< W, E >::dp ( unsigned  i) const

Give the i-th delta-point; final method.

This method is valid iff the support is regular and the definition is unique.

template<typename W, typename E>
bool mln::internal::weighted_window_base< W, E >::has ( const typename W::dpsite &  dp) const

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.

template<typename W, typename E>
bool mln::internal::weighted_window_base< W, E >::is_centered ( ) const

Test if the weighted window is centered; final method.

This method is valid iff the support is regular and the definition is not varying.

template<typename W, typename E>
bool mln::internal::weighted_window_base< W, E >::is_empty ( ) const

Test if the weighted window is empty; final method.

template<typename W, typename E>
bool mln::internal::weighted_window_base< W, E >::is_valid ( ) const

return true by default.

template<typename W, typename E>
unsigned mln::internal::weighted_window_base< W, E >::size ( ) const

Give the window size; final method.

This method is valid iff the underlying window has a fixed size.

Friends And Related Function Documentation

template<typename W >
W operator- ( const Weighted_Window< W > &  rhs)
related

Compute the symmetrical weighted window of rhs.

Member Typedef Documentation

template<typename E>
typedef Weighted_Window<void> mln::Weighted_Window< E >::category
inherited

Definition at line 72 of file weighted_window.hh.

template<typename W, typename E>
typedef W ::dpsite mln::internal::weighted_window_base< W, E >::dpsite

Dpsite associated type.

Definition at line 57 of file weighted_window_base.hh.

template<typename E>
typedef E mln::Object< E >::exact_t
inherited

Definition at line 105 of file object.hh.

template<typename W, typename E>
typedef W ::psite mln::internal::weighted_window_base< W, E >::psite

Psite associated type.

Definition at line 60 of file weighted_window_base.hh.

template<typename W, typename E>
typedef W ::site mln::internal::weighted_window_base< W, E >::site

Site associated type.

Definition at line 63 of file weighted_window_base.hh.

template<typename W, typename E>
typedef W mln::internal::weighted_window_base< W, E >::window

Window associated type.

Definition at line 54 of file weighted_window_base.hh.