21#ifndef KICAD_SCH_DRAG_NET_COLLISION_H
22#define KICAD_SCH_DRAG_NET_COLLISION_H
26#include <unordered_map>
58 bool Update(
const std::vector<SCH_JUNCTION*>& aJunctions,
const SCH_SELECTION& aSelection );
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
std::vector< ORIGINAL_CONNECTION > m_originalConnections
void recordItemNet(SCH_ITEM *aItem)
SCH_SHEET_PATH m_sheetPath
std::vector< DISCONNECTION_MARKER > collectDisconnectedMarkers(const SCH_SELECTION &aSelection) const
std::optional< COLLISION_MARKER > analyzeJunction(SCH_JUNCTION *aJunction, const SCH_SELECTION &aSelection) const
std::unordered_map< const SCH_ITEM *, std::optional< int > > m_itemNetCodes
bool Update(const std::vector< SCH_JUNCTION * > &aJunctions, const SCH_SELECTION &aSelection)
void recordOriginalConnections(const SCH_SELECTION &aSelection)
~SCH_DRAG_NET_COLLISION_MONITOR()
KICURSOR AdjustCursor(KICURSOR aBaseCursor) const
std::shared_ptr< KIGFX::VIEW_OVERLAY > m_overlay
SCH_DRAG_NET_COLLISION_MONITOR(SCH_EDIT_FRAME *aFrame, KIGFX::VIEW *aView)
void Initialize(const SCH_SELECTION &aSelection)
void clearOverlay() const
Schematic editor (Eeschema) main window.
Base class for any item which can be embedded within the SCHEMATIC container class,...
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
The Cairo implementation of the graphics abstraction layer.
Definition of the SCH_SHEET_PATH and SCH_SHEET_LIST classes for Eeschema.
VECTOR2< int32_t > VECTOR2I