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

#include <mln/topo/algebraic_face.hh>

Public Member Functions

 algebraic_face ()
 algebraic_face (complex< D > &complex, unsigned n, unsigned face_id, bool sign)
 algebraic_face (const face< D > &f, bool sign)
template<unsigned N>
 algebraic_face (const algebraic_n_face< N, D > &f)
void invalidate ()
bool is_valid () const
bool sign () const
void set_sign (bool sign)
complex< D > cplx () const
unsigned n () const
unsigned face_id () const
void set_cplx (const complex< D > &cplx)
void set_n (unsigned n)
void inc_n ()
void dec_n ()
void set_face_id (unsigned face_id)
void inc_face_id ()
void dec_face_id ()
template<unsigned N>
face_data< N, D > & data () const
std::vector< algebraic_face< D > > lower_dim_adj_faces () const
std::vector< algebraic_face< D > > higher_dim_adj_faces () const

Public Types

typedef complex< D > complex_type

Detailed Description

template<unsigned D>
class mln::topo::algebraic_face< D >

Algebraic face handle in a complex; the face dimension is dynamic.

Contrary to an mln::topo::algebraic_n_face, the dimension of an mln::topo::algebraic_face is not fixed.

Definition at line 60 of file algebraic_face.hh.

Constructor & Destructor Documentation

template<unsigned D>
mln::topo::algebraic_face< D >::algebraic_face ( )

Build a non-initialized algebraic face handle.

template<unsigned D>
mln::topo::algebraic_face< D >::algebraic_face ( complex< D > &  complex,
unsigned  n,
unsigned  face_id,
bool  sign 
)

Build an algebraic face handle from complex and face_id.

template<unsigned D>
mln::topo::algebraic_face< D >::algebraic_face ( const face< D > &  f,
bool  sign 
)

Build an algebraic face handle from an mln::face.

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

Build a face handle from an mln::topo::algebraic_n_face.

Member Function Documentation

template<unsigned D>
complex<D> mln::topo::face< D >::cplx ( ) const
inherited

Accessors.

Return the complex the face belongs to.

template<unsigned D>
template<unsigned N>
face_data<N, D>& mln::topo::face< D >::data ( ) const
inherited

Return the mln::topo::face_data pointed by this handle.

template<unsigned D>
void mln::topo::face< D >::dec_face_id ( )
inherited

Decrement the id of the face.

template<unsigned D>
void mln::topo::face< D >::dec_n ( )
inherited

Decrement the dimension of the face.

template<unsigned D>
unsigned mln::topo::face< D >::face_id ( ) const
inherited

Return the id of the face.

template<unsigned D>
std::vector< algebraic_face<D> > mln::topo::face< D >::higher_dim_adj_faces ( ) const
inherited

Return an array of face handles pointing to adjacent (n+1)-faces.

template<unsigned D>
void mln::topo::face< D >::inc_face_id ( )
inherited

Increment the id of the face.

template<unsigned D>
void mln::topo::face< D >::inc_n ( )
inherited

Increment the dimension of the face.

template<unsigned D>
void mln::topo::face< D >::invalidate ( )
inherited

Invalidate this handle.

template<unsigned D>
bool mln::topo::face< D >::is_valid ( ) const
inherited

Is this handle valid?

template<unsigned D>
std::vector< algebraic_face<D> > mln::topo::face< D >::lower_dim_adj_faces ( ) const
inherited

Return an array of face handles pointing to adjacent (n-1)-faces.

template<unsigned D>
unsigned mln::topo::face< D >::n ( ) const
inherited

Return the dimension of the face.

template<unsigned D>
void mln::topo::face< D >::set_cplx ( const complex< D > &  cplx)
inherited

Set the complex the face belongs to.

template<unsigned D>
void mln::topo::face< D >::set_face_id ( unsigned  face_id)
inherited

Set the id of the face.

template<unsigned D>
void mln::topo::face< D >::set_n ( unsigned  n)
inherited

Set the dimension of the face.

template<unsigned D>
void mln::topo::algebraic_face< D >::set_sign ( bool  sign)

Set the sign of this face.

template<unsigned D>
bool mln::topo::algebraic_face< D >::sign ( ) const

Accessors.

Return the sign of this face.

Member Typedef Documentation

template<unsigned D>
typedef complex<D> mln::topo::algebraic_face< D >::complex_type

Definition at line 66 of file algebraic_face.hh.