Renderable connectivity network visualization.
More...
#include <networkobject.h>
Renderable connectivity network visualization.
NetworkObject renders connectivity network nodes (instanced spheres) and edges (instanced cylinders) using the same instanced rendering pipeline as DipoleObject.
Definition at line 57 of file networkobject.h.
◆ NetworkObject()
| DISP3DLIB::NetworkObject::NetworkObject |
( |
| ) |
|
|
default |
◆ ~NetworkObject()
| DISP3DLIB::NetworkObject::~NetworkObject |
( |
| ) |
|
|
default |
◆ edgeInstanceCount()
| int DISP3DLIB::NetworkObject::edgeInstanceCount |
( |
| ) |
const |
|
inline |
- Returns
- Number of edges drawn above the threshold.
Definition at line 115 of file networkobject.h.
◆ edgeRenderKey()
| const RenderKey & DISP3DLIB::NetworkObject::edgeRenderKey |
( |
| ) |
const |
|
inline |
◆ edgeStreams()
- Returns
- CPU streams of the edge cylinder and of one instance per edge.
Definition at line 55 of file networkobject.cpp.
◆ hasData()
| bool DISP3DLIB::NetworkObject::hasData |
( |
| ) |
const |
|
inline |
◆ isVisible()
| bool DISP3DLIB::NetworkObject::isVisible |
( |
| ) |
const |
|
inline |
◆ load()
Load network data and generate node/edge instances.
- Parameters
-
| [in] | network | The connectivity network to visualize. |
| [in] | sColormap | Colormap name for weight-based coloring (e.g. "Viridis", "Hot"). |
Definition at line 66 of file networkobject.cpp.
◆ nodeInstanceCount()
| int DISP3DLIB::NetworkObject::nodeInstanceCount |
( |
| ) |
const |
|
inline |
- Returns
- Number of nodes drawn, i.e. those touching an edge above the threshold.
Definition at line 109 of file networkobject.h.
◆ nodeRenderKey()
| const RenderKey & DISP3DLIB::NetworkObject::nodeRenderKey |
( |
| ) |
const |
|
inline |
- Returns
- Identities of the node and edge meshes in the renderer's GPU cache.
Definition at line 123 of file networkobject.h.
◆ nodeStreams()
- Returns
- CPU streams of the node sphere and of one instance per node.
Definition at line 46 of file networkobject.cpp.
◆ setColormap()
| void DISP3DLIB::NetworkObject::setColormap |
( |
const QString & | sColormap | ) |
|
Set the colormap used for edge/node coloring.
- Parameters
-
| [in] | sColormap | Colormap name (e.g. "Hot", "Viridis", "Jet"). |
Definition at line 88 of file networkobject.cpp.
◆ setThreshold()
| void DISP3DLIB::NetworkObject::setThreshold |
( |
double | dThreshold | ) |
|
Update the threshold and regenerate visible edges/nodes.
- Parameters
-
| [in] | dThreshold | New threshold value (0.0 – 1.0). |
Definition at line 79 of file networkobject.cpp.
◆ setVisible()
| void DISP3DLIB::NetworkObject::setVisible |
( |
bool | visible | ) |
|
|
inline |
The documentation for this class was generated from the following files: