mln::topo::is_simple_cell< I > Class Template Reference

A predicate for the simplicity of a point based on the collapse property of the attachment. More...

#include <is_simple_cell.hh>

Inheritance diagram for mln::topo::is_simple_cell< I >:

Inheritance graph

List of all members.

Public Types

typedef mln::complex_psite< D, G > psite
 Psite type.
typedef bool result
 Result type of the functor.

Public Member Functions

typedef mln_geom (I) G
 Geometry of the image.
bool operator() (const mln::complex_psite< I::dim, mln_geom(I)> &p) const
 Based on the algorithm A2 from couprie.08.pami.
void set_image (const mln::Image< I > &ima)
 Set the underlying image.

Static Public Attributes

static const unsigned D = I::dim
 Dimension of the image (and therefore of the complex).


Detailed Description

template<typename I>
class mln::topo::is_simple_cell< I >

A predicate for the simplicity of a point based on the collapse property of the attachment.

The functor does not actually take a cell as input, but a face that is expected to be a D-facet.


Member Typedef Documentation

template<typename I >
typedef mln::complex_psite<D, G> mln::topo::is_simple_cell< I >::psite

Psite type.

template<typename I >
typedef bool mln::topo::is_simple_cell< I >::result

Result type of the functor.

Reimplemented from mln::Function_v2b< is_simple_cell< I > >.


Member Function Documentation

template<typename I >
typedef mln::topo::is_simple_cell< I >::mln_geom (  ) 

Geometry of the image.

template<typename I >
bool mln::topo::is_simple_cell< I >::operator() ( const mln::complex_psite< I::dim, mln_geom(I)> &  p  )  const [inline]

Based on the algorithm A2 from couprie.08.pami.

References mln::make::attachment().

template<typename I >
void mln::topo::is_simple_cell< I >::set_image ( const mln::Image< I > &  ima  )  [inline]

Set the underlying image.


Member Data Documentation

template<typename I >
const unsigned mln::topo::is_simple_cell< I >::D = I::dim [static]

Dimension of the image (and therefore of the complex).


Generated on Tue Jul 14 16:33:15 2009 for Milena (Olena) by  doxygen 1.5.9