#include <raypicker.h>
Public Member Functions | |
| QString | displayLabel () const |
Public Attributes | |
| bool | hit = false |
| True if something was hit. | |
| float | distance = 0.0f |
| Distance along ray to hit point. | |
| QVector3D | hitPoint |
| World-space intersection point. | |
| QStandardItem * | item = nullptr |
| Tree item that was hit (nullable). | |
| QString | surfaceKey |
| Surface map key of the hit surface. | |
| int | vertexIndex = -1 |
| Vertex or element index at hit. | |
| bool | isDipole = false |
| True if a dipole was hit. | |
| int | dipoleIndex = -1 |
| Index within the dipole set. | |
| QString | regionName |
| Annotation region label (if available). | |
| int | regionId = -1 |
| Annotation label ID. | |
Describes the result of a ray-pick operation.
Definition at line 62 of file raypicker.h.
| QString PickResult::displayLabel | ( | ) | const |
Build a human-readable display label for the hit object. Includes annotation region, sensor name, BEM compartment, etc.
Definition at line 245 of file raypicker.cpp.
| int PickResult::dipoleIndex = -1 |
Index within the dipole set.
Definition at line 73 of file raypicker.h.
| float PickResult::distance = 0.0f |
Distance along ray to hit point.
Definition at line 65 of file raypicker.h.
| bool PickResult::hit = false |
True if something was hit.
Definition at line 64 of file raypicker.h.
| QVector3D PickResult::hitPoint |
World-space intersection point.
Definition at line 66 of file raypicker.h.
| bool PickResult::isDipole = false |
True if a dipole was hit.
Definition at line 72 of file raypicker.h.
| QStandardItem* PickResult::item = nullptr |
Tree item that was hit (nullable).
Definition at line 68 of file raypicker.h.
| int PickResult::regionId = -1 |
Annotation label ID.
Definition at line 77 of file raypicker.h.
| QString PickResult::regionName |
Annotation region label (if available).
Definition at line 76 of file raypicker.h.
| QString PickResult::surfaceKey |
Surface map key of the hit surface.
Definition at line 69 of file raypicker.h.
| int PickResult::vertexIndex = -1 |
Vertex or element index at hit.
Definition at line 70 of file raypicker.h.