v2.0.0
Loading...
Searching...
No Matches
pickresult.h File Reference

Uniform pick payload (object identity, sub-index, world hit point, distance) for multimodal 3-D scenes. More...

#include "../disp3D_global.h"
#include <QString>
#include <QVariantMap>
#include <QVector3D>
#include <limits>
Include dependency graph for pickresult.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DISP3DLIB::PickResult
 Uniform payload for object-id picking across the multimodal scene. More...

Namespaces

namespace  DISP3DLIB
 3-D brain visualisation using the Qt RHI rendering backend.

Enumerations

enum class  DISP3DLIB::PickKind {
  DISP3DLIB::None = 0 , DISP3DLIB::CorticalVertex , DISP3DLIB::ElectrodeContact , DISP3DLIB::Sensor ,
  DISP3DLIB::MriVoxel , DISP3DLIB::Dipole , DISP3DLIB::Bem , DISP3DLIB::Custom
}
 Kind of object that produced a 3-D pick. More...

Functions

bool DISP3DLIB::isHit (const PickResult &r) noexcept

Detailed Description

Uniform pick payload (object identity, sub-index, world hit point, distance) for multimodal 3-D scenes.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.2.1
Date
May 2026

Every renderable that supports picking (BrainSurface triangles, DipoleObject arrow instances, ElectrodeObject contacts, SliceObject voxels) returns a PickResult so the host GUI can react with a single switch on PickResult::kind regardless of which primitive was hit.

Definition in file pickresult.h.