Pure-query subset of zone detection — read-only geometry lookup. More...
#include <phosphor-zones/include/PhosphorZones/IZoneDetector.h>
Public Member Functions | |
| IZoneDetection ()=default | |
| virtual | ~IZoneDetection () |
| virtual Layout * | layout () const =0 |
| virtual ZoneDetectionResult | detectZone (const QPointF &cursorPos) const =0 |
| virtual ZoneDetectionResult | detectMultiZone (const QPointF &cursorPos) const =0 |
| virtual Zone * | zoneAtPoint (const QPointF &point) const =0 |
| virtual Zone * | nearestZone (const QPointF &point) const =0 |
| virtual QVector< Zone * > | expandPaintedZonesToRect (const QVector< Zone * > &seedZones) const =0 |
| Paint-to-snap: expand painted zones to include all zones intersecting the bounding rect (same raycasting algorithm as detectMultiZone and the editor). | |
Protected Member Functions | |
| IZoneDetection (const IZoneDetection &)=default | |
| IZoneDetection & | operator= (const IZoneDetection &)=default |
Pure-query subset of zone detection — read-only geometry lookup.
ISP-compliant slice of IZoneDetector. Consumers that need to resolve zones at a cursor / point without side-effects (editor paint-to-snap, fixtures, geometry tests) depend on this minimal surface instead of the full detector interface.
Non-QObject by design — pure data queries have no lifecycle signals. The full IZoneDetector interface (which carries signals) inherits from this, so ZoneDetector satisfies both at once.
|
default |
|
virtual |
|
protecteddefault |
|
pure virtual |
Implemented in PhosphorZones::ZoneDetector.
|
pure virtual |
Implemented in PhosphorZones::ZoneDetector.
|
pure virtual |
Paint-to-snap: expand painted zones to include all zones intersecting the bounding rect (same raycasting algorithm as detectMultiZone and the editor).
Implemented in PhosphorZones::ZoneDetector.
|
pure virtual |
Implemented in PhosphorZones::ZoneDetector.
|
pure virtual |
Implemented in PhosphorZones::ZoneDetector.
|
protecteddefault |
|
pure virtual |
Implemented in PhosphorZones::ZoneDetector.