bioprocessing
5.1.2
|
Reference to a VolumeGraph. More...
#include <bioprocessing/graph/volumegraph.h>
Public Types | |
typedef Pointed::Type | Type |
typedef Pointed::Point | Point |
typedef Pointed::Vertex | Vertex |
typedef Pointed::Edge | Edge |
typedef Pointed::Weight | Weight |
typedef Pointed::Graph | Graph |
typedef Pointed::vertex_const_iterator | vertex_const_iterator |
typedef Pointed::vertex_iterator | vertex_iterator |
typedef Pointed::edge_const_iterator | edge_const_iterator |
typedef Pointed::edge_iterator | edge_iterator |
![]() | |
typedef Pointed::Weight | Weight |
typedef Pointed::Edge | Edge |
typedef Pointed::Vertex | Vertex |
typedef Pointed::Graph | Graph |
![]() | |
typedef Pointed::Vertex | Vertex |
typedef Pointed::Edge | Edge |
typedef Pointed::Graph | Graph |
Public Member Functions | |
VolumeGraphRef (int sx=1, int sy=1, int sz=1, int st=1) | |
Constructor from volume dimensions and connectivity This initializes the graph so that it represents a volume of size sx * sy * sz * st, with edges representing a connectivity conn . More... | |
VolumeGraphRef (carto::VolumeRef< T > volume, const aims::strel::Connectivity &conn=aims::strel::Connectivity6XYZ()) | |
Constructor from an exisiting volume and connectivity The volume is not copied, a reference to it is made. More... | |
VolumeGraphRef (Pointed *e) | |
Constructor from a pointer (the pointer should either be created by new , or be already referenced by a rc_ptr. More... | |
VolumeGraphRef (const Base &other) | |
Copy constructor (it copies the reference, it does not duplicate the pointed object) More... | |
virtual | ~VolumeGraphRef () |
vertex_const_iterator | beginVertex () const |
vertex_const_iterator | endVertex () const |
vertex_iterator | beginVertex () |
vertex_iterator | endVertex () |
edge_const_iterator | beginEdge (const Vertex &v) const |
edge_const_iterator | endEdge (const Vertex &v) const |
edge_iterator | beginEdge (const Vertex &v) |
edge_iterator | endEdge (const Vertex &v) |
bool | isAdjacent (const Vertex &x, const Vertex &y) const |
bool | isLinked (const Vertex &x, const Vertex &y) const |
bool | isSubGraph (const Graph &g) const |
bool | isConnectedComponent (const Graph &g) const |
bool | isAdjacentTo (const Vertex &v, const Graph &g) const |
bool | isAdjacentFrom (const Vertex &v, const Graph &g) const |
Graph | getConnectedComponent (Vertex &v) |
void | setDimensions (int sx=1, int sy=1, int sz=1, int st=1) |
void | setDimensions (const Point &dim) |
void | setHeader (float vx=1., float vy=1., float vz=1., float vt=1.) |
void | setHeader (const Point4df &vs) |
void | setWeightMethod (Weight(*weight)(const Type &, const Type &)) |
template<typename M > | |
void | mask (const carto::VolumeRef< M > &mask) |
T & | access (const Point &p) |
const T & | access (const Point &p) const |
bool | inside (const Point &p) const |
![]() | |
EWBaseGraphRef () | |
EWBaseGraphRef (Pointed *g) | |
EWBaseGraphRef (const Base &other) | |
virtual | ~EWBaseGraphRef () |
virtual void | insert (Edge e, Weight w=(Weight) 0) |
virtual Weight | weight (const Edge &e) |
virtual Weight | weight (const Edge &e) const |
virtual Weight | Fm (const Vertex &v) const |
![]() | |
BaseGraphRef () | |
BaseGraphRef (Pointed *g) | |
BaseGraphRef (const Base &other) | |
virtual | ~BaseGraphRef () |
virtual void | insert (Vertex v) |
virtual void | insert (Edge e) |
virtual bool | contains (const Vertex &v) const |
virtual bool | contains (const Edge &e) const |
virtual bool | empty () const |
virtual void | clear () |
virtual bool | operator== (const This &other) const |
virtual bool | operator!= (const This &other) const |
virtual bool | operator> (const This &other) const |
virtual bool | operator< (const This &other) const |
virtual bool | operator>= (const This &other) const |
virtual bool | operator<= (const This &other) const |
virtual bool | isAdjacent (const Edge &e) const |
virtual bool | isLinked (const Vertex &v) const |
virtual bool | isExtension (const Graph &h, const Graph &g) const |
virtual bool | isForestRelativeTo (const Graph &h, const Graph &g) const |
virtual bool | isSpanningForestRelativeTo (const Graph &h, const Graph &g) const |
virtual bool | isTree (const Graph &g) const |
virtual bool | isSpanningTree (const Graph &g) const |
virtual bool | isForest (const Graph &g) const |
virtual bool | isSpanningForest (const Graph &g) const |
template<typename EdgeIterator > | |
bool | isGraphCut (EdgeIterator begin, EdgeIterator end, const Graph &g) const |
template<typename EdgeSet > | |
bool | isGraphCut (const EdgeSet &es, const Graph &g) const |
Static Public Member Functions | |
static Graph | none () |
Empty pointer factory. More... | |
template<typename Set > | |
static Set | getComplement (const Set &s, const Set &e) |
static Type | notPresentValue () |
static Type | presentValue () |
![]() | |
static Graph | none () |
![]() | |
static Graph | none () |
template<typename Set > | |
static Set | getComplement (const Set &s, const Set &e) |
Protected Types | |
typedef VolumeGraphRef< T, P > | This |
typedef EWBaseGraphRef< SetEdgeRef< PointVertexRef< P > >, T > | Base |
typedef VolumeGraph< T, P > | Pointed |
![]() | |
typedef EWBaseGraphRef< SetEdgeRef< PointVertexRef< P > >, T > | This |
typedef BaseGraphRef< SetEdgeRef< PointVertexRef< P > > > | Base |
typedef EWBaseGraph< SetEdgeRef< PointVertexRef< P > >, T > | Pointed |
![]() | |
typedef carto::rc_ptr< BaseGraph< E > > | Base |
typedef BaseGraph< E > | Pointed |
typedef BaseGraphRef< E > | This |
Reference to a VolumeGraph.
This utility class is the entry point to volume graphs. It permits to avoid unnecessary copys of big structures, while giving access to all the necessary methods.
Definition at line 861 of file volumegraph.h.
|
protected |
Definition at line 866 of file volumegraph.h.
typedef Pointed::Edge bio::VolumeGraphRef< T, P >::Edge |
Definition at line 872 of file volumegraph.h.
typedef Pointed::edge_const_iterator bio::VolumeGraphRef< T, P >::edge_const_iterator |
Definition at line 910 of file volumegraph.h.
typedef Pointed::edge_iterator bio::VolumeGraphRef< T, P >::edge_iterator |
Definition at line 911 of file volumegraph.h.
typedef Pointed::Graph bio::VolumeGraphRef< T, P >::Graph |
Definition at line 874 of file volumegraph.h.
typedef Pointed::Point bio::VolumeGraphRef< T, P >::Point |
Definition at line 870 of file volumegraph.h.
|
protected |
Definition at line 867 of file volumegraph.h.
|
protected |
Definition at line 865 of file volumegraph.h.
typedef Pointed::Type bio::VolumeGraphRef< T, P >::Type |
Definition at line 869 of file volumegraph.h.
typedef Pointed::Vertex bio::VolumeGraphRef< T, P >::Vertex |
Definition at line 871 of file volumegraph.h.
typedef Pointed::vertex_const_iterator bio::VolumeGraphRef< T, P >::vertex_const_iterator |
Definition at line 908 of file volumegraph.h.
typedef Pointed::vertex_iterator bio::VolumeGraphRef< T, P >::vertex_iterator |
Definition at line 909 of file volumegraph.h.
typedef Pointed::Weight bio::VolumeGraphRef< T, P >::Weight |
Definition at line 873 of file volumegraph.h.
|
inline |
Constructor from volume dimensions and connectivity This initializes the graph so that it represents a volume of size sx * sy * sz * st, with edges representing a connectivity conn
.
Definition at line 881 of file volumegraph.h.
|
inline |
Constructor from an exisiting volume and connectivity The volume is not copied, a reference to it is made.
As such, any change to the VolumeGraph is a change to this volume.
Definition at line 886 of file volumegraph.h.
|
inline |
Constructor from a pointer (the pointer should either be created by new
, or be already referenced by a rc_ptr.
See rc_ptr for more details on reference counting pointers)
Definition at line 894 of file volumegraph.h.
|
inline |
Copy constructor (it copies the reference, it does not duplicate the pointed object)
Definition at line 897 of file volumegraph.h.
|
inlinevirtual |
Definition at line 898 of file volumegraph.h.
|
inline |
Definition at line 948 of file volumegraph.h.
|
inline |
Definition at line 949 of file volumegraph.h.
|
inline |
Definition at line 918 of file volumegraph.h.
|
inline |
Definition at line 916 of file volumegraph.h.
|
inline |
Definition at line 914 of file volumegraph.h.
|
inline |
Definition at line 912 of file volumegraph.h.
|
inline |
Definition at line 919 of file volumegraph.h.
|
inline |
Definition at line 917 of file volumegraph.h.
|
inline |
Definition at line 915 of file volumegraph.h.
|
inline |
Definition at line 913 of file volumegraph.h.
|
inlinestatic |
Definition at line 935 of file volumegraph.h.
References bio::VolumeGraph< T, P >::getComplement().
|
inline |
Definition at line 933 of file volumegraph.h.
|
inline |
Definition at line 950 of file volumegraph.h.
|
inlinevirtual |
Reimplemented from bio::BaseGraphRef< E >.
Definition at line 927 of file volumegraph.h.
|
inlinevirtual |
Reimplemented from bio::BaseGraphRef< E >.
Definition at line 932 of file volumegraph.h.
|
inlinevirtual |
Reimplemented from bio::BaseGraphRef< E >.
Definition at line 931 of file volumegraph.h.
|
inlinevirtual |
Reimplemented from bio::BaseGraphRef< E >.
Definition at line 930 of file volumegraph.h.
|
inlinevirtual |
Reimplemented from bio::BaseGraphRef< E >.
Definition at line 928 of file volumegraph.h.
|
inlinevirtual |
Reimplemented from bio::BaseGraphRef< E >.
Definition at line 929 of file volumegraph.h.
|
inline |
Definition at line 947 of file volumegraph.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 939 of file volumegraph.h.
References bio::VolumeGraph< T, P >::notPresentValue().
|
inlinestatic |
Definition at line 940 of file volumegraph.h.
References bio::VolumeGraph< T, P >::presentValue().
|
inline |
Definition at line 942 of file volumegraph.h.
|
inline |
Definition at line 941 of file volumegraph.h.
|
inline |
Definition at line 944 of file volumegraph.h.
|
inline |
Definition at line 943 of file volumegraph.h.
|
inline |
Definition at line 945 of file volumegraph.h.
References bio::EWBaseGraphRef< SetEdgeRef< PointVertexRef< P > >, T >::weight().