NetworkNode
Namespace: CONNECTIVITYLIB · Library: Connectivity Library
#include <connectivity/networknode.h>
class CONNECTIVITYLIB::NetworkNode
Node of a Network.
Stores a unique ID, a 3D anatomical position (sensor coordinate or source vertex) and the lists of incident edges partitioned by direction (in / out) and by threshold state (full / thresholded), so that graph-theoretic measures can be read off without rescanning the global edge list.
Graph node carrying a 3D position and its incident in/out, full/thresholded edge lists.
Public Methods
NetworkNode(iId, vecVert)
Constructs a NetworkNode object.
Parameters:
-
iId : qint16 The node's ID.
-
vecVert : const Eigen::RowVectorXf & The node's 3D position.
getFullEdges()
Returns the ingoing edges corresponding to the full network.
Returns:
- const QList< QSharedPointer<NetworkEdge> > & — Returns the list with all ingoing edges.
getThresholdedEdges()
Returns all edges corresponding to the thresholded network.
Returns:
- QList< QSharedPointer<NetworkEdge> > — Returns the list with all ingoing edges.
getFullEdgesIn()
Returns the ingoing edges corresponding to the full network.
Returns:
- QList< QSharedPointer<NetworkEdge> > — Returns the list with all ingoing edges.
getThresholdedEdgesIn()
Returns the ingoing edges corresponding to the thresholded network.
Returns:
- QList< QSharedPointer<NetworkEdge> > — Returns the list with all ingoing edges.
getFullEdgesOut()
Returns the outgoing edges corresponding to the full network.
Returns:
- QList< QSharedPointer<NetworkEdge> > — Returns the list with all outgoing edges.
getThresholdedEdgesOut()
Returns the outgoing edges corresponding to the thresholded network.
Returns:
- QList< QSharedPointer<NetworkEdge> > — Returns the list with all outgoing edges.