* mln/core/image/complex_lower_neighborhood.hh,
* mln/core/image/complex_higher_neighborhood.hh:
Update the documentation.
---
milena/ChangeLog | 8 ++++++++
.../mln/core/image/complex_higher_neighborhood.hh | 10 ++++++----
.../mln/core/image/complex_lower_neighborhood.hh | 10 ++++++----
3 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 1fe4229..e07f8bc 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,13 @@
2008-10-03 Roland Levillain <roland(a)lrde.epita.fr>
+ Overhaul neighborhoods of adjacent lower- and higher-dimension faces.
+
+ * mln/core/image/complex_lower_neighborhood.hh,
+ * mln/core/image/complex_higher_neighborhood.hh:
+ Update the documentation.
+
+2008-10-03 Roland Levillain <roland(a)lrde.epita.fr>
+
Overhaul piters on complex neighborhood.
* mln/core/image/complex_neighborhood_piter.hh
diff --git a/milena/mln/core/image/complex_higher_neighborhood.hh b/milena/mln/core/image/complex_higher_neighborhood.hh
index 2b52c5b..3b56d68 100644
--- a/milena/mln/core/image/complex_higher_neighborhood.hh
+++ b/milena/mln/core/image/complex_higher_neighborhood.hh
@@ -43,7 +43,7 @@
namespace mln
{
- // Fwd decls.
+ // Forward declarations.
template <typename I, typename P, typename N>
class complex_neighborhood_fwd_piter;
template <typename I, typename P, typename N>
@@ -58,10 +58,12 @@ namespace mln
{
typedef complex_higher_neighborhood<D, P> self_;
- // FIXME: The associated complex iterators.
public:
+ /// The associated complex iterators.
+ /// \{
typedef topo::adj_higher_face_fwd_iter<D> complex_fwd_iter;
typedef topo::adj_higher_face_bkd_iter<D> complex_bkd_iter;
+ /// \}
public:
/// Associated types.
@@ -71,12 +73,12 @@ namespace mln
/// The type of site corresponding to the neighborhood.
typedef mln_site(psite) site;
- /// \brief Point_Iterator type to browse the psites of the neighborhood
+ /// \brief Site_Iterator type to browse the psites of the neighborhood
/// w.r.t. the ordering of vertices.
typedef
complex_neighborhood_fwd_piter<complex_fwd_iter, P, self_> fwd_niter;
- /// \brief Point_Iterator type to browse the psites of the neighborhood
+ /// \brief Site_Iterator type to browse the psites of the neighborhood
/// w.r.t. the reverse ordering of vertices.
typedef
complex_neighborhood_bkd_piter<complex_bkd_iter, P, self_> bkd_niter;
diff --git a/milena/mln/core/image/complex_lower_neighborhood.hh b/milena/mln/core/image/complex_lower_neighborhood.hh
index 7eb8fc4..6c21acc 100644
--- a/milena/mln/core/image/complex_lower_neighborhood.hh
+++ b/milena/mln/core/image/complex_lower_neighborhood.hh
@@ -43,7 +43,7 @@
namespace mln
{
- // Fwd decls.
+ // Forward declarations.
template <typename I, typename P, typename N>
class complex_neighborhood_fwd_piter;
template <typename I, typename P, typename N>
@@ -58,10 +58,12 @@ namespace mln
{
typedef complex_lower_neighborhood<D, P> self_;
- // FIXME: The associated complex iterators.
public:
+ /// The associated complex iterators.
+ /// \{
typedef topo::adj_lower_face_fwd_iter<D> complex_fwd_iter;
typedef topo::adj_lower_face_bkd_iter<D> complex_bkd_iter;
+ /// \}
public:
/// Associated types.
@@ -71,12 +73,12 @@ namespace mln
/// The type of site corresponding to the neighborhood.
typedef mln_site(psite) site;
- /// \brief Point_Iterator type to browse the psites of the neighborhood
+ /// \brief Site_Iterator type to browse the psites of the neighborhood
/// w.r.t. the ordering of vertices.
typedef
complex_neighborhood_fwd_piter<complex_fwd_iter, P, self_> fwd_niter;
- /// \brief Point_Iterator type to browse the psites of the neighborhood
+ /// \brief Site_Iterator type to browse the psites of the neighborhood
/// w.r.t. the reverse ordering of vertices.
typedef
complex_neighborhood_bkd_piter<complex_bkd_iter, P, self_> bkd_niter;
--
1.6.0.1
* mln/topo/internal/complex_set_iterator_base.hh: Update
documentation and headers.
Don't include header `limits'.
Include header `iosfwd'.
---
milena/ChangeLog | 9 +++++++++
.../mln/topo/internal/complex_set_iterator_base.hh | 3 ++-
2 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 5a11379..e84ab00 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,3 +1,12 @@
+2008-10-03 Roland Levillain <roland(a)lrde.epita.fr>
+
+ Overhaul mln::topo::internal::complex_set_iterator_base.
+
+ * mln/topo/internal/complex_set_iterator_base.hh: Update
+ documentation and headers.
+ Don't include header `limits'.
+ Include header `iosfwd'.
+
2008-10-02 Ugo Jardonnet <ugo.jardonnet(a)lrde.epita.fr>
Start to integrate registration in Milena.
diff --git a/milena/mln/topo/internal/complex_set_iterator_base.hh b/milena/mln/topo/internal/complex_set_iterator_base.hh
index 7e76b76..51f67c1 100644
--- a/milena/mln/topo/internal/complex_set_iterator_base.hh
+++ b/milena/mln/topo/internal/complex_set_iterator_base.hh
@@ -32,7 +32,7 @@
/// \brief Definition of an implementation (factoring) class for
/// iterators on faces of a complex.
-# include <limits>
+# include <iosfwd>
# include <mln/metal/equal.hh>
@@ -61,6 +61,7 @@ namespace mln
typedef complex_set_iterator_base<F, E> self_;
public:
+ /// The type of the iterated faces.
typedef F face;
// FIXME: Maybe we could just get the dimension D of the face's
// complex, an define complex_type as mln::complex<D>?
--
1.6.0.1