Base QStandardItem with check-state, visibility, transform, colour and alpha roles shared by every disp3D scene item. More...
#include "../../disp3D_global.h"#include <QStandardItem>#include <QVariant>#include <QMatrix4x4>#include <QVector3D>

Go to the source code of this file.
Classes | |
| class | AbstractTreeItem |
| Base tree item providing check-state, visibility, and data-role storage for all 3-D scene items. More... | |
Base QStandardItem with check-state, visibility, transform, colour and alpha roles shared by every disp3D scene item.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
AbstractTreeItem centralises the data roles every scene object needs (VisibleRole, TransformRole, ColorRole, AlphaRole) so the renderer can read render state directly from the model without per-type if-chains. The ItemType enum drives type-safe down-casts at the few sites that need them (picking, persistence).
Definition in file abstracttreeitem.h.