22#ifndef __ROUTER_PREVIEW_ITEM_H 
   23#define __ROUTER_PREVIEW_ITEM_H 
   49#define PNS_HEAD_TRACE 1 
   50#define PNS_HOVER_ITEM 2 
   51#define PNS_SEMI_SOLID 4 
   52#define PNS_COLLISION  8 
   96    void Show( 
int aA, std::ostream& aB )
 const override {}
 
  104        return wxT( 
"ROUTER_PREVIEW_ITEM" );
 
 
 
EDA_ITEM(EDA_ITEM *parent, KICAD_T idType, bool isSCH_ITEM=false, bool isBOARD_ITEM=false)
 
A color representation with 4 components: red, green, blue, alpha.
 
Abstract interface for drawing on a 2D-surface.
 
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
 
Base class for PNS router board items.
 
ROUTER_PREVIEW_ITEM(const SHAPE &aShape, PNS::ROUTER_IFACE *aIface, KIGFX::VIEW *aView)
 
void SetWidth(int aWidth)
 
void SetClearance(int aClearance)
 
static constexpr double PathOverlayDepth
 
void SetColor(const KIGFX::COLOR4D &aColor)
 
virtual wxString GetClass() const override
Get class name.
 
static constexpr double LayerDepthFactor
We draw this item on a single layer, but we stack up all the layers from the various components that ...
 
void Update(const PNS::ITEM *aItem)
 
double GetOriginDepth() const
 
const KIGFX::COLOR4D getLayerColor(int aLayer) const
 
virtual void ViewDraw(int aLayer, KIGFX::VIEW *aView) const override
Draw the parts of the object belonging to layer aLayer.
 
virtual std::vector< int > ViewGetLayers() const override
Return the all the layers within the VIEW the object is painted on.
 
void drawLineChain(const SHAPE_LINE_CHAIN_BASE *aL, KIGFX::GAL *aGal) const
 
const BOX2I ViewBBox() const override
Return the bounding box of the item covering all its layers.
 
void SetDepth(double aDepth)
 
void drawShape(const SHAPE *aShape, KIGFX::GAL *aGal) const
 
void ShowClearance(bool aEnabled)
 
PNS::ROUTER_IFACE * m_iface
 
An abstract shape on 2D plane.
 
Push and Shove diff pair dimensions (gap) settings dialog.
 
VECTOR2< int32_t > VECTOR2I