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

#include <mln/topo/adj_m_face_iter.hh>

Public Member Functions

unsigned m () const
void next ()
void set_m (unsigned m)
void update_adj_faces_ ()
 adj_m_face_bkd_iter ()
template<typename Fref >
 adj_m_face_bkd_iter (const Fref &f_ref, unsigned m)
bool is_valid () const
void invalidate ()
void do_start_ ()
void do_next_ ()
void update_f_ ()
void center_at (const center_type &c)
void start ()
void next_ ()
const facesubject () const
 operator const algebraic_face< D > & () const

Protected Member Functions

void update_adj_faces__ (const topo::face< D > &center, std::vector< algebraic_face< D > > &adj_faces)

Protected Attributes

adj_faces_t adj_faces_
const center_typec_
face f_
super_::adj_faces_t::const_reverse_iterator i_
unsigned m_

Public Types

typedef Object< void > category
typedef topo::face< D > center_type
typedef adj_m_face_bkd_iter< D > exact_t
typedef algebraic_face< D > face
typedef algebraic_face< D > face_type

Protected Types

typedef std::vector< face_typeadj_faces_t

Detailed Description

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

Definition at line 125 of file adj_m_face_iter.hh.

Constructor & Destructor Documentation

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

Construction.

Construct an iterator, with an invalid reference face, and a target dimension equal to 0.

template<unsigned D>
template<typename Fref >
mln::topo::adj_m_face_bkd_iter< D >::adj_m_face_bkd_iter ( const Fref &  f_ref,
unsigned  m 
)

Constructs an iterator, with f_ref as reference face, and a target dimension equal to m.

Member Function Documentation

Manipulation.

Change the center face.

Go to the next point.

Start an iteration.

Invalidate the iterator.

ManipulationTest if the iterator is valid.

template<unsigned D>
unsigned mln::topo::internal::adj_m_face_iterator< D >::m ( ) const
inherited

Get the target dimension.

void mln::Iterator< adj_m_face_bkd_iter< D > >::next ( )
inherited

Go to the next element.

Warning
This is a final method; iterator classes should not re-defined this method. The actual "next" operation has to be defined through the next_ method.
Precondition
The iterator is valid.

Go to the next point.

mln::topo::internal::complex_iterator_base< algebraic_face< D > , adj_m_face_bkd_iter< D > >::operator const algebraic_face< D > & ( ) const
inherited

Implicit conversion (conversion operator).

template<unsigned D>
void mln::topo::internal::adj_m_face_iterator< D >::set_m ( unsigned  m)
inherited

Set the target dimension.

Start an iteration.

Conversion.

Return a reference to the corresponding face handle.

Explicit conversion (accessor).

template<unsigned D>
void mln::topo::adj_m_face_bkd_iter< D >::update_adj_faces_ ( )

Compute the set of faces adjacent to the reference face.

The computation is delegated to mln::topo::internal::adj_m_face_iterator.

template<unsigned D>
void mln::topo::internal::adj_m_face_iterator< D >::update_adj_faces__ ( const topo::face< D > &  center,
std::vector< algebraic_face< D > > &  adj_faces 
)
protectedinherited

The actual implementation of the computation of the set of faces adjacent to the reference face.

Update the target face.

Member Data Documentation

The set of faces adjacent to the reference face.

Definition at line 125 of file complex_relative_iterator_base.hh.

A pointer to the center face around which this iterator moves.

Definition at line 120 of file complex_relative_iterator_base.hh.

The face handle this iterator is pointing to.

Definition at line 102 of file complex_iterator_base.hh.

super_::adj_faces_t::const_reverse_iterator mln::topo::internal::backward_complex_relative_iterator_base< topo::face< D > , algebraic_face< D > , adj_m_face_bkd_iter< D > >::i_
protectedinherited

An iterator on the set of adjacent edges.

Definition at line 234 of file complex_relative_iterator_base.hh.

template<unsigned D>
unsigned mln::topo::internal::adj_m_face_iterator< D >::m_
protectedinherited

The dimension of the iterated faces.

Definition at line 186 of file adj_m_face_iter.hh.

Member Typedef Documentation

Definition at line 123 of file complex_relative_iterator_base.hh.

typedef Object<void> mln::Object< adj_m_face_bkd_iter< D > >::category
inherited

Definition at line 106 of file object.hh.

The type of the center face.

Definition at line 95 of file complex_relative_iterator_base.hh.

Definition at line 105 of file object.hh.

The type of the iterated faces.

Definition at line 88 of file complex_iterator_base.hh.