$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::topo::is_simple_cell< I, N, NL, NH > Class Template Reference

#include <mln/topo/is_simple_cell.hh>

Public Member Functions

 is_simple_cell ()
 is_simple_cell (const mln::Image< I > &ima)
bool operator() (const typename I::psite &p) const
void set_image (const mln::Image< I > &ima)

Public Types

typedef Function_v2b< void > category
typedef is_simple_cell< I, N,
NL, NH > 
exact_t
typedef void mutable_result
typedef bool result

Detailed Description

template<typename I, typename N, typename NL, typename NH>
class mln::topo::is_simple_cell< I, N, NL, NH >

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.

Template Parameters
IThe type of the image.
NThe neighborhood type returning the set of (n-1)- and (n+1)-faces adjacent to a an n-face.
NLThe neighborhood type returning the set of (n-1)-faces adjacent to a an n-face.
NHThe neighborhood type returning the set of (n+1)-faces adjacent to a an n-face.

Definition at line 72 of file is_simple_cell.hh.

Constructor & Destructor Documentation

template<typename I , typename N , typename NL , typename NH >
mln::topo::is_simple_cell< I, N, NL, NH >::is_simple_cell ( )
template<typename I , typename N , typename NL , typename NH >
mln::topo::is_simple_cell< I, N, NL, NH >::is_simple_cell ( const mln::Image< I > &  ima)

Member Function Documentation

template<typename I , typename N , typename NL , typename NH >
bool mln::topo::is_simple_cell< I, N, NL, NH >::operator() ( const typename I::psite &  p) const

Test whether a face (expected to be facet) is a simple cell.

If p is not a facet, return false.

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

template<typename I , typename N , typename NL , typename NH >
void mln::topo::is_simple_cell< I, N, NL, NH >::set_image ( const mln::Image< I > &  ima)

Set the underlying image.

Member Typedef Documentation

typedef Function_v2b<void> mln::Function_v2b< is_simple_cell< I, N, NL, NH > >::category
inherited

Definition at line 162 of file function.hh.

typedef is_simple_cell< I, N, NL, NH > mln::Object< is_simple_cell< I, N, NL, NH > >::exact_t
inherited

Definition at line 105 of file object.hh.

typedef void mln::Function_v2v< is_simple_cell< I, N, NL, NH > >::mutable_result
inherited

Definition at line 135 of file function.hh.

template<typename I , typename N , typename NL , typename NH >
typedef bool mln::topo::is_simple_cell< I, N, NL, NH >::result

Result type of the functor.

Definition at line 77 of file is_simple_cell.hh.