20#ifndef LIBREPCB_EDITOR_BGI_PLANE_H
21#define LIBREPCB_EDITOR_BGI_PLANE_H
26#include "../../../graphics/graphicslayer.h"
60 std::shared_ptr<
const QSet<const NetSignal*>>
61 highlightedNetSignals)
noexcept;
86 const QVariant& value)
noexcept override;
92 QPainterPath
shape() const noexcept override;
93 void paint(QPainter* painter, const QStyleOptionGraphicsItem* option,
94 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:54
BI_Plane & mPlane
Definition bgi_plane.h:110
void updateBoundingRectMargin() noexcept
Definition bgi_plane.cpp:298
std::shared_ptr< const QSet< const NetSignal * > > mHighlightedNetSignals
Definition bgi_plane.h:112
QRectF boundingRect() const noexcept override
Definition bgi_plane.h:87
int getLineIndexAtPosition(const Point &pos) const noexcept
Definition bgi_plane.cpp:76
qreal mBoundingRectMarginPx
Definition bgi_plane.h:117
QVariant itemChange(GraphicsItemChange change, const QVariant &value) noexcept override
Definition bgi_plane.cpp:119
QPainterPath mShape
Definition bgi_plane.h:118
std::shared_ptr< GraphicsLayer > mLayer
Definition bgi_plane.h:115
QPainterPath mOutline
Definition bgi_plane.h:119
void updateOutlineAndFragments() noexcept
Definition bgi_plane.cpp:239
qreal mVertexHandleRadiusPx
Definition bgi_plane.h:122
void planeEdited(const BI_Plane &obj, BI_Plane::Event event) noexcept
Definition bgi_plane.cpp:194
QPainterPath shape() const noexcept override
Definition bgi_plane.cpp:127
QVector< QPainterPath > mAreas
Definition bgi_plane.h:120
GraphicsLayer::OnEditedSlot mOnLayerEditedSlot
Definition bgi_plane.h:131
qreal mLineWidthPx
Definition bgi_plane.h:121
const IF_GraphicsLayerProvider & mLayerProvider
Definition bgi_plane.h:111
QRectF mBoundingRect
Definition bgi_plane.h:116
BGI_Plane(const BGI_Plane &other)=delete
QVector< VertexHandle > mVertexHandles
Definition bgi_plane.h:127
void layerEdited(const GraphicsLayer &layer, GraphicsLayer::Event event) noexcept
Definition bgi_plane.cpp:219
BI_Plane::OnEditedSlot mOnEditedSlot
Definition bgi_plane.h:130
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) noexcept override
Definition bgi_plane.cpp:142
QVector< int > getVertexIndicesAtPosition(const Point &pos) const noexcept
Definition bgi_plane.cpp:102
void updateVisibility() noexcept
Definition bgi_plane.cpp:293
void updateLayer() noexcept
Definition bgi_plane.cpp:275
virtual ~BGI_Plane() noexcept
Definition bgi_plane.cpp:69
BI_Plane & getPlane() noexcept
Definition bgi_plane.h:82
The GraphicsLayer class represents a graphical layer used in schematics and boards.
Definition graphicslayer.h:53
The IF_GraphicsLayerProvider class defines an interface for classes which provide layers.
Definition graphicslayer.h:111
Definition occmodel.cpp:76
Definition bgi_plane.h:123
qreal maxGlowRadiusPx
Definition bgi_plane.h:125
Point pos
Definition bgi_plane.h:124