Milena (Olena)  User documentation 2.0a Id
 All Classes Namespaces Functions Variables Typedefs Enumerator Groups Pages
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

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.

Definition at line 57 of file is_simple_cell.hh.

Member Typedef Documentation

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

Psite type.

Definition at line 65 of file is_simple_cell.hh.

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

Result type of the functor.

Definition at line 68 of file is_simple_cell.hh.

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.

Definition at line 115 of file is_simple_cell.hh.

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.

Definition at line 107 of file is_simple_cell.hh.

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).

Definition at line 61 of file is_simple_cell.hh.