KiCad PCB EDA Suite
|
#include <ee_selection.h>
Public Types | |
using | ITER = std::deque< EDA_ITEM * >::iterator |
using | CITER = std::deque< EDA_ITEM * >::const_iterator |
Public Member Functions | |
EE_SELECTION (SCH_SCREEN *aScreen=nullptr) | |
EDA_ITEM * | GetTopLeftItem (bool onlyModules=false) const override |
BOX2I | GetBoundingBox () const override |
void | SetScreen (SCH_SCREEN *aScreen) |
SCH_SCREEN * | GetScreen () |
const std::vector< KIGFX::VIEW_ITEM * > | updateDrawList () const override |
bool | operator== (const SELECTION &aOther) const |
ITER | begin () |
CITER | begin () const |
ITER | end () |
CITER | end () const |
void | SetIsHover (bool aIsHover) |
bool | IsHover () const |
virtual void | Add (EDA_ITEM *aItem) |
virtual void | Add (VIEW_ITEM *aItem) |
Add an item to the group. | |
virtual void | Remove (EDA_ITEM *aItem) |
virtual void | Remove (VIEW_ITEM *aItem) |
Remove an item from the group. | |
virtual void | Clear () override |
Remove all the stored items from the group. | |
virtual unsigned int | GetSize () const override |
Return the number of stored items. | |
virtual KIGFX::VIEW_ITEM * | GetItem (unsigned int aIdx) const override |
bool | Contains (EDA_ITEM *aItem) const |
bool | Empty () const |
Checks if there is anything selected. | |
int | Size () const |
Returns the number of selected parts. | |
const std::deque< EDA_ITEM * > | GetItems () const |
EDA_ITEM * | GetLastAddedItem () const |
std::vector< EDA_ITEM * > | GetItemsSortedByTypeAndXY (bool leftBeforeRight=true, bool topBeforeBottom=true) const |
Returns a copy of this selection of items sorted by their X then Y position. | |
std::vector< EDA_ITEM * > | GetItemsSortedBySelectionOrder () const |
virtual VECTOR2I | GetCenter () const |
Returns the center point of the selection area bounding box. | |
virtual const BOX2I | ViewBBox () const override |
Return the bounding box for all stored items covering all its layers. | |
VECTOR2I | GetPosition () const |
Returns the top left point of the selection area bounding box. | |
EDA_ITEM * | operator[] (const size_t aIdx) const |
EDA_ITEM * | Front () const |
std::deque< EDA_ITEM * > & | Items () |
const std::deque< EDA_ITEM * > & | Items () const |
template<class T > | |
T * | FirstOfKind () const |
bool | HasType (KICAD_T aType) const |
Checks if there is at least one item of requested kind. | |
size_t | CountType (KICAD_T aType) const |
bool | HasReferencePoint () const |
VECTOR2I | GetReferencePoint () const |
void | SetReferencePoint (const VECTOR2I &aP) |
void | ClearReferencePoint () |
bool | AreAllItemsIdentical () const |
Checks if all items in the selection are the same KICAD_T type. | |
bool | OnlyContains (std::vector< KICAD_T > aList) const |
Checks if all items in the selection have a type in aList. | |
virtual void | ViewDraw (int aLayer, VIEW *aView) const override |
Draw all the stored items in the group on the given layer. | |
std::vector< int > | ViewGetLayers () const override |
Return the all the layers within the VIEW the object is painted on. | |
virtual void | SetLayer (int aLayer) |
Set layer used to draw the group. | |
void | FreeItems () |
Free all the items that were added to the group. | |
bool | IsSCH_ITEM () const |
bool | IsBOARD_ITEM () const |
virtual double | ViewGetLOD (int aLayer, const VIEW *aView) const |
Return the level of detail (LOD) of the item. | |
VIEW_ITEM_DATA * | viewPrivData () const |
void | SetForcedTransparency (double aForcedTransparency) |
double | GetForcedTransparency () const |
bool | Set (PROPERTY_BASE *aProperty, wxAny &aValue, bool aNotify=true) |
template<typename T > | |
bool | Set (PROPERTY_BASE *aProperty, T aValue, bool aNotify=true) |
template<typename T > | |
bool | Set (const wxString &aProperty, T aValue, bool aNotify=true) |
wxAny | Get (PROPERTY_BASE *aProperty) const |
template<typename T > | |
T | Get (PROPERTY_BASE *aProperty) const |
template<typename T > | |
std::optional< T > | Get (const wxString &aProperty) const |
Static Protected Member Functions | |
static constexpr double | lodScaleForThreshold (int aWhatIu, int aThresholdIu) |
Get the scale at which aWhatIu would be drawn at the same size as aThresholdIu on screen. | |
Protected Attributes | |
std::optional< VECTOR2I > | m_referencePoint |
std::deque< EDA_ITEM * > | m_items |
std::deque< int > | m_itemsOrders |
int | m_orderCounter |
EDA_ITEM * | m_lastAddedItem |
bool | m_isHover |
int | m_layer |
std::vector< VIEW_ITEM * > | m_groupItems |
Static Protected Attributes | |
static constexpr double | LOD_HIDE = std::numeric_limits<double>::max() |
Return this constant from ViewGetLOD() to hide the item unconditionally. | |
static constexpr double | LOD_SHOW = 0.0 |
Return this constant from ViewGetLOD() to show the item unconditionally. | |
Private Attributes | |
SCH_SCREEN * | m_screen |
Screen of selected objects. | |
bool | m_isSCH_ITEM |
bool | m_isBOARD_ITEM |
VIEW_ITEM_DATA * | m_viewPrivData |
double | m_forcedTransparency |
Additional transparency for diff'ing items. | |
Definition at line 37 of file ee_selection.h.
|
inherited |
Definition at line 72 of file selection.h.
|
inherited |
Definition at line 71 of file selection.h.
EE_SELECTION::EE_SELECTION | ( | SCH_SCREEN * | aScreen = nullptr | ) |
Definition at line 33 of file ee_selection.cpp.
References m_screen.
|
virtualinherited |
Definition at line 42 of file selection.cpp.
References SELECTION::m_items, SELECTION::m_itemsOrders, SELECTION::m_lastAddedItem, and SELECTION::m_orderCounter.
Referenced by EE_GRID_HELPER::BestSnapAnchor(), PCB_TOOL_BASE::doInteractiveItemPlacement(), SCH_MOVE_TOOL::doMoveSelection(), DRAWING_TOOL::drawArc(), DRAWING_TOOL::DrawDimension(), DRAWING_TOOL::drawOneBezier(), DRAWING_TOOL::drawShape(), PL_SELECTION_TOOL::highlight(), PCB_SELECTION_TOOL::highlight(), PCB_TEST_SELECTION_TOOL::highlight(), EE_SELECTION_TOOL::highlight(), SCH_DRAWING_TOOLS::ImportGraphics(), SYMBOL_EDITOR_DRAWING_TOOLS::ImportGraphics(), PCB_CONTROL::InteractiveDelete(), ARRAY_TOOL::onDialogClosed(), DRAWING_TOOL::PlaceImportedGraphics(), DRAWING_TOOL::PlaceTuningPattern(), SCH_EDIT_TOOL::RepeatDrawItem(), GERBVIEW_SELECTION_TOOL::select(), and PCB_POINT_EDITOR::updateItem().
|
virtualinherited |
Add an item to the group.
Definition at line 58 of file view_group.cpp.
References KIGFX::VIEW_GROUP::m_groupItems.
Referenced by PNS_PCBNEW_DEBUG_DECORATOR::AddItem(), PNS_PCBNEW_DEBUG_DECORATOR::AddShape(), PNS_KICAD_IFACE::DisplayItem(), PNS_KICAD_IFACE::DisplayPathLine(), PNS_KICAD_IFACE::DisplayRatline(), PCB_TOOL_BASE::doInteractiveItemPlacement(), and PCB_SELECTION_TOOL::EnterGroup().
|
inherited |
Checks if all items in the selection are the same KICAD_T type.
Definition at line 201 of file selection.cpp.
References SELECTION::m_items.
|
inlineinherited |
Definition at line 74 of file selection.h.
References SELECTION::m_items.
Referenced by BOARD_INSPECTION_TOOL::calculateSelectionRatsnest(), EDIT_TOOL::DeleteItems(), SYMBOL_EDITOR_EDIT_TOOL::Duplicate(), GetCurrentSelection(), and DIALOG_EXPORT_STEP::onExportButton().
|
inlineinherited |
Definition at line 76 of file selection.h.
References SELECTION::m_items.
|
inlineoverridevirtualinherited |
Remove all the stored items from the group.
Reimplemented from KIGFX::VIEW_GROUP.
Definition at line 93 of file selection.h.
References SELECTION::m_items, SELECTION::m_itemsOrders, and SELECTION::m_orderCounter.
Referenced by GERBVIEW_SELECTION_TOOL::clearSelection(), PL_DRAW_PANEL_GAL::DisplayDrawingSheet(), PCB_TOOL_BASE::doInteractiveItemPlacement(), DRAWING_TOOL::drawArc(), DRAWING_TOOL::DrawDimension(), DRAWING_TOOL::drawOneBezier(), DRAWING_TOOL::drawShape(), EE_SELECTION_TOOL::EE_SELECTION_TOOL(), SCH_DRAWING_TOOLS::ImportGraphics(), SYMBOL_EDITOR_DRAWING_TOOLS::ImportGraphics(), EE_SELECTION_TOOL::Main(), PCB_SELECTION_TOOL::Main(), PCB_TEST_SELECTION_TOOL::Main(), DRAWING_TOOL::PlaceImportedGraphics(), DRAWING_TOOL::PlaceTuningPattern(), EE_SELECTION_TOOL::RebuildSelection(), PL_SELECTION_TOOL::RebuildSelection(), PCB_SELECTION_TOOL::RebuildSelection(), SYMBOL_EDITOR_EDIT_TOOL::Redo(), EE_SELECTION_TOOL::Reset(), GERBVIEW_SELECTION_TOOL::Reset(), PCB_TEST_SELECTION_TOOL::selectPoint(), and SYMBOL_EDITOR_EDIT_TOOL::Undo().
|
inherited |
Definition at line 184 of file selection.cpp.
References SELECTION::m_referencePoint.
Referenced by PL_SELECTION_TOOL::ClearSelection(), PCB_TEST_SELECTION_TOOL::ClearSelection(), EE_SELECTION_TOOL::ClearSelection(), PCB_SELECTION_TOOL::ClearSelection(), EDIT_TOOL::doMoveSelection(), EDIT_TOOL::Flip(), PL_EDIT_TOOL::Main(), PCB_SELECTION_TOOL::RequestSelection(), EE_SELECTION_TOOL::RequestSelection(), EDIT_TOOL::Rotate(), EE_SELECTION_TOOL::selectMultiple(), PL_SELECTION_TOOL::selectMultiple(), PCB_SELECTION_TOOL::selectMultiple(), PCB_TEST_SELECTION_TOOL::selectPoint(), PL_SELECTION_TOOL::SelectPoint(), PCB_SELECTION_TOOL::selectPoint(), EE_SELECTION_TOOL::selectPoint(), PCB_SELECTION_TOOL::selectTableCells(), and EE_SELECTION_TOOL::selectTableCells().
|
inherited |
Definition at line 84 of file selection.cpp.
References SELECTION::m_items.
Referenced by EDIT_TOOL::FilletTracks(), PCB_EDIT_FRAME::RebuildAndRefresh(), and PCB_SELECTION_TOOL::select().
|
inherited |
Definition at line 155 of file selection.cpp.
References SELECTION::m_items.
Referenced by ROUTER_TOOL::CanInlineDrag(), EDIT_TOOL::Duplicate(), GLOBAL_EDIT_TOOL::ExchangeFootprints(), EDIT_TOOL::Remove(), and SCH_EDIT_TOOL::Swap().
|
inlineinherited |
Checks if there is anything selected.
Definition at line 110 of file selection.h.
References SELECTION::m_items.
Referenced by SCH_EDIT_TOOL::AutoplaceFields(), SCH_EDIT_TOOL::ChangeBodyStyle(), SCH_EDIT_TOOL::ChangeSymbols(), GERBVIEW_SELECTION_TOOL::clearSelection(), PL_SELECTION_TOOL::ClearSelection(), PCB_TEST_SELECTION_TOOL::ClearSelection(), EE_SELECTION_TOOL::ClearSelection(), PCB_SELECTION_TOOL::ClearSelection(), ARRAY_TOOL::CreateArray(), ZONE_CREATE_HELPER::createNewZone(), CONVERT_TOOL::CreatePolys(), DIALOG_BOARD_REANNOTATE::DIALOG_BOARD_REANNOTATE(), DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES(), EE_INSPECTION_TOOL::DiffSymbol(), EDIT_TABLE_TOOL_BASE< T_TABLE, T_TABLECELL, T_COMMIT >::doAddRowBelow(), COMMON_TOOLS::doCenter(), EDIT_TABLE_TOOL_BASE< T_TABLE, T_TABLECELL, T_COMMIT >::doDeleteColumns(), EDIT_TABLE_TOOL_BASE< T_TABLE, T_TABLECELL, T_COMMIT >::doDeleteRows(), BOARD_INSPECTION_TOOL::doHideRatsnestNet(), EDIT_TABLE_TOOL_BASE< T_TABLE, T_TABLECELL, T_COMMIT >::doMergeCells(), EDIT_TOOL::doMoveSelection(), SYMBOL_EDITOR_MOVE_TOOL::doMoveSelection(), SCH_MOVE_TOOL::doMoveSelection(), EDIT_TABLE_TOOL_BASE< T_TABLE, T_TABLECELL, T_COMMIT >::doUnmergeCells(), COMMON_TOOLS::doZoomFit(), EDIT_TOOL::Duplicate(), BOARD_EDITOR_CONTROL::EditFpInFpEditor(), SELECTION_CONDITIONS::Empty(), GLOBAL_EDIT_TOOL::ExchangeFootprints(), EDIT_TOOL::Flip(), DRAWING_TOOL::getSourceZoneForAction(), GROUP_TOOL::Group(), SELECTION_CONDITIONS::hasTypeFunc(), SELECTION_CONDITIONS::hasTypesFunc(), SCH_EDIT_TOOL::Increment(), EDIT_TOOL::Increment(), ROUTER_TOOL::InlineDrag(), EDIT_TOOL::JustifyText(), BOARD_INSPECTION_TOOL::LocalRatsnestTool(), EE_SELECTION_TOOL::Main(), GERBVIEW_SELECTION_TOOL::Main(), PL_EDIT_TOOL::Main(), PL_SELECTION_TOOL::Main(), PCB_SELECTION_TOOL::Main(), EDIT_TOOL::Mirror(), BOARD_EDITOR_CONTROL::modifyLockSelected(), EDIT_TOOL::MoveExact(), SELECTION_CONDITIONS::NotEmpty(), SELECTION_CONDITIONS::onlyTypesFunc(), SYMBOL_EDITOR_EDIT_TOOL::Paste(), PL_EDIT_TOOL::Paste(), GROUP_TOOL::PickNewMember(), POSITION_RELATIVE_TOOL::PositionRelative(), SCH_EDIT_TOOL::Properties(), SYMBOL_EDITOR_EDIT_TOOL::Properties(), BOARD_REANNOTATE_TOOL::ReannotateDuplicates(), BOARD_REANNOTATE_TOOL::ReannotateDuplicatesInSelection(), PROPERTIES_PANEL::rebuildProperties(), GROUP_TOOL::RemoveFromGroup(), SCH_EDIT_TOOL::RepeatDrawItem(), PL_SELECTION_TOOL::RequestSelection(), PCB_SELECTION_TOOL::RequestSelection(), EE_SELECTION_TOOL::RequestSelection(), EDIT_TOOL::Rotate(), PCB_SELECTION_CONDITIONS::sameLayerFunc(), PCB_SELECTION_CONDITIONS::sameNetFunc(), CLIPBOARD_IO::SaveSelection(), SCH_EDIT_FRAME::SaveSelectionAsDesignBlock(), EE_SELECTION_TOOL::SelectConnection(), PCB_SELECTION_TOOL::selectCursor(), PCB_PICKER_TOOL::SelectItemInteractively(), EE_INSPECTION_TOOL::ShowDatasheet(), GROUP_TOOL::Ungroup(), GERBVIEW_SELECTION_TOOL::unselect(), BOARD_INSPECTION_TOOL::UpdateLocalRatsnest(), PCB_CONTROL::UpdateMessagePanel(), and EDIT_TOOL::updateModificationPoint().
|
inlineinherited |
Definition at line 75 of file selection.h.
References SELECTION::m_items.
Referenced by BOARD_INSPECTION_TOOL::calculateSelectionRatsnest(), EDIT_TOOL::DeleteItems(), SYMBOL_EDITOR_EDIT_TOOL::Duplicate(), GetCurrentSelection(), and DIALOG_EXPORT_STEP::onExportButton().
|
inlineinherited |
Definition at line 77 of file selection.h.
References SELECTION::m_items.
|
inlineinherited |
Definition at line 188 of file selection.h.
References SELECTION::m_items.
Referenced by BOARD_EDITOR_CONTROL::EditFpInFpEditor(), and GLOBAL_EDIT_TOOL::ExchangeFootprints().
|
inherited |
Free all the items that were added to the group.
Definition at line 211 of file view_group.cpp.
References KIGFX::VIEW_GROUP::Clear(), KIGFX::VIEW_GROUP::GetItem(), and KIGFX::VIEW_GROUP::GetSize().
Referenced by PNS_PCBNEW_DEBUG_DECORATOR::Clear(), PNS_KICAD_IFACE::EraseView(), PCB_POINT_EDITOR::OnSelectionChange(), DRAWING_TOOL::PlaceTuningPattern(), PNS_KICAD_IFACE::SetView(), PCB_POINT_EDITOR::updateItem(), and PNS_KICAD_IFACE::~PNS_KICAD_IFACE().
|
inlineinherited |
Definition at line 172 of file selection.h.
References SELECTION::m_items.
Referenced by SCH_EDIT_TOOL::AutoplaceFields(), ROUTER_TOOL::CanInlineDrag(), SCH_EDIT_TOOL::ChangeBodyStyle(), SCH_EDIT_TOOL::ChangeSymbols(), SCH_EDIT_TOOL::CleanupSheetPins(), PL_SELECTION_TOOL::ClearSelection(), PCB_TEST_SELECTION_TOOL::ClearSelection(), EE_SELECTION_TOOL::ClearSelection(), PCB_SELECTION_TOOL::ClearSelection(), CONVERT_TOOL::CreatePolys(), EE_INSPECTION_TOOL::CrossProbe(), DRC_TOOL::CrossProbe(), EE_INSPECTION_TOOL::DiffSymbol(), PL_EDIT_TOOL::DoDelete(), SYMBOL_EDITOR_MOVE_TOOL::doMoveSelection(), SCH_MOVE_TOOL::doMoveSelection(), EDIT_TOOL::DragArcTrack(), SCH_DRAWING_TOOLS::DrawSheet(), SCH_EDIT_TOOL::EditField(), SCH_EDIT_TOOL::EditPageNumber(), SCH_LINE_WIRE_BUS_TOOL::getBusForUnfolding(), GERBVIEW_SELECTION::GetCenter(), SCH_FIND_REPLACE_TOOL::getCurrentMatch(), EE_GRID_HELPER::GetSelectionGrid(), GRID_HELPER::GetSelectionGrid(), SELECTION_CONDITIONS::Idle(), SELECTION_CONDITIONS::IdleSelection(), SCH_EDIT_TOOL::Increment(), SYMBOL_EDITOR_EDIT_TOOL::Increment(), ROUTER_TOOL::InlineBreakTrack(), ROUTER_TOOL::InlineDrag(), SCH_LINE_WIRE_BUS_TOOL::IsDrawingLineWireOrBus(), SCH_EDIT_TOOL::JustifyText(), EE_POINT_EDITOR::Main(), EE_SELECTION_TOOL::Main(), PL_EDIT_TOOL::Main(), PL_POINT_EDITOR::Main(), SCH_EDIT_TOOL::Mirror(), SYMBOL_EDITOR_EDIT_TOOL::Mirror(), PCB_POINT_EDITOR::OnSelectionChange(), SCH_DRAWING_TOOLS::PlaceNextSymbolUnit(), SCH_EDIT_TOOL::Properties(), SYMBOL_EDITOR_EDIT_TOOL::Properties(), EDIT_TOOL::Properties(), SYMBOL_EDITOR_PIN_TOOL::PushPinProperties(), PROPERTIES_PANEL::rebuildProperties(), SYMBOL_EDITOR_EDIT_TOOL::Rotate(), EDIT_TOOL::Rotate(), CLIPBOARD_IO::SaveSelection(), SCH_EDIT_FRAME::SaveSelectionAsDesignBlock(), PCB_PICKER_TOOL::SelectItemInteractively(), PCB_SELECTION_TOOL::selectSameSheet(), EE_INSPECTION_TOOL::ShowDatasheet(), PCB_EDIT_FRAME::ShowFindDialog(), SCH_EDIT_FRAME::ShowFindReplaceDialog(), BOARD_INSPECTION_TOOL::ShowFootprintLinks(), SCH_DRAWING_TOOLS::SingleClickPlace(), SCH_EDIT_TOOL::Swap(), SYMBOL_EDITOR_EDIT_TOOL::Swap(), SCH_DRAWING_TOOLS::SyncSheetsPins(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::TransferDataToWindow(), DIALOG_GLOBAL_EDIT_TEARDROPS::TransferDataToWindow(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::TransferDataToWindow(), SCH_DRAWING_TOOLS::TwoClickPlace(), PCB_CONTROL::UpdateMessagePanel(), EDIT_TOOL::updateModificationPoint(), PL_EDIT_TOOL::updateModificationPoint(), and GERBVIEW_SELECTION::ViewBBox().
|
inlineinherited |
Definition at line 120 of file inspectable.h.
References PROPERTY_BASE::get(), PROPERTY_MANAGER::GetProperty(), PROPERTY_MANAGER::Instance(), PROPERTY_BASE::OwnerHash(), TYPE_HASH, and PROPERTY_MANAGER::TypeCast().
|
inlineinherited |
Definition at line 100 of file inspectable.h.
References PROPERTY_BASE::getter(), PROPERTY_MANAGER::Instance(), PROPERTY_BASE::OwnerHash(), TYPE_HASH, and PROPERTY_MANAGER::TypeCast().
Referenced by BOOST_AUTO_TEST_CASE(), CLASS_D_DESC::CLASS_D_DESC(), PROPERTIES_PANEL::getItemValue(), PCBEXPR_VAR_REF::GetValue(), and SCHEMATIC::SCHEMATIC().
|
inlineinherited |
Definition at line 108 of file inspectable.h.
References PROPERTY_BASE::get(), PROPERTY_MANAGER::Instance(), PROPERTY_BASE::OwnerHash(), TYPE_HASH, and PROPERTY_MANAGER::TypeCast().
|
overridevirtual |
Reimplemented from SELECTION.
Definition at line 85 of file ee_selection.cpp.
References GetBoundingBox(), SELECTION::m_items, BOX2< Vec >::Merge(), SCH_SHEET_T, and SCH_SYMBOL_T.
Referenced by GetBoundingBox(), EE_SELECTION_TOOL::Main(), EE_SELECTION_TOOL::SyncSelection(), and SCH_LINE_WIRE_BUS_TOOL::TrimOverLappingWires().
|
virtualinherited |
Returns the center point of the selection area bounding box.
Reimplemented in GERBVIEW_SELECTION.
Definition at line 92 of file selection.cpp.
References SELECTION::m_items, BOX2< Vec >::Merge(), SCH_LABEL_LOCATE_ANY_T, and SCH_TEXT_T.
Referenced by EDIT_TOOL::Flip(), SCH_EDIT_TOOL::Mirror(), SYMBOL_EDITOR_EDIT_TOOL::Mirror(), EDIT_TOOL::MoveExact(), SCH_EDIT_TOOL::Rotate(), SYMBOL_EDITOR_EDIT_TOOL::Rotate(), and EDIT_TOOL::updateModificationPoint().
|
inlineinherited |
Definition at line 165 of file view_item.h.
Referenced by KIGFX::SCH_PAINTER::draw(), EDA_ITEM::EDA_ITEM(), KIGFX::PCB_RENDER_SETTINGS::GetColor(), and EDA_ITEM::operator=().
|
overridevirtualinherited |
Reimplemented from KIGFX::VIEW_GROUP.
Definition at line 75 of file selection.cpp.
References SELECTION::m_items.
Referenced by SCH_EDIT_TOOL::AutoplaceFields(), BOARD_INSPECTION_TOOL::DiffFootprint(), EDIT_TOOL::Flip(), SCH_IO_KICAD_SEXPR::Format(), SCH_IO_KICAD_LEGACY::Format(), ROUTER_TOOL::InlineDrag(), BOARD_INSPECTION_TOOL::InspectClearance(), BOARD_INSPECTION_TOOL::InspectConstraints(), PCB_SELECTION_TOOL::Main(), SYMBOL_EDITOR_EDIT_TOOL::Mirror(), EE_SELECTION_TOOL::RequestSelection(), SCH_EDIT_TOOL::Rotate(), SYMBOL_EDITOR_EDIT_TOOL::Rotate(), and SCH_LINE_WIRE_BUS_TOOL::TrimOverLappingWires().
|
inlineinherited |
Definition at line 121 of file selection.h.
References SELECTION::m_items.
Referenced by PL_EDIT_TOOL::Copy(), ZONE_CREATE_HELPER::createNewZone(), CONVERT_TOOL::CreatePolys(), BOARD_EDITOR_CONTROL::doCrossProbePcbToSch(), SCH_EDIT_TOOL::DoDelete(), SYMBOL_EDITOR_EDIT_TOOL::DoDelete(), PCB_SELECTION_TOOL::expandConnection(), PCB_SELECTION_TOOL::filterSelection(), PCB_SELECTION_TOOL::grabUnconnected(), ROUTER_TOOL::InlineDrag(), PCB_EDIT_FRAME::RebuildAndRefresh(), EE_SELECTION_TOOL::SelectConnection(), PCB_SELECTION_TOOL::selectNet(), PCB_SELECTION_TOOL::selectUnconnected(), and PCB_SELECTION_TOOL::unrouteSelected().
|
inherited |
Definition at line 263 of file selection.cpp.
References SELECTION::m_items, and SELECTION::m_itemsOrders.
Referenced by EDIT_TOOL::doMoveSelection(), ROUTER_TOOL::RouteSelected(), SCH_EDIT_TOOL::Swap(), SYMBOL_EDITOR_EDIT_TOOL::Swap(), and EDIT_TOOL::Swap().
|
inherited |
Returns a copy of this selection of items sorted by their X then Y position.
Definition at line 221 of file selection.cpp.
References SELECTION::m_items.
Referenced by SCH_MOVE_TOOL::doMoveSelection().
|
inlineinherited |
Definition at line 126 of file selection.h.
References SELECTION::m_lastAddedItem.
Referenced by BOARD_EDITOR_CONTROL::doCrossProbePcbToSch().
|
inlineinherited |
Returns the top left point of the selection area bounding box.
Definition at line 152 of file selection.h.
References SELECTION::GetBoundingBox(), and BOX2< Vec >::GetPosition().
|
inherited |
Definition at line 169 of file selection.cpp.
References BOX2< Vec >::Centre(), SELECTION::GetBoundingBox(), and SELECTION::m_referencePoint.
Referenced by SCH_MOVE_TOOL::doMoveSelection(), EDIT_TOOL::Flip(), SCH_DRAWING_TOOLS::ImportSheet(), PL_EDIT_TOOL::Main(), EDIT_TOOL::Mirror(), SCH_EDIT_TOOL::Rotate(), EDIT_TOOL::Rotate(), and CLIPBOARD_IO::SaveSelection().
|
inline |
Definition at line 52 of file ee_selection.h.
References m_screen.
Referenced by SCH_IO_KICAD_SEXPR::Format().
|
inlineoverridevirtualinherited |
Return the number of stored items.
Reimplemented from KIGFX::VIEW_GROUP.
Definition at line 100 of file selection.h.
References SELECTION::m_items.
Referenced by SCH_EDIT_TOOL::AutoplaceFields(), PL_SELECTION_TOOL::ClearSelection(), PCB_TEST_SELECTION_TOOL::ClearSelection(), EE_SELECTION_TOOL::ClearSelection(), PCB_SELECTION_TOOL::ClearSelection(), SYMBOL_EDITOR_EDIT_TOOL::Copy(), PL_EDIT_TOOL::Copy(), EE_INSPECTION_TOOL::CrossProbe(), DRC_TOOL::CrossProbe(), EDIT_TOOL::DeleteItems(), SYMBOL_EDITOR_MOVE_TOOL::doMoveSelection(), SCH_MOVE_TOOL::doMoveSelection(), SYMBOL_EDITOR_EDIT_TOOL::Duplicate(), SCH_EDIT_TOOL::EditPageNumber(), PCB_SELECTION_TOOL::EnterGroup(), GROUP_TOOL::EnterGroup(), PCB_SELECTION_TOOL::FilterCollectorForFootprints(), PCB_SELECTION_TOOL::FindItem(), EDIT_TOOL::Flip(), SCH_IO_KICAD_SEXPR::Format(), SCH_IO_KICAD_LEGACY::Format(), SCH_EDIT_TOOL::JustifyText(), PCB_SELECTION_TOOL::Main(), SCH_EDIT_TOOL::Mirror(), SYMBOL_EDITOR_EDIT_TOOL::Mirror(), SCH_EDIT_TOOL::Properties(), SCH_EDIT_TOOL::RepeatDrawItem(), EE_SELECTION_TOOL::RequestSelection(), SCH_EDIT_TOOL::Rotate(), SYMBOL_EDITOR_EDIT_TOOL::Rotate(), PCB_SELECTION_TOOL::selectAllConnectedTracks(), EE_SELECTION_TOOL::SelectConnection(), PCB_SELECTION_TOOL::selectMultiple(), PCB_SELECTION_TOOL::selectPoint(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::TransferDataToWindow(), SCH_LINE_WIRE_BUS_TOOL::TrimOverLappingWires(), SCH_DRAWING_TOOLS::TwoClickPlace(), and PCB_CONTROL::UpdateMessagePanel().
|
overridevirtual |
Reimplemented from SELECTION.
Definition at line 40 of file ee_selection.cpp.
References EDA_ITEM::GetPosition(), SCH_ITEM::IsConnectable(), SELECTION::m_items, pin, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by EE_SELECTION_TOOL::updateReferencePoint().
|
inlineinherited |
Definition at line 211 of file selection.h.
References SELECTION::m_referencePoint.
Referenced by EDIT_TOOL::doMoveSelection(), SCH_MOVE_TOOL::doMoveSelection(), EDIT_TOOL::Flip(), PL_EDIT_TOOL::Main(), SCH_EDIT_TOOL::Rotate(), EDIT_TOOL::Rotate(), CLIPBOARD_IO::SaveSelection(), EDIT_TOOL::updateModificationPoint(), and PL_EDIT_TOOL::updateModificationPoint().
|
inherited |
Checks if there is at least one item of requested kind.
aType | is the type to check for. |
Definition at line 143 of file selection.cpp.
References SELECTION::m_items.
Referenced by POSITION_RELATIVE_TOOL::PositionRelative(), EDIT_TOOL::Remove(), and SCH_EDIT_FRAME::SaveSelectionAsDesignBlock().
|
inlineinherited |
Definition at line 102 of file view_item.h.
Referenced by KIGFX::PCB_VIEW::Add(), PCB_BASE_EDIT_FRAME::ClearListAndDeleteItems(), CONVERT_TOOL::CreatePolys(), EDIT_TOOL::doMoveSelection(), KIGFX::PCB_PAINTER::Draw(), PCB_SELECTION_TOOL::highlightInternal(), PCB_TEST_SELECTION_TOOL::highlightInternal(), GENERAL_COLLECTOR::Inspect(), BOARD_INSPECTION_TOOL::InspectClearance(), BOARD_INSPECTION_TOOL::InspectConstraints(), BOARD_COMMIT::MakeImage(), BOARD::Move(), DRAWING_TOOL::PlaceImportedGraphics(), EDIT_TOOL::Properties(), BOARD_COMMIT::Push(), PCB_BASE_EDIT_FRAME::PutDataInPreviousState(), KIGFX::PCB_VIEW::Remove(), EDIT_TOOL::removeNonRootItems(), BOARD_COMMIT::Revert(), PCB_EDIT_FRAME::SetActiveLayer(), PCB_BASE_FRAME::SetPlotSettings(), PCB_EDIT_FRAME::ShowBoardSetupDialog(), EDIT_TOOL::Swap(), PCB_SELECTION_TOOL::unhighlightInternal(), PCB_TEST_SELECTION_TOOL::unhighlightInternal(), KIGFX::PCB_VIEW::Update(), EDIT_TOOL::updateModificationPoint(), and DIALOG_POSITION_RELATIVE::UpdatePickedItem().
|
inlineinherited |
Definition at line 84 of file selection.h.
References SELECTION::m_isHover.
Referenced by SCH_MOVE_TOOL::AlignToGrid(), SCH_EDIT_TOOL::AutoplaceFields(), SCH_EDIT_TOOL::ChangeBodyStyle(), EDIT_TOOL::ChangeTrackWidth(), SCH_EDIT_TOOL::CleanupSheetPins(), EDIT_TOOL::copyToClipboardAsText(), EDIT_TOOL::doMoveSelection(), SYMBOL_EDITOR_MOVE_TOOL::doMoveSelection(), SCH_MOVE_TOOL::doMoveSelection(), EDIT_TOOL::Drag(), EDIT_TOOL::Duplicate(), SCH_EDIT_TOOL::EditField(), BOARD_EDITOR_CONTROL::EditFpInFpEditor(), SCH_EDIT_TABLE_TOOL::EditTable(), PCB_EDIT_TABLE_TOOL::EditTable(), EDIT_TOOL::Flip(), SCH_EDIT_TOOL::JustifyText(), EDIT_TOOL::JustifyText(), PL_EDIT_TOOL::Main(), SCH_EDIT_TOOL::Mirror(), SYMBOL_EDITOR_EDIT_TOOL::Mirror(), EDIT_TOOL::Mirror(), SCH_EDIT_TOOL::Properties(), SYMBOL_EDITOR_EDIT_TOOL::Properties(), EDIT_TOOL::Properties(), POSITION_RELATIVE_TOOL::RelativeItemSelectionMove(), EDIT_TOOL::Remove(), SCH_EDIT_TOOL::Rotate(), SYMBOL_EDITOR_EDIT_TOOL::Rotate(), EDIT_TOOL::Rotate(), SCH_EDIT_TOOL::Swap(), and SYMBOL_EDITOR_EDIT_TOOL::Swap().
|
inlineinherited |
Definition at line 101 of file view_item.h.
|
inlineinherited |
Definition at line 177 of file selection.h.
References SELECTION::m_items.
Referenced by SCH_LINE_WIRE_BUS_TOOL::AddJunctionsIfNeeded(), SCH_EDIT_TABLE_TOOL::EditTable(), PCB_EDIT_TABLE_TOOL::EditTable(), PCB_SELECTION_CONDITIONS::HasLockedItems(), PCB_SELECTION_CONDITIONS::HasUnlockedItems(), POSITION_RELATIVE_TOOL::PositionRelative(), SCH_EDIT_TOOL::Properties(), EDIT_TOOL::Properties(), ROUTER_TOOL::restoreSelection(), PCB_TEST_SELECTION_TOOL::selectPoint(), and EDIT_TOOL::updateModificationPoint().
|
inlineinherited |
Definition at line 182 of file selection.h.
References SELECTION::m_items.
|
inlinestaticconstexprprotectedinherited |
Get the scale at which aWhatIu would be drawn at the same size as aThresholdIu on screen.
This is useful when a level-of-detail is defined in terms of a threshold size (i.e. 'only draw X when it will be bigger than Y size on screen').
E.g. if aWhatIu is 1000 and aThresholdIu is 100, then the item will be the same size as the threshold at 0.1 scale. Returning that 0.1 as the LoD will hide the item when the scale is less than 0.1 - i.e. smaller than the threshold.
Because even at zoom 1.0, 1mm in KiCad may not be exactly 1mm on a physical screen, the threshold may not be exact in practice.
Definition at line 196 of file view_item.h.
Referenced by SCH_LINE::ViewGetLOD(), GERBER_DRAW_ITEM::ViewGetLOD(), PAD::ViewGetLOD(), and PCB_TRACK::ViewGetLOD().
|
inherited |
Checks if all items in the selection have a type in aList.
Definition at line 211 of file selection.cpp.
References SELECTION::m_items.
Referenced by PCB_SELECTION_TOOL::Main(), and SCH_EDIT_TOOL::Swap().
|
inherited |
Definition at line 32 of file selection.cpp.
References SELECTION::m_isHover, SELECTION::m_items, SELECTION::m_itemsOrders, SELECTION::m_lastAddedItem, and SELECTION::m_orderCounter.
|
inlineinherited |
Definition at line 164 of file selection.h.
References SELECTION::m_items.
|
virtualinherited |
Definition at line 60 of file selection.cpp.
References SELECTION::m_items, SELECTION::m_itemsOrders, and SELECTION::m_lastAddedItem.
Referenced by DRAWING_TOOL::drawArc(), DRAWING_TOOL::DrawDimension(), DRAWING_TOOL::drawOneBezier(), DRAWING_TOOL::PlaceImportedGraphics(), PL_SELECTION_TOOL::unhighlight(), PCB_SELECTION_TOOL::unhighlight(), PCB_TEST_SELECTION_TOOL::unhighlight(), EE_SELECTION_TOOL::unhighlight(), and GERBVIEW_SELECTION_TOOL::unselect().
|
virtualinherited |
Remove an item from the group.
Definition at line 64 of file view_group.cpp.
References alg::delete_matching(), and KIGFX::VIEW_GROUP::m_groupItems.
|
inlineinherited |
Definition at line 77 of file inspectable.h.
References PROPERTY_MANAGER::GetProperty(), PROPERTY_MANAGER::Instance(), PROPERTY_BASE::OwnerHash(), PROPERTY_MANAGER::PropertyChanged(), PROPERTY_BASE::set(), TYPE_HASH, and PROPERTY_MANAGER::TypeCast().
|
inlineinherited |
Definition at line 60 of file inspectable.h.
References PROPERTY_MANAGER::Instance(), PROPERTY_BASE::OwnerHash(), PROPERTY_MANAGER::PropertyChanged(), PROPERTY_BASE::set(), TYPE_HASH, and PROPERTY_MANAGER::TypeCast().
|
inlineinherited |
Definition at line 43 of file inspectable.h.
References PROPERTY_MANAGER::Instance(), PROPERTY_BASE::OwnerHash(), PROPERTY_MANAGER::PropertyChanged(), PROPERTY_BASE::setter(), TYPE_HASH, and PROPERTY_MANAGER::TypeCast().
Referenced by SCH_PROPERTIES_PANEL::valueChanged(), and PCB_PROPERTIES_PANEL::valueChanged().
|
inlineinherited |
Definition at line 160 of file view_item.h.
Referenced by EDA_ITEM::EDA_ITEM(), SYMBOL_DIFF_WIDGET::onSlider(), FOOTPRINT_DIFF_WIDGET::onSlider(), and EDA_ITEM::operator=().
|
inlineinherited |
Definition at line 79 of file selection.h.
References SELECTION::m_isHover.
Referenced by SELECTION_TOOL::AddItemsToSel(), SELECTION_TOOL::AddItemToSel(), PL_SELECTION_TOOL::ClearSelection(), PCB_TEST_SELECTION_TOOL::ClearSelection(), EE_SELECTION_TOOL::ClearSelection(), PCB_SELECTION_TOOL::ClearSelection(), EE_SELECTION_TOOL::Main(), GERBVIEW_SELECTION_TOOL::Main(), PL_SELECTION_TOOL::Main(), PCB_SELECTION_TOOL::Main(), SELECTION_TOOL::RemoveItemFromSel(), SELECTION_TOOL::RemoveItemsFromSel(), PL_SELECTION_TOOL::RequestSelection(), PCB_SELECTION_TOOL::RequestSelection(), EE_SELECTION_TOOL::RequestSelection(), SELECTION_TOOL::ReselectItem(), EE_SELECTION_TOOL::selectMultiple(), PCB_SELECTION_TOOL::selectMultiple(), PCB_SELECTION_TOOL::selectTableCells(), and EE_SELECTION_TOOL::selectTableCells().
|
inlinevirtualinherited |
Set layer used to draw the group.
Definition at line 94 of file view_group.h.
Referenced by SELECTION_TOOL::doSelectionMenu(), PNS_PCBNEW_DEBUG_DECORATOR::SetView(), and PNS_KICAD_IFACE::SetView().
|
inherited |
Definition at line 178 of file selection.cpp.
References SELECTION::m_referencePoint.
Referenced by EDIT_TOOL::doMoveSelection(), SCH_MOVE_TOOL::doMoveSelection(), DRAWING_TOOL::DrawTable(), EDIT_TOOL::Flip(), EDIT_TOOL::GetAndPlace(), API_HANDLER_PCB::handleInteractiveMoveItems(), PL_EDIT_TOOL::Main(), SCH_EDITOR_CONTROL::Paste(), SYMBOL_EDITOR_EDIT_TOOL::Paste(), PL_EDIT_TOOL::Paste(), PCB_CONTROL::placeBoardItems(), BOARD_EDITOR_CONTROL::PlaceFootprint(), DRAWING_TOOL::PlaceText(), EDIT_TOOL::Rotate(), EDIT_TOOL::updateModificationPoint(), PL_EDIT_TOOL::updateModificationPoint(), and EE_SELECTION_TOOL::updateReferencePoint().
|
inline |
Definition at line 51 of file ee_selection.h.
References m_screen.
|
inlineinherited |
Returns the number of selected parts.
Definition at line 116 of file selection.h.
References SELECTION::m_items.
Referenced by ROUTER_TOOL::CanInlineDrag(), PAD_TOOL::copyPadSettings(), SELECTION_CONDITIONS::countFunc(), BOARD_INSPECTION_TOOL::DiffFootprint(), ALIGN_DISTRIBUTE_TOOL::DistributeItems(), PL_EDIT_TOOL::DoDelete(), PCB_SELECTION_TOOL::doSyncSelection(), EDIT_TOOL::DragArcTrack(), SCH_DRAWING_TOOLS::DrawSheet(), EDIT_TOOL::Duplicate(), SCH_EDIT_TOOL::EditField(), PAD_TOOL::EditPad(), EDIT_TOOL::FilletTracks(), GERBVIEW_SELECTION::GetCenter(), DRAWING_TOOL::getSourceZoneForAction(), ROUTER_TOOL::InlineBreakTrack(), ROUTER_TOOL::InlineDrag(), BOARD_INSPECTION_TOOL::InspectClearance(), BOARD_INSPECTION_TOOL::InspectConstraints(), SELECTION_CONDITIONS::lessThanFunc(), EE_POINT_EDITOR::Main(), PL_EDIT_TOOL::Main(), PL_POINT_EDITOR::Main(), SELECTION_CONDITIONS::moreThanFunc(), EDIT_TOOL::MoveExact(), PCB_POINT_EDITOR::OnSelectionChange(), PCB_CONTROL::placeBoardItems(), SCH_DRAWING_TOOLS::PlaceNextSymbolUnit(), SCH_EDIT_TOOL::Properties(), SYMBOL_EDITOR_EDIT_TOOL::Properties(), EDIT_TOOL::Properties(), PAD_TOOL::pushPadSettings(), PROPERTIES_PANEL::rebuildProperties(), EDIT_TOOL::Rotate(), ROUTER_TOOL::RouteSelected(), CLIPBOARD_IO::SaveSelection(), SCH_EDIT_FRAME::SaveSelectionAsDesignBlock(), PCB_SELECTION_TOOL::selectAllConnectedTracks(), PCB_SELECTION_TOOL::selectNet(), PCB_SELECTION_TOOL::selectSameSheet(), PCB_SELECTION_TOOL::selectSheetContents(), PCB_EDIT_FRAME::ShowFindDialog(), SCH_EDIT_FRAME::ShowFindReplaceDialog(), BOARD_INSPECTION_TOOL::ShowFootprintLinks(), SCH_EDIT_TOOL::Swap(), SYMBOL_EDITOR_EDIT_TOOL::Swap(), EDIT_TOOL::Swap(), EE_SELECTION_TOOL::SyncSelection(), EDIT_TOOL::updateModificationPoint(), PL_EDIT_TOOL::updateModificationPoint(), EE_SELECTION_TOOL::updateReferencePoint(), GERBVIEW_SELECTION::ViewBBox(), BOARD_EDITOR_CONTROL::ZoneDuplicate(), and BOARD_EDITOR_CONTROL::ZoneMerge().
|
overridevirtual |
Reimplemented from SELECTION.
Definition at line 118 of file ee_selection.cpp.
References SELECTION::m_items.
|
inlineoverridevirtualinherited |
Return the bounding box for all stored items covering all its layers.
Reimplemented from KIGFX::VIEW_GROUP.
Reimplemented in GERBVIEW_SELECTION.
Definition at line 144 of file selection.h.
References BOX2< Vec >::SetMaximum().
|
overridevirtualinherited |
Draw all the stored items in the group on the given layer.
aLayer | is the layer which should be drawn. |
aView | is the VIEW that should be used for drawing. |
Reimplemented from KIGFX::VIEW_ITEM.
Definition at line 108 of file view_group.cpp.
References KIGFX::GAL::AdvanceDepth(), KIGFX::PAINTER::Draw(), KIGFX::VIEW::GetGAL(), KIGFX::VIEW::GetPainter(), IsClearanceLayer(), KIGFX::VIEW::IsHiddenOnOverlay(), KIGFX::VIEW::IsLayerVisible(), IsPadCopperLayer(), IsViaCopperLayer(), IsZoneFillLayer(), LAYER_CLEARANCE_START, KIGFX::GAL_SCOPED_ATTRS::LAYER_DEPTH, LAYER_ID_COUNT, LAYER_PAD_COPPER_START, LAYER_PAD_HOLEWALLS, LAYER_PAD_PLATEDHOLES, LAYER_SELECT_OVERLAY, LAYER_VIA_COPPER_START, LAYER_ZONE_START, KIGFX::VIEW_ITEM::LOD_HIDE, KIGFX::VIEW_GROUP::m_layer, KIGFX::VIEW::SortLayers(), and KIGFX::VIEW_GROUP::updateDrawList().
|
overridevirtualinherited |
Implements KIGFX::VIEW_ITEM.
Definition at line 204 of file view_group.cpp.
References KIGFX::VIEW_GROUP::m_layer.
|
inlinevirtualinherited |
Return the level of detail (LOD) of the item.
A level of detail is the minimal VIEW scale that is sufficient for an item to be shown on a given layer.
Use LOD_HIDE and LOD_SHOW constants to hide or show the item unconditionally.
Use lodScaleForThreshold() to calculate the LOD scale for when the item passes a certain threshold size on screen.
aLayer | is the current drawing layer. |
aView | is a pointer to the VIEW device we are drawing on. |
Reimplemented in SCH_LINE, GERBER_DRAW_ITEM, FOOTPRINT, PAD, PCB_FIELD, PCB_GROUP, PCB_REFERENCE_IMAGE, PCB_SHAPE, PCB_TEXT, PCB_TEXTBOX, PCB_TRACK, PCB_VIA, and ZONE.
Definition at line 149 of file view_item.h.
Referenced by PCB_GRID_HELPER::computeAnchors(), PNS_KICAD_IFACE::IsItemVisible(), KIGFX::VIEW::DRAW_ITEM_VISITOR::operator()(), EE_GRID_HELPER::queryVisible(), and PCB_GRID_HELPER::queryVisible().
|
inlineinherited |
Definition at line 155 of file view_item.h.
Referenced by KIGFX::VIEW::Add(), KIGFX::VIEW::draw(), KIGFX::VIEW::HasItem(), KIGFX::VIEW::Hide(), KIGFX::VIEW::invalidateItem(), KIGFX::VIEW::IsHiddenOnOverlay(), KIGFX::VIEW::IsVisible(), KIGFX::VIEW::UPDATE_COLOR_VISITOR::operator()(), KIGFX::VIEW::UPDATE_DEPTH_VISITOR::operator()(), KIGFX::VIEW::DRAW_ITEM_VISITOR::operator()(), KIGFX::VIEW::RECACHE_ITEM_VISITOR::operator()(), KIGFX::VIEW::CLEAR_LAYER_CACHE_VISITOR::operator()(), KIGFX::VIEW::SetVisible(), KIGFX::VIEW::Update(), KIGFX::VIEW::updateItemColor(), KIGFX::VIEW::updateItemGeometry(), and KIGFX::VIEW::updateLayers().
|
staticconstexprprotectedinherited |
Return this constant from ViewGetLOD() to hide the item unconditionally.
Definition at line 174 of file view_item.h.
Referenced by KIGFX::VIEW_GROUP::ViewDraw(), SCH_LINE::ViewGetLOD(), FOOTPRINT::ViewGetLOD(), PAD::ViewGetLOD(), PCB_FIELD::ViewGetLOD(), PCB_GROUP::ViewGetLOD(), PCB_REFERENCE_IMAGE::ViewGetLOD(), PCB_SHAPE::ViewGetLOD(), PCB_TEXT::ViewGetLOD(), PCB_TEXTBOX::ViewGetLOD(), PCB_TRACK::ViewGetLOD(), PCB_VIA::ViewGetLOD(), and ZONE::ViewGetLOD().
|
staticconstexprprotectedinherited |
Return this constant from ViewGetLOD() to show the item unconditionally.
Definition at line 179 of file view_item.h.
Referenced by SCH_LINE::ViewGetLOD(), GERBER_DRAW_ITEM::ViewGetLOD(), FOOTPRINT::ViewGetLOD(), PAD::ViewGetLOD(), PCB_FIELD::ViewGetLOD(), PCB_GROUP::ViewGetLOD(), PCB_REFERENCE_IMAGE::ViewGetLOD(), PCB_SHAPE::ViewGetLOD(), PCB_TEXT::ViewGetLOD(), PCB_TEXTBOX::ViewGetLOD(), PCB_TRACK::ViewGetLOD(), PCB_VIA::ViewGetLOD(), and ZONE::ViewGetLOD().
|
privateinherited |
Additional transparency for diff'ing items.
Definition at line 210 of file view_item.h.
Referenced by KIGFX::VIEW::DRAW_ITEM_VISITOR::operator()().
|
protectedinherited |
Definition at line 109 of file view_group.h.
Referenced by KIGFX::VIEW_GROUP::Add(), KIGFX::VIEW_GROUP::Clear(), KIGFX::VIEW_GROUP::GetItem(), KIGFX::VIEW_GROUP::GetSize(), KIGFX::VIEW_GROUP::Remove(), KIGFX::VIEW_GROUP::updateDrawList(), and KIGFX::VIEW_GROUP::ViewBBox().
|
privateinherited |
Definition at line 208 of file view_item.h.
|
protectedinherited |
Definition at line 239 of file selection.h.
Referenced by SELECTION::IsHover(), SELECTION::operator=(), SELECTION::operator==(), SELECTION::SELECTION(), and SELECTION::SetIsHover().
|
privateinherited |
Definition at line 207 of file view_item.h.
|
protectedinherited |
Definition at line 235 of file selection.h.
Referenced by SELECTION::Add(), SELECTION::AreAllItemsIdentical(), SELECTION::begin(), SELECTION::Clear(), SELECTION::Contains(), SELECTION::CountType(), SELECTION::Empty(), SELECTION::end(), SELECTION::FirstOfKind(), SELECTION::Front(), SELECTION::GetBoundingBox(), GetBoundingBox(), PCB_SELECTION::GetBoundingBox(), SELECTION::GetCenter(), GERBVIEW_SELECTION::GetCenter(), SELECTION::GetItem(), SELECTION::GetItems(), SELECTION::GetItemsSortedBySelectionOrder(), SELECTION::GetItemsSortedByTypeAndXY(), SELECTION::GetSize(), PCB_SELECTION::GetTopLeftItem(), GetTopLeftItem(), PL_SELECTION::GetTopLeftItem(), SELECTION::HasType(), SELECTION::Items(), SELECTION::OnlyContains(), SELECTION::operator=(), SELECTION::operator==(), SELECTION::operator[](), SELECTION::Remove(), SELECTION::SELECTION(), SELECTION::Size(), updateDrawList(), SELECTION::updateDrawList(), PCB_SELECTION::updateDrawList(), and GERBVIEW_SELECTION::ViewBBox().
|
protectedinherited |
Definition at line 236 of file selection.h.
Referenced by SELECTION::Add(), SELECTION::Clear(), SELECTION::GetItemsSortedBySelectionOrder(), SELECTION::operator=(), SELECTION::operator==(), SELECTION::Remove(), and SELECTION::SELECTION().
|
protectedinherited |
Definition at line 238 of file selection.h.
Referenced by SELECTION::Add(), SELECTION::GetLastAddedItem(), SELECTION::operator=(), SELECTION::operator==(), SELECTION::Remove(), and SELECTION::SELECTION().
|
protectedinherited |
Definition at line 108 of file view_group.h.
Referenced by KIGFX::VIEW_GROUP::ViewDraw(), and KIGFX::VIEW_GROUP::ViewGetLayers().
|
protectedinherited |
Definition at line 237 of file selection.h.
Referenced by SELECTION::Add(), SELECTION::Clear(), SELECTION::operator=(), SELECTION::operator==(), and SELECTION::SELECTION().
|
protectedinherited |
Definition at line 234 of file selection.h.
Referenced by SELECTION::ClearReferencePoint(), SELECTION::GetReferencePoint(), SELECTION::HasReferencePoint(), and SELECTION::SetReferencePoint().
|
private |
Screen of selected objects.
Used to fetch library symbols for copy.
Definition at line 42 of file ee_selection.h.
Referenced by EE_SELECTION(), GetScreen(), and SetScreen().
|
privateinherited |
Definition at line 209 of file view_item.h.
Referenced by KIGFX::VIEW::Add(), KIGFX::VIEW::OnDestroy(), KIGFX::VIEW::Remove(), KIGFX::VIEW::updateBbox(), KIGFX::VIEW::updateLayers(), and KIGFX::VIEW_ITEM::~VIEW_ITEM().