|
SILICON
|
Classes | |
| struct | Contact |
Public Member Functions | |
| void | captureContacts (const DiagramScene &scene) |
| Captures existing endpoint contacts, topology, and net identities for the gesture. | |
| void | remember (WireManager &manager, GraphicalWireSegment *segment) |
| Records a segment's original route and creates its preview edit once. | |
| void | cancel () |
| Cancels pending edits and restores original segment routes. | |
| void | commit (WireManager &manager) |
| Commits pending segment edits as a batch and rebuilds changed topology. | |
| std::vector< WireRouteChange > | changes (const DiagramScene &scene) const |
| Returns before and after snapshots for routes changed during the gesture. | |
Public Attributes | |
| std::vector< std::pair< uint64_t, std::vector< QPointF > > > | originals |
| WireManager * | manager = nullptr |
| std::vector< std::unique_ptr< WireManager::Edit > > | edits |
| std::vector< Contact > | contacts |
| std::map< uint64_t, WireManager::SegmentTopology > | topologyBefore |
| std::map< uint64_t, WireEndpointEdit::NetState > | netBefore |
Definition at line 669 of file diagramScene.hpp.
| void cancel | ( | ) |
Cancels pending edits and restores original segment routes.
Definition at line 485 of file diagramScene.cpp.
| void captureContacts | ( | const DiagramScene & | scene | ) |
Captures existing endpoint contacts, topology, and net identities for the gesture.
Definition at line 440 of file diagramScene.cpp.
|
nodiscard |
Returns before and after snapshots for routes changed during the gesture.
Definition at line 525 of file diagramScene.cpp.
| void commit | ( | WireManager & | manager | ) |
Commits pending segment edits as a batch and rebuilds changed topology.
Definition at line 506 of file diagramScene.cpp.
| void remember | ( | WireManager & | manager, |
| GraphicalWireSegment * | segment ) |
Records a segment's original route and creates its preview edit once.
Definition at line 427 of file diagramScene.cpp.
| std::vector<Contact> contacts |
Definition at line 680 of file diagramScene.hpp.
| std::vector<std::unique_ptr<WireManager::Edit> > edits |
Definition at line 679 of file diagramScene.hpp.
| WireManager* manager = nullptr |
Definition at line 678 of file diagramScene.hpp.
| std::map<uint64_t, WireEndpointEdit::NetState> netBefore |
Definition at line 682 of file diagramScene.hpp.
| std::vector<std::pair<uint64_t, std::vector<QPointF> > > originals |
Definition at line 677 of file diagramScene.hpp.
| std::map<uint64_t, WireManager::SegmentTopology> topologyBefore |
Definition at line 681 of file diagramScene.hpp.