25#ifndef NETWORKOBJECT_H
26#define NETWORKOBJECT_H
111 return m_nodeInstanceCount;
117 return m_edgeInstanceCount;
125 return m_nodeRenderKey;
129 return m_edgeRenderKey;
144 return !m_network.isEmpty();
169 void createNodeGeometry();
170 void createEdgeGeometry();
171 void buildNodeInstances();
172 void buildEdgeInstances();
175 CONNECTIVITYLIB::Network m_network;
176 QString m_colormap =
"Viridis";
179 RenderKey m_nodeRenderKey;
180 RenderKey m_edgeRenderKey;
182 QByteArray m_nodeVertexData;
183 QByteArray m_nodeIndexData;
184 QByteArray m_nodeInstanceData;
185 int m_nodeIndexCount = 0;
186 int m_nodeInstanceCount = 0;
187 quint64 m_nodeGeometryGeneration = 0;
188 quint64 m_nodeInstanceGeneration = 0;
191 QByteArray m_edgeVertexData;
192 QByteArray m_edgeIndexData;
193 QByteArray m_edgeInstanceData;
194 int m_edgeIndexCount = 0;
195 int m_edgeInstanceCount = 0;
196 quint64 m_edgeGeometryGeneration = 0;
197 quint64 m_edgeInstanceGeneration = 0;
199 bool m_visible =
true;
Library export/import macros and namespace marker for the disp3D library.
#define DISP3DSHARED_EXPORT
Lightweight render-related enums (ShaderMode, VisualizationMode) shared across disp3D.
Graph container that stores the result of one functional-connectivity metric as nodes (sources/sensor...
3-D brain visualisation using the Qt RHI rendering backend.
Graph container for one connectivity metric; nodes + weighted edges + threshold/visualisation state.
CPU streams of an instanced mesh: one shape (vertices, indices) drawn once per instance.
Identity of a renderable in the renderer's GPU resource cache.
int edgeInstanceCount() const
InstancedStreams edgeStreams() const
const RenderKey & nodeRenderKey() const
InstancedStreams nodeStreams() const
int nodeInstanceCount() const
void load(const CONNECTIVITYLIB::Network &network, const QString &sColormap="Viridis")
void setThreshold(double dThreshold)
void setColormap(const QString &sColormap)
const RenderKey & edgeRenderKey() const
void setVisible(bool visible)