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

#include <mln/topo/n_faces_set.hh>

Public Member Functions

void add (const algebraic_n_face< N, D > &f)
void reserve (size_t n)
const faces_typefaces () const

Public Types

typedef std::vector
< algebraic_n_face< N, D > > 
faces_type

Detailed Description

template<unsigned N, unsigned D>
class mln::topo::n_faces_set< N, D >

Set of face handles of dimension N.

Definition at line 56 of file n_faces_set.hh.

Member Function Documentation

template<unsigned N, unsigned D>
void mln::topo::n_faces_set< N, D >::add ( const algebraic_n_face< N, D > &  f)

Append an algebraic face f to the set.

template<unsigned N, unsigned D>
const faces_type& mln::topo::n_faces_set< N, D >::faces ( ) const

Accessors.

Return the set of handles.

template<unsigned N, unsigned D>
void mln::topo::n_faces_set< N, D >::reserve ( size_t  n)

Reserve n cells in the set.

This methods does not change the content of faces_; it only pre-allocate memory. Method reserve is provided for efficiency purpose, and its use is completely optional.

Member Typedef Documentation

template<unsigned N, unsigned D>
typedef std::vector< algebraic_n_face<N, D> > mln::topo::n_faces_set< N, D >::faces_type

The type of the set of face handles.

Definition at line 70 of file n_faces_set.hh.