Opaque, type-erased handle to a layer payload. More...
#include <multimodalscene.h>
Public Attributes | |
| QString | id |
| QString | displayName |
| SceneLayerKind | kind = SceneLayerKind::Custom |
| bool | visible = true |
| float | opacity = 1.0f |
| int | drawOrder = 0 |
| std::shared_ptr< void > | payload |
Opaque, type-erased handle to a layer payload.
The payload is owned by the caller (e.g. the plugin that loaded the data) and supplied as a std::shared_ptr<void> so the scene neither owns nor inspects it. The scene only needs the kind, the id, and the generic visibility / opacity flags to drive draw order; the renderer downcasts the payload by kind.
This indirection keeps disp3D/scene/ free of QRhi includes and means new renderables (sEEG, ECoG, future fNIRS optodes, …) plug in without touching this header.
Definition at line 83 of file multimodalscene.h.
| QString DISP3DLIB::SceneLayer::displayName |
Human-readable label for the scene tree dock.
Definition at line 86 of file multimodalscene.h.
| int DISP3DLIB::SceneLayer::drawOrder = 0 |
Tie-breaker within the same kind.
Definition at line 90 of file multimodalscene.h.
| QString DISP3DLIB::SceneLayer::id |
Caller-supplied unique id ("cortex_lh", "seeg_LH", "mri_axial").
Definition at line 85 of file multimodalscene.h.
| SceneLayerKind DISP3DLIB::SceneLayer::kind = SceneLayerKind::Custom |
Definition at line 87 of file multimodalscene.h.
| float DISP3DLIB::SceneLayer::opacity = 1.0f |
Definition at line 89 of file multimodalscene.h.
| std::shared_ptr<void> DISP3DLIB::SceneLayer::payload |
Renderable-specific data (ElectrodeObject, SliceObject, BrainSurface, …).
Definition at line 91 of file multimodalscene.h.
| bool DISP3DLIB::SceneLayer::visible = true |
Definition at line 88 of file multimodalscene.h.