![]() |
LibrePCB Developers Documentation
|
#include <bi_via.h>
Public Types | |
enum | Shape |
![]() | |
enum | Type_t |
Public Member Functions | |
BI_Via ()=delete | |
BI_Via (const BI_Via &other)=delete | |
BI_Via (BI_NetSegment &netsegment, const BI_Via &other) | |
BI_Via (BI_NetSegment &netsegment, const SExpression &node) | |
BI_Via (BI_NetSegment &netsegment, const Point &position, BI_Via::Shape shape, const PositiveLength &size, const PositiveLength &drillDiameter) | |
~BI_Via () noexcept | |
BI_NetSegment & | getNetSegment () const noexcept |
NetSignal & | getNetSignalOfNetSegment () const noexcept |
const Uuid & | getUuid () const noexcept |
Shape | getShape () const noexcept |
const PositiveLength & | getDrillDiameter () const noexcept |
const PositiveLength & | getSize () const noexcept |
bool | isUsed () const noexcept |
bool | isOnLayer (const QString &layerName) const noexcept |
bool | isSelectable () const noexceptoverride |
Path | getOutline (const Length &expansion=Length(0)) const noexcept |
Path | getSceneOutline (const Length &expansion=Length(0)) const noexcept |
QPainterPath | toQPainterPathPx (const Length &expansion=Length(0)) const noexcept |
void | setPosition (const Point &position) noexcept |
void | setShape (Shape shape) noexcept |
void | setSize (const PositiveLength &size) noexcept |
void | setDrillDiameter (const PositiveLength &diameter) noexcept |
void | addToBoard () override |
void | removeFromBoard () override |
void | serialize (SExpression &root) const override |
Serialize the object into an existing S-Expression node. More... | |
Type_t | getType () const noexceptoverride |
const Point & | getPosition () const noexceptoverride |
bool | getIsMirrored () const noexceptoverride |
QPainterPath | getGrabAreaScenePx () const noexceptoverride |
void | setSelected (bool selected) noexceptoverride |
void | registerNetLine (BI_NetLine &netline) override |
void | unregisterNetLine (BI_NetLine &netline) override |
const QSet< BI_NetLine * > & | getNetLines () const noexceptoverride |
BI_Via & | operator= (const BI_Via &rhs)=delete |
bool | operator== (const BI_Via &rhs) noexcept |
bool | operator!= (const BI_Via &rhs) noexcept |
![]() | |
BI_Base ()=delete | |
BI_Base (const BI_Base &other)=delete | |
BI_Base (Board &board) noexcept | |
virtual | ~BI_Base () noexcept |
Project & | getProject () const noexcept |
Circuit & | getCircuit () const noexcept |
Board & | getBoard () const noexcept |
virtual bool | isAddedToBoard () const noexcept |
virtual bool | isSelected () const noexcept |
BI_Base & | operator= (const BI_Base &rhs)=delete |
![]() | |
BI_NetLineAnchor () noexcept=default | |
virtual | ~BI_NetLineAnchor () noexcept=default |
std::vector< PositiveLength > | getLineWidths () const noexcept |
UnsignedLength | getMaxLineWidth () const noexcept |
UnsignedLength | getMedianLineWidth () const noexcept |
BI_NetSegment * | getNetSegmentOfLines () const noexcept |
![]() | |
SerializableObject () noexcept | |
virtual | ~SerializableObject () noexcept |
SExpression | serializeToDomElement (const QString &name) const |
Serialize the object to a new S-Expression node. More... | |
Private Member Functions | |
void | init () |
void | boardAttributesChanged () |
Private Attributes | |
BI_NetSegment & | mNetSegment |
QScopedPointer< BGI_Via > | mGraphicsItem |
QMetaObject::Connection | mHighlightChangedConnection |
Uuid | mUuid |
Point | mPosition |
Shape | mShape |
PositiveLength | mSize |
PositiveLength | mDrillDiameter |
QSet< BI_NetLine * > | mRegisteredNetLines |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static void | serializeObjectContainer (SExpression &root, const T &container, const QString &itemName) |
template<typename T > | |
static void | serializePointerContainer (SExpression &root, const T &container, const QString &itemName) |
template<typename T > | |
static void | serializePointerContainerUuidSorted (SExpression &root, const T &container, const QString &itemName) |
![]() | |
void | addToBoard (QGraphicsItem *item) noexcept |
void | removeFromBoard (QGraphicsItem *item) noexcept |
![]() | |
Board & | mBoard |
The BI_Via class.
|
strong |
|
delete |
BI_Via | ( | BI_NetSegment & | netsegment, |
const BI_Via & | other | ||
) |
BI_Via | ( | BI_NetSegment & | netsegment, |
const SExpression & | node | ||
) |
BI_Via | ( | BI_NetSegment & | netsegment, |
const Point & | position, | ||
BI_Via::Shape | shape, | ||
const PositiveLength & | size, | ||
const PositiveLength & | drillDiameter | ||
) |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
overridevirtualnoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
overridevirtual |
Implements BI_Base.
|
overridevirtual |
Implements BI_Base.
|
overridevirtual |
Serialize the object into an existing S-Expression node.
This method inserts/appends all attributes and childs of the object to an existing S-Expression node. The content which already exists in the given S-Expression node will not be removed.
root | The target DOM root node |
Exception | This method throws an exception if an error occurs. |
Implements SerializableObject.
|
inlineoverridevirtualnoexcept |
|
inlineoverridevirtualnoexcept |
Implements BI_Base.
|
overridevirtualnoexcept |
Implements BI_Base.
|
overridevirtualnoexcept |
Reimplemented from BI_Base.
|
overridevirtual |
|
overridevirtual |
|
inlineoverridevirtualnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |