bioprocessing
5.1.2
|
Iterator on the edges of a volume graph. More...
#include <bioprocessing/graph/volumegraph.h>
Public Types | |
typedef Owner::Edge | Edge |
typedef Owner::Vertex | Vertex |
typedef Owner::Volume | Volume |
typedef Owner::Point | Point |
Public Member Functions | |
edge_const_iterator () | |
edge_const_iterator (const This &o) | |
edge_const_iterator (const NonConstThis &o) | |
~edge_const_iterator () | |
This & | operator= (const This &o) |
This & | operator= (const NonConstThis &o) |
This & | operator++ () |
This | operator++ (int) |
bool | operator== (const This &o) const |
bool | operator!= (const This &o) const |
bool | operator== (const NonConstThis &o) const |
bool | operator!= (const NonConstThis &o) const |
const Edge & | operator* () const |
const Edge * | operator-> () const |
Protected Types | |
typedef edge_const_iterator | This |
typedef edge_iterator | NonConstThis |
typedef VolumeGraph< T, P > | Owner |
typedef aims::StructuringElement::const_iterator | ConnIt |
typedef vertex_const_iterator | VertexIt |
Protected Member Functions | |
edge_const_iterator (const Volume &vol, bool end, const Vertex &v, ConnIt b, ConnIt e) | |
edge_const_iterator (const Volume &vol, bool end, VertexIt vb, VertexIt ve, ConnIt b, ConnIt e) | |
void | toEnd () |
void | toNext () |
void | setEdge () |
template<typename P1 , typename P2 > | |
void | copy (const P1 &p1, P2 &p2) |
bool | inside () |
Protected Attributes | |
Volume | _vol |
Point4d | _cur |
Point4d | _nbr |
Point4d | _dim |
VertexIt | _vtxbeg |
VertexIt | _vtxend |
ConnIt | _conbeg |
ConnIt | _concur |
ConnIt | _conend |
Edge | _edg |
Vertex | _vtx |
Friends | |
class | VolumeGraph< T, P > |
Iterator on the edges of a volume graph.
A lot like the vertex iterator
This is even more ugly, because I need to embed the connectivity iterator, and we loop on both the vertices and the connectivity. I am even wondering if the edges appear twice in the loop (a->b and then b->a), which is bad since we are considering non-oriented edges.
There must be a better way to do this, and it would not be wasted time to look at it.
Definition at line 593 of file volumegraph.h.
|
protected |
Definition at line 605 of file volumegraph.h.
typedef Owner::Edge bio::VolumeGraph< T, P >::edge_const_iterator::Edge |
Definition at line 600 of file volumegraph.h.
|
protected |
Definition at line 597 of file volumegraph.h.
|
protected |
Definition at line 598 of file volumegraph.h.
typedef Owner::Point bio::VolumeGraph< T, P >::edge_const_iterator::Point |
Definition at line 603 of file volumegraph.h.
|
protected |
Definition at line 596 of file volumegraph.h.
typedef Owner::Vertex bio::VolumeGraph< T, P >::edge_const_iterator::Vertex |
Definition at line 601 of file volumegraph.h.
|
protected |
Definition at line 606 of file volumegraph.h.
typedef Owner::Volume bio::VolumeGraph< T, P >::edge_const_iterator::Volume |
Definition at line 602 of file volumegraph.h.
|
inlineprotected |
Definition at line 607 of file volumegraph.h.
|
inlineprotected |
Definition at line 628 of file volumegraph.h.
|
inline |
Definition at line 650 of file volumegraph.h.
|
inline |
Definition at line 663 of file volumegraph.h.
|
inline |
Definition at line 676 of file volumegraph.h.
|
inline |
Definition at line 689 of file volumegraph.h.
|
inlineprotected |
Definition at line 777 of file volumegraph.h.
|
inlineprotected |
Definition at line 783 of file volumegraph.h.
|
inline |
Definition at line 735 of file volumegraph.h.
References bio::VolumeGraph< T, P >::edge_const_iterator::_edg.
|
inline |
Definition at line 733 of file volumegraph.h.
References bio::VolumeGraph< T, P >::edge_const_iterator::_edg.
|
inline |
Definition at line 736 of file volumegraph.h.
|
inline |
Definition at line 720 of file volumegraph.h.
|
inline |
Definition at line 726 of file volumegraph.h.
|
inline |
Definition at line 737 of file volumegraph.h.
|
inline |
Definition at line 705 of file volumegraph.h.
References bio::VolumeGraph< T, P >::edge_const_iterator::_conbeg, bio::VolumeGraph< T, P >::edge_const_iterator::_concur, bio::VolumeGraph< T, P >::edge_const_iterator::_conend, bio::VolumeGraph< T, P >::edge_const_iterator::_cur, bio::VolumeGraph< T, P >::edge_const_iterator::_dim, bio::VolumeGraph< T, P >::edge_const_iterator::_edg, bio::VolumeGraph< T, P >::edge_const_iterator::_nbr, bio::VolumeGraph< T, P >::_vol, bio::VolumeGraph< T, P >::edge_const_iterator::_vol, bio::VolumeGraph< T, P >::edge_const_iterator::_vtx, bio::VolumeGraph< T, P >::edge_const_iterator::_vtxbeg, and bio::VolumeGraph< T, P >::edge_const_iterator::_vtxend.
|
inline |
Definition at line 690 of file volumegraph.h.
References bio::VolumeGraph< T, P >::edge_const_iterator::_conbeg, bio::VolumeGraph< T, P >::edge_const_iterator::_concur, bio::VolumeGraph< T, P >::edge_const_iterator::_conend, bio::VolumeGraph< T, P >::edge_const_iterator::_cur, bio::VolumeGraph< T, P >::edge_const_iterator::_dim, bio::VolumeGraph< T, P >::edge_const_iterator::_edg, bio::VolumeGraph< T, P >::edge_const_iterator::_nbr, bio::VolumeGraph< T, P >::_vol, bio::VolumeGraph< T, P >::edge_const_iterator::_vol, bio::VolumeGraph< T, P >::edge_const_iterator::_vtx, bio::VolumeGraph< T, P >::edge_const_iterator::_vtxbeg, and bio::VolumeGraph< T, P >::edge_const_iterator::_vtxend.
|
inline |
Definition at line 734 of file volumegraph.h.
References bio::VolumeGraph< T, P >::edge_const_iterator::_edg.
|
inline |
Definition at line 732 of file volumegraph.h.
References bio::VolumeGraph< T, P >::edge_const_iterator::_edg.
|
inlineprotected |
Definition at line 769 of file volumegraph.h.
|
inlineprotected |
Definition at line 740 of file volumegraph.h.
|
inlineprotected |
Definition at line 745 of file volumegraph.h.
References bio::VolumeGraph< T, P >::inside().
|
friend |
Definition at line 801 of file volumegraph.h.
|
protected |
Definition at line 797 of file volumegraph.h.
Referenced by bio::VolumeGraph< T, P >::edge_const_iterator::operator=().
|
protected |
Definition at line 798 of file volumegraph.h.
Referenced by bio::VolumeGraph< T, P >::edge_const_iterator::operator=().
|
protected |
Definition at line 799 of file volumegraph.h.
Referenced by bio::VolumeGraph< T, P >::edge_const_iterator::operator=().
|
protected |
Definition at line 792 of file volumegraph.h.
Referenced by bio::VolumeGraph< T, P >::edge_const_iterator::operator=().
|
protected |
Definition at line 794 of file volumegraph.h.
Referenced by bio::VolumeGraph< T, P >::edge_const_iterator::operator=().
|
protected |
Definition at line 800 of file volumegraph.h.
Referenced by bio::VolumeGraph< T, P >::edge_const_iterator::operator!=(), bio::VolumeGraph< T, P >::edge_const_iterator::operator=(), and bio::VolumeGraph< T, P >::edge_const_iterator::operator==().
|
protected |
Definition at line 793 of file volumegraph.h.
Referenced by bio::VolumeGraph< T, P >::edge_const_iterator::operator=().
|
protected |
Definition at line 791 of file volumegraph.h.
Referenced by bio::VolumeGraph< T, P >::edge_const_iterator::operator=().
|
protected |
Definition at line 801 of file volumegraph.h.
Referenced by bio::VolumeGraph< T, P >::edge_const_iterator::operator=().
|
protected |
Definition at line 795 of file volumegraph.h.
Referenced by bio::VolumeGraph< T, P >::edge_const_iterator::operator=().
|
protected |
Definition at line 796 of file volumegraph.h.
Referenced by bio::VolumeGraph< T, P >::edge_const_iterator::operator=().