81 return m_instanceCount;
101 bool boundingBox(QVector3D& min, QVector3D& max)
const;
103 void setSelected(
int index,
bool selected);
114 int intersect(
const QVector3D& rayOrigin,
const QVector3D& rayDir,
float& dist)
const;
117 void createGeometry();
121 int m_indexCount = 0;
122 int m_instanceCount = 0;
123 bool m_visible =
true;
145 QByteArray m_vertexData;
146 QByteArray m_indexData;
147 QByteArray m_instanceData;
148 QVector<QMatrix4x4> m_loadedModels;
150 quint64 m_geometryGeneration = 0;
151 quint64 m_instanceGeneration = 0;
153 std::vector<QVector4D> m_originalColors;
Library export/import macros and namespace marker for the disp3D library.
#define DISP3DSHARED_EXPORT
Lightweight render-related enums (ShaderMode, VisualizationMode) shared across disp3D.
Ordered set of INVLIB::InvEcd records — the result of a sequential dipole-fit run.
3-D brain visualisation using the Qt RHI rendering backend.
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.
Geometry of one brain surface vertex: position and normal.
void load(const INVLIB::InvEcdSet &ecdSet)
const RenderKey & renderKey() const
InstancedStreams streams() const
int instanceCount() const
void applyTransform(const QMatrix4x4 &trans)
void setVisible(bool visible)
Holds a set of Electric Current Dipoles.