20#ifndef LIBREPCB_EDITOR_BGI_PLANE_H
21#define LIBREPCB_EDITOR_BGI_PLANE_H
26#include "../../../graphics/graphicslayer.h"
47class GraphicsLayerList;
62 std::shared_ptr<
const QSet<const NetSignal*>>
63 highlightedNetSignals)
noexcept;
88 const QVariant& value)
noexcept override;
94 QPainterPath
shape() const noexcept override;
95 void paint(QPainter* painter, const QStyleOptionGraphicsItem* option,
96 QWidget* widget = 0) noexcept override;
The BI_Plane class.
Definition bi_plane.h:52
The NetSignal class.
Definition netsignal.h:50
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition point.h:78
The BGI_Plane class.
Definition bgi_plane.h:56
BI_Plane & mPlane
Definition bgi_plane.h:112
void updateBoundingRectMargin() noexcept
Definition bgi_plane.cpp:299
std::shared_ptr< const QSet< const NetSignal * > > mHighlightedNetSignals
Definition bgi_plane.h:114
QRectF boundingRect() const noexcept override
Definition bgi_plane.h:89
int getLineIndexAtPosition(const Point &pos) const noexcept
Definition bgi_plane.cpp:77
qreal mBoundingRectMarginPx
Definition bgi_plane.h:119
QVariant itemChange(GraphicsItemChange change, const QVariant &value) noexcept override
Definition bgi_plane.cpp:120
QPainterPath mShape
Definition bgi_plane.h:120
QPainterPath mOutline
Definition bgi_plane.h:121
void updateOutlineAndFragments() noexcept
Definition bgi_plane.cpp:240
qreal mVertexHandleRadiusPx
Definition bgi_plane.h:124
void planeEdited(const BI_Plane &obj, BI_Plane::Event event) noexcept
Definition bgi_plane.cpp:195
const GraphicsLayerList & mLayers
Definition bgi_plane.h:113
QPainterPath shape() const noexcept override
Definition bgi_plane.cpp:128
QVector< QPainterPath > mAreas
Definition bgi_plane.h:122
GraphicsLayer::OnEditedSlot mOnLayerEditedSlot
Definition bgi_plane.h:133
qreal mLineWidthPx
Definition bgi_plane.h:123
std::shared_ptr< const GraphicsLayer > mLayer
Definition bgi_plane.h:117
QRectF mBoundingRect
Definition bgi_plane.h:118
BGI_Plane(const BGI_Plane &other)=delete
QVector< VertexHandle > mVertexHandles
Definition bgi_plane.h:129
void layerEdited(const GraphicsLayer &layer, GraphicsLayer::Event event) noexcept
Definition bgi_plane.cpp:220
BI_Plane::OnEditedSlot mOnEditedSlot
Definition bgi_plane.h:132
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) noexcept override
Definition bgi_plane.cpp:143
QVector< int > getVertexIndicesAtPosition(const Point &pos) const noexcept
Definition bgi_plane.cpp:103
void updateVisibility() noexcept
Definition bgi_plane.cpp:294
void updateLayer() noexcept
Definition bgi_plane.cpp:276
virtual ~BGI_Plane() noexcept
Definition bgi_plane.cpp:70
BI_Plane & getPlane() noexcept
Definition bgi_plane.h:84
The GraphicsLayer class represents a graphical layer used in schematics and boards.
Definition graphicslayer.h:53
The GraphicsLayerList class.
Definition graphicslayerlist.h:48
Definition occmodel.cpp:77
Definition bgi_plane.h:125
qreal maxGlowRadiusPx
Definition bgi_plane.h:127
Point pos
Definition bgi_plane.h:126