KiCad PCB EDA Suite
Loading...
Searching...
No Matches
BOARD_ADAPTER Class Reference

Helper class to handle information needed to display 3D board. More...

#include <board_adapter.h>

Public Member Functions

 BOARD_ADAPTER ()
 
 ~BOARD_ADAPTER ()
 
void Set3dCacheManager (S3D_CACHE *aCacheMgr) noexcept
 Update the cache manager pointer.
 
S3D_CACHE * Get3dCacheManager () const noexcept
 
bool Is3dLayerEnabled (PCB_LAYER_ID aLayer, const std::bitset< LAYER_3D_END > &aVisibilityFlags) const
 Check if a layer is enabled.
 
bool IsFootprintShown (const FOOTPRINT *aFootprint) const
 Test if footprint should be displayed in relation to attributes and the flags.
 
void SetBoard (BOARD *aBoard) noexcept
 Set current board to be rendered.
 
const BOARD * GetBoard () const noexcept
 
void ReloadColorSettings () noexcept
 
std::map< int, COLOR4D > GetLayerColors () const
 Build a color list which is used to store colors layers.
 
std::map< int, COLOR4D > GetDefaultColors () const
 
void SetLayerColors (const std::map< int, COLOR4D > &aColors)
 
std::bitset< LAYER_3D_END > GetVisibleLayers () const
 
std::bitset< LAYER_3D_END > GetDefaultVisibleLayers () const
 
void SetVisibleLayers (const std::bitset< LAYER_3D_END > &aLayers)
 
void SetVisibilityOverride (const std::optional< std::bitset< LAYER_3D_END > > &aLayers)
 Temporarily override preview visibility without changing the saved render settings.
 
bool GetUseBoardEditorCopperLayerColors () const
 
void InitSettings (std::shared_ptr< REPORTER > aStatusReporter, std::shared_ptr< REPORTER > aWarningReporter)
 Function to be called by the render when it need to reload the settings for the board.
 
void CreateLayers (std::shared_ptr< REPORTER > aStatusReporter, std::stop_token aStop=std::stop_token())
 Creates the layers for the board, should be called after InitSettings.
 
double BiuTo3dUnits () const noexcept
 Board integer units To 3D units.
 
const BBOX_3D & GetBBox () const noexcept
 Get the board outline bounding box.
 
float GetBoardBodyThickness () const noexcept
 Get the board body thickness, including internal copper layers (in 3D units).
 
float GetNonCopperLayerThickness () const noexcept
 Get the non copper layers thickness (in 3D units).
 
float GetFrontCopperThickness () const noexcept
 Get the copper layer thicknesses (in 3D units).
 
float GetBackCopperThickness () const noexcept
 
int GetHolePlatingThickness () const noexcept
 Get the hole plating thickness (NB: in BOARD UNITS!).
 
VECTOR2I GetBoardSize () const noexcept
 Get the board size.
 
VECTOR2I GetBoardPos () const noexcept
 Get the board center.
 
const SFVEC3F & GetBoardCenter () const noexcept
 The board center position in 3D units.
 
float GetFootprintZPos (bool aIsFlipped) const
 Get the position of the footprint in 3d integer units considering if it is flipped or not.
 
glm::mat4 GetFootprintMatrix (const FOOTPRINT &aFootprint) const
 Build the transform from footprint-local model units to 3D world units.
 
const SHAPE_POLY_SET & GetBoardPoly () const noexcept
 Get the current polygon of the epoxy board.
 
SFVEC4F GetLayerColor (int aLayerId) const
 Get the technical color of a layer.
 
SFVEC4F GetColor (const COLOR4D &aColor) const
 
SFVEC2F GetSphericalCoord (int i) const
 
float GetLayerTopZPos (PCB_LAYER_ID aLayerId) const noexcept
 Get the top z position.
 
float GetLayerBottomZPos (PCB_LAYER_ID aLayerId) const noexcept
 Get the bottom z position.
 
const MAP_CONTAINER_2D_BASE & GetLayerMap () const noexcept
 Get the map of containers that have the objects per layer.
 
const BVH_CONTAINER_2D * GetPlatedPadsFront () const noexcept
 
const BVH_CONTAINER_2D * GetPlatedPadsBack () const noexcept
 
const BVH_CONTAINER_2D * GetOffboardPadsFront () const noexcept
 
const BVH_CONTAINER_2D * GetOffboardPadsBack () const noexcept
 
const MAP_CONTAINER_2D_BASE & GetLayerHoleMap () const noexcept
 
const BVH_CONTAINER_2D & GetTH_IDs () const noexcept
 
const BVH_CONTAINER_2D & GetTH_ODs () const noexcept
 
const SHAPE_POLY_SET & GetTH_ODPolys () const noexcept
 Get through hole outside diameter 2D polygons.
 
const BVH_CONTAINER_2D & GetViaAnnuli () const noexcept
 
const SHAPE_POLY_SET & GetViaAnnuliPolys () const noexcept
 
const SHAPE_POLY_SET & GetNPTH_ODPolys () const noexcept
 
const BVH_CONTAINER_2D & GetViaTH_ODs () const noexcept
 
const SHAPE_POLY_SET & GetViaTH_ODPolys () const noexcept
 
const SHAPE_POLY_SET & GetBackdrillPolys () const noexcept
 Get the backdrill and tertiary drill polygons.
 
const SHAPE_POLY_SET & GetTertiarydrillPolys () const noexcept
 
const BVH_CONTAINER_2D & GetBackdrillCutouts () const noexcept
 
const BVH_CONTAINER_2D & GetTertiarydrillCutouts () const noexcept
 
const BVH_CONTAINER_2D & GetFrontCounterboreCutouts () const noexcept
 Get the container of counterbore cutout geometry for the front (top) side.
 
const BVH_CONTAINER_2D & GetBackCounterboreCutouts () const noexcept
 Get the container of counterbore cutout geometry for the back (bottom) side.
 
const BVH_CONTAINER_2D & GetFrontCountersinkCutouts () const noexcept
 Get the container of countersink cutout geometry for the front (top) side.
 
const BVH_CONTAINER_2D & GetBackCountersinkCutouts () const noexcept
 Get the container of countersink cutout geometry for the back (bottom) side.
 
const SHAPE_POLY_SET & GetFrontCounterborePolys () const noexcept
 Get the polygon set of counterbore outer diameters for the front (top) side.
 
const SHAPE_POLY_SET & GetBackCounterborePolys () const noexcept
 Get the polygon set of counterbore outer diameters for the back (bottom) side.
 
const SHAPE_POLY_SET & GetFrontCountersinkPolys () const noexcept
 Get the polygon set of countersink outer diameters for the front (top) side.
 
const SHAPE_POLY_SET & GetBackCountersinkPolys () const noexcept
 Get the polygon set of countersink outer diameters for the back (bottom) side.
 
unsigned int GetViaCount () const noexcept
 
unsigned int GetHoleCount () const noexcept
 
float GetAverageViaHoleDiameter () const noexcept
 
float GetAverageHoleDiameter () const noexcept
 
float GetAverageTrackWidth () const noexcept
 
unsigned int GetCircleSegmentCount (float aDiameter3DU) const
 
unsigned int GetCircleSegmentCount (int aDiameterBIU) const
 
const MAP_POLY & GetPolyMap () const noexcept
 Get map of polygon's layers.
 
const SHAPE_POLY_SET * GetFrontPlatedCopperPolys ()
 
const SHAPE_POLY_SET * GetBackPlatedCopperPolys ()
 
const MAP_POLY & GetHoleIdPolysMap () const noexcept
 
const MAP_POLY & GetHoleOdPolysMap () const noexcept
 

Public Attributes

EDA_3D_VIEWER_SETTINGS * m_Cfg
 
bool m_IsBoardView
 
bool m_MousewheelPanning
 
bool m_IsPreviewer
 true if we're in a 3D preview panel, false for the standard 3D viewer
 
SFVEC4F m_BgColorBot
 background bottom color
 
SFVEC4F m_BgColorTop
 background top color
 
SFVEC4F m_BoardBodyColor
 
SFVEC4F m_SolderMaskColorBot
 
SFVEC4F m_SolderMaskColorTop
 
SFVEC4F m_SolderPasteColor
 
SFVEC4F m_AdhesiveColor
 
SFVEC4F m_SilkScreenColorBot
 
SFVEC4F m_SilkScreenColorTop
 
SFVEC4F m_CopperColor
 
SFVEC4F m_UserDrawingsColor
 
SFVEC4F m_UserCommentsColor
 
SFVEC4F m_ECO1Color
 
SFVEC4F m_ECO2Color
 
SFVEC4F m_FFabColor
 
SFVEC4F m_BFabColor
 
SFVEC4F m_FCourtyardColor
 
SFVEC4F m_BCourtyardColor
 
SFVEC4F m_UserDefinedLayerColor [45]
 
std::map< int, COLOR4D > m_ColorOverrides
 allows to override color scheme colors
 
std::map< int, COLOR4D > m_BoardEditorColors
 list of colors used by the board editor
 

Static Public Attributes

static std::vector< CUSTOM_COLOR_ITEM > g_SilkColors
 
static std::vector< CUSTOM_COLOR_ITEM > g_MaskColors
 
static std::vector< CUSTOM_COLOR_ITEM > g_PasteColors
 
static std::vector< CUSTOM_COLOR_ITEM > g_FinishColors
 
static std::vector< CUSTOM_COLOR_ITEM > g_BoardColors
 
static KIGFX::COLOR4D g_DefaultBackgroundTop
 
static KIGFX::COLOR4D g_DefaultBackgroundBot
 
static KIGFX::COLOR4D g_DefaultSilkscreen
 
static KIGFX::COLOR4D g_DefaultSolderMask
 
static KIGFX::COLOR4D g_DefaultSolderPaste
 
static KIGFX::COLOR4D g_DefaultAdhesive
 
static KIGFX::COLOR4D g_DefaultSurfaceFinish
 
static KIGFX::COLOR4D g_DefaultBoardBody
 
static KIGFX::COLOR4D g_DefaultComments
 
static KIGFX::COLOR4D g_DefaultECOs
 
static KIGFX::COLOR4D g_DefaultFabColor
 
static KIGFX::COLOR4D g_DefaultCourtyardColor
 

Private Member Functions

bool createBoardPolygon (wxString *aErrorMsg)
 Create the board outline polygon.
 
void createLayers (std::shared_ptr< REPORTER > aStatusReporter, std::stop_token aStop)
 
void destroyLayers ()
 
void createTrackWithMargin (const PCB_TRACK *aTrack, CONTAINER_2D_BASE *aDstContainer, PCB_LAYER_ID aLayer, int aMargin=0)
 
void createPadWithMargin (const PAD *aPad, CONTAINER_2D_BASE *aDstContainer, PCB_LAYER_ID aLayer, const VECTOR2I &aMargin) const
 
void createPadHoleShape (const PAD *aPad, CONTAINER_2D_BASE *aDstContainer, int aInflateValue)
 
void addPads (const FOOTPRINT *aFootprint, CONTAINER_2D_BASE *aDstContainer, PCB_LAYER_ID aLayerId)
 
void addFootprintShapes (const FOOTPRINT *aFootprint, CONTAINER_2D_BASE *aDstContainer, PCB_LAYER_ID aLayerId, const std::bitset< LAYER_3D_END > &aVisibilityFlags)
 
void addText (const EDA_TEXT *aText, CONTAINER_2D_BASE *aDstContainer, const BOARD_ITEM *aOwner)
 
void addBarCode (const PCB_BARCODE *aBarCode, CONTAINER_2D_BASE *aDstContainer, const BOARD_ITEM *aOwner)
 
void addShape (const PCB_SHAPE *aShape, CONTAINER_2D_BASE *aContainer, const BOARD_ITEM *aOwner, PCB_LAYER_ID aLayer)
 
void addShape (const PCB_DIMENSION_BASE *aDimension, CONTAINER_2D_BASE *aDstContainer, const BOARD_ITEM *aOwner)
 
void addShape (const PCB_TEXTBOX *aTextBox, CONTAINER_2D_BASE *aContainer, const BOARD_ITEM *aOwner)
 
void addTable (const PCB_TABLE *aTable, CONTAINER_2D_BASE *aContainer, const BOARD_ITEM *aOwner)
 
void addSolidAreasShapes (const ZONE *aZone, CONTAINER_2D_BASE *aDstContainer, PCB_LAYER_ID aLayerId)
 
void createArcSegments (const VECTOR2I &aCentre, const VECTOR2I &aStart, const EDA_ANGLE &aArcAngle, int aCircleToSegmentsCount, int aWidth, CONTAINER_2D_BASE *aContainer, const BOARD_ITEM &aOwner)
 
void buildPadOutlineAsSegments (const PAD *aPad, PCB_LAYER_ID aLayer, CONTAINER_2D_BASE *aDstContainer, int aWidth)
 

Private Attributes

BOARD * m_board
 
S3D_CACHE * m_3dModelManager
 
std::optional< std::bitset< LAYER_3D_END > > m_visibilityOverride
 
VECTOR2I m_boardPos
 Board center position in board internal units.
 
VECTOR2I m_boardSize
 Board size in board internal units.
 
SFVEC3F m_boardCenter
 3D center position of the board in 3D units.
 
BBOX_3D m_boardBoundingBox
 3D bounding box of the board in 3D units.
 
MAP_POLY m_layers_poly
 Amalgamated polygon contours for various types of items.
 
SHAPE_POLY_SET * m_frontPlatedCopperPolys
 
SHAPE_POLY_SET * m_backPlatedCopperPolys
 
MAP_POLY m_layerHoleOdPolys
 Hole outer diameters (per layer)
 
MAP_POLY m_layerHoleIdPolys
 Hole inner diameters (per layer)
 
SHAPE_POLY_SET m_BackdrillPolys
 Board backdrill polygons B.Cu->in.
 
SHAPE_POLY_SET m_TertiarydrillPolys
 Board tertiary drill polygons F.Cu->in.
 
SHAPE_POLY_SET m_NPTH_ODPolys
 NPTH outer diameters.
 
SHAPE_POLY_SET m_TH_ODPolys
 PTH outer diameters.
 
SHAPE_POLY_SET m_viaTH_ODPolys
 Via hole outer diameters.
 
SHAPE_POLY_SET m_viaAnnuliPolys
 Via annular ring outer diameters.
 
SHAPE_POLY_SET m_frontCounterborePolys
 Counterbore outer diameters on front.
 
SHAPE_POLY_SET m_backCounterborePolys
 Counterbore outer diameters on back.
 
SHAPE_POLY_SET m_frontCountersinkPolys
 Countersink outer diameters on front.
 
SHAPE_POLY_SET m_backCountersinkPolys
 Countersink outer diameters on back.
 
SHAPE_POLY_SET m_board_poly
 Board outline polygon.
 
MAP_CONTAINER_2D_BASE m_layerMap
 2D elements for each layer.
 
MAP_CONTAINER_2D_BASE m_layerHoleMap
 Holes for each layer.
 
BVH_CONTAINER_2D * m_platedPadsFront
 
BVH_CONTAINER_2D * m_platedPadsBack
 
BVH_CONTAINER_2D * m_offboardPadsFront
 
BVH_CONTAINER_2D * m_offboardPadsBack
 
BVH_CONTAINER_2D m_TH_ODs
 List of PTH outer diameters.
 
BVH_CONTAINER_2D m_TH_IDs
 List of PTH inner diameters.
 
BVH_CONTAINER_2D m_viaAnnuli
 List of via annular rings.
 
BVH_CONTAINER_2D m_viaTH_ODs
 List of via hole outer diameters.
 
BVH_CONTAINER_2D m_backdrillCutouts
 Backdrill cutouts.
 
BVH_CONTAINER_2D m_tertiarydrillCutouts
 Tertiary drill cutouts.
 
BVH_CONTAINER_2D m_frontCounterboreCutouts
 Counterbore cutouts on front (top)
 
BVH_CONTAINER_2D m_backCounterboreCutouts
 Counterbore cutouts on back (bottom)
 
BVH_CONTAINER_2D m_frontCountersinkCutouts
 Countersink cutouts on front (top)
 
BVH_CONTAINER_2D m_backCountersinkCutouts
 Countersink cutouts on back (bottom)
 
unsigned int m_copperLayersCount
 
double m_biuTo3Dunits
 Scale factor to convert board internal units.
 
std::map< PCB_LAYER_ID, float > m_layerZcoordTop
 Top (End) Z pos of each layer in 3D units.
 
std::map< PCB_LAYER_ID, float > m_layerZcoordBottom
 Bottom (Start) Z pos of each layer.
 
float m_frontCopperThickness3DU
 
float m_backCopperThickness3DU
 
float m_boardBodyThickness3DU
 
float m_nonCopperLayerThickness3DU
 
float m_frontMaskThickness3DU
 
float m_backMaskThickness3DU
 
float m_solderPasteLayerThickness3DU
 
unsigned int m_trackCount
 
float m_averageTrackWidth
 
unsigned int m_viaCount
 
float m_averageViaHoleDiameter
 
unsigned int m_holeCount
 
float m_averageHoleDiameter
 

Static Private Attributes

static const wxChar * m_logTrace = wxT( "KI_TRACE_EDA_CINFO3D_VISU" )
 Trace mask used to enable or disable debug output for this class.
 

Detailed Description

Helper class to handle information needed to display 3D board.

Definition at line 71 of file board_adapter.h.

Constructor & Destructor Documentation

◆ BOARD_ADAPTER()

BOARD_ADAPTER::BOARD_ADAPTER ( )

Definition at line 91 of file board_adapter.cpp.

References ADD_COLOR, DEFAULT_BOARD_THICKNESS, DEFAULT_COPPER_THICKNESS, DEFAULT_TECH_LAYER_THICKNESS, g_BoardColors, g_ColorsLoaded, g_DefaultAdhesive, g_DefaultBackgroundBot, g_DefaultBackgroundTop, g_DefaultBoardBody, g_DefaultComments, g_DefaultCourtyardColor, g_DefaultECOs, g_DefaultFabColor, g_DefaultSilkscreen, g_DefaultSolderMask, g_DefaultSolderPaste, g_DefaultSurfaceFinish, g_FinishColors, g_MaskColors, g_PasteColors, g_SilkColors, m_3dModelManager, m_averageHoleDiameter, m_averageTrackWidth, m_averageViaHoleDiameter, m_backCopperThickness3DU, m_backMaskThickness3DU, m_backPlatedCopperPolys, m_BCourtyardColor, m_BFabColor, m_BgColorBot, m_BgColorTop, m_biuTo3Dunits, m_board, m_BoardBodyColor, m_boardBodyThickness3DU, m_boardBoundingBox, m_boardCenter, m_boardPos, m_boardSize, m_Cfg, m_CopperColor, m_copperLayersCount, m_ECO1Color, m_ECO2Color, m_FCourtyardColor, m_FFabColor, m_frontCopperThickness3DU, m_frontMaskThickness3DU, m_frontPlatedCopperPolys, m_holeCount, m_IsBoardView, m_IsPreviewer, m_layerZcoordBottom, m_layerZcoordTop, m_logTrace, m_MousewheelPanning, m_nonCopperLayerThickness3DU, m_offboardPadsBack, m_offboardPadsFront, m_platedPadsBack, m_platedPadsFront, m_SilkScreenColorBot, m_SilkScreenColorTop, m_SolderMaskColorBot, m_SolderMaskColorTop, m_SolderPasteColor, m_solderPasteLayerThickness3DU, m_TH_IDs, m_TH_ODs, m_trackCount, m_UserCommentsColor, m_UserDefinedLayerColor, m_UserDrawingsColor, m_viaAnnuli, m_viaCount, NotSpecifiedPrm(), ReloadColorSettings(), and SOLDERPASTE_LAYER_THICKNESS.

◆ ~BOARD_ADAPTER()

BOARD_ADAPTER::~BOARD_ADAPTER ( )

Definition at line 235 of file board_adapter.cpp.

References destroyLayers().

Member Function Documentation

◆ addBarCode()

void BOARD_ADAPTER::addBarCode ( const PCB_BARCODE * aBarCode,
CONTAINER_2D_BASE * aDstContainer,
const BOARD_ITEM * aOwner )
private

◆ addFootprintShapes()

◆ addPads()

void BOARD_ADAPTER::addPads ( const FOOTPRINT * aFootprint,
CONTAINER_2D_BASE * aDstContainer,
PCB_LAYER_ID aLayerId )
private

◆ addShape() [1/3]

◆ addShape() [2/3]

void BOARD_ADAPTER::addShape ( const PCB_SHAPE * aShape,
CONTAINER_2D_BASE * aContainer,
const BOARD_ITEM * aOwner,
PCB_LAYER_ID aLayer )
private

Definition at line 630 of file create_3Dgraphic_brd_items.cpp.

References SEG::A, addFILLED_CIRCLE_2D(), addRING_2D(), addROUND_SEGMENT_2D(), ALLOW_ACUTE_CORNERS, SHAPE_POLY_SET::Append(), ARC, ARROW_OPEN, SEG::B, B_Cu, BEZIER, EDA_SHAPE::CalcArcAngles(), CIRCLE, SHAPE_LINE_CHAIN::CLastPoint(), ConvertPolygonToTriangles(), SHAPE_POLY_SET::COutline(), SHAPE_LINE_CHAIN::CPoint(), createArcSegments(), ELLIPSE, ELLIPSE_ARC, ERROR_INSIDE, F_Cu, FIRST_TYPE, BOARD_ITEM::GetBoard(), PCB_SHAPE::GetBoundingBox(), PCB_SHAPE::GetCenter(), GetCircleSegmentCount(), EDA_SHAPE::GetCornerRadius(), PCB_PLOT_PARAMS::GetDashedLineDashRatio(), PCB_PLOT_PARAMS::GetDashedLineGapRatio(), EDA_SHAPE::GetEnd(), EDA_SHAPE::GetEndEnding(), EDA_SHAPE::GetEndingTangents(), EDA_SHAPE::GetHatching(), EDA_SHAPE::GetLineEndingEndpoints(), STROKE_PARAMS::GetLineStyle(), BOARD_ITEM::GetMaxError(), BOARD::GetPlotOptions(), EDA_SHAPE::GetPolyShape(), PCB_SHAPE::GetPosition(), EDA_SHAPE::GetRadius(), EDA_SHAPE::GetRectangleHeight(), EDA_SHAPE::GetRectangleWidth(), EDA_SHAPE::GetRectCorners(), EDA_SHAPE::GetShape(), LINE_ENDING::GetShapes(), EDA_SHAPE::GetShortenedBodyPolyPoints(), BOX2< Vec >::GetSizeMax(), PCB_SHAPE::GetSolderMaskExpansion(), EDA_SHAPE::GetStart(), EDA_SHAPE::GetStartEnding(), PCB_SHAPE::GetStroke(), LINE_ENDING::GetStrokeWidth(), LINE_ENDING::GetStyle(), PCB_SHAPE::GetWidth(), PCB_SHAPE::HasSolderMask(), SHAPE_POLY_SET::Inflate(), SHAPE_LINE_CHAIN::IsClosed(), SHAPE_POLY_SET::IsEmpty(), EDA_SHAPE::IsHatchedFill(), PCB_SHAPE::IsOnLayer(), IsSolderMaskLayer(), EDA_SHAPE::IsSolidFill(), m_biuTo3Dunits, EDA_SHAPE::MakeEffectiveShapes(), EDA_SHAPE::MakeEffectiveShapesForStroking(), SHAPE_POLY_SET::NewOutline(), next(), NONE, SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), SHAPE_LINE_CHAIN::PointCount(), POLY, RECTANGLE, RotatePoint(), ROUND_ALL_CORNERS, SEGMENT, SHAPE_LINE_CHAIN::SetClosed(), KIGFX::RENDER_SETTINGS::SetDashLengthRatio(), KIGFX::RENDER_SETTINGS::SetGapLengthRatio(), SH_SEGMENT, EDA_SHAPE::SHAPE_T_asString(), EDA_SHAPE::ShortenArcForEndings(), EDA_SHAPE::ShortenedBezierPolyline(), EDA_SHAPE::ShortenSegmentForEndings(), SHAPE_POLY_SET::Simplify(), SOLID, STROKE_PARAMS::Stroke(), TO_3DU, TO_SFVEC2F, PCB_SHAPE::TransformShapeToPolygon(), ROUNDRECT::TransformToPolygon(), and UNDEFINED_LAYER.

Referenced by addFootprintShapes(), addShape(), and createLayers().

◆ addShape() [3/3]

void BOARD_ADAPTER::addShape ( const PCB_TEXTBOX * aTextBox,
CONTAINER_2D_BASE * aContainer,
const BOARD_ITEM * aOwner )
private

◆ addSolidAreasShapes()

void BOARD_ADAPTER::addSolidAreasShapes ( const ZONE * aZone,
CONTAINER_2D_BASE * aDstContainer,
PCB_LAYER_ID aLayerId )
private

◆ addTable()

void BOARD_ADAPTER::addTable ( const PCB_TABLE * aTable,
CONTAINER_2D_BASE * aContainer,
const BOARD_ITEM * aOwner )
private

◆ addText()

◆ BiuTo3dUnits()

double BOARD_ADAPTER::BiuTo3dUnits ( ) const
inlinenoexcept

Board integer units To 3D units.

Returns
the conversion factor to transform a position from the board to 3D units.

Definition at line 151 of file board_adapter.h.

References m_biuTo3Dunits.

Referenced by createLayers(), GetFootprintMatrix(), and PCBNEW_JOBS_HANDLER::JobExportRender().

◆ buildPadOutlineAsSegments()

void BOARD_ADAPTER::buildPadOutlineAsSegments ( const PAD * aPad,
PCB_LAYER_ID aLayer,
CONTAINER_2D_BASE * aDstContainer,
int aWidth )
private

◆ createArcSegments()

void BOARD_ADAPTER::createArcSegments ( const VECTOR2I & aCentre,
const VECTOR2I & aStart,
const EDA_ANGLE & aArcAngle,
int aCircleToSegmentsCount,
int aWidth,
CONTAINER_2D_BASE * aContainer,
const BOARD_ITEM & aOwner )
private

◆ createBoardPolygon()

bool BOARD_ADAPTER::createBoardPolygon ( wxString * aErrorMsg)
private

Create the board outline polygon.

Returns
false if the outline could not be created

Definition at line 1050 of file board_adapter.cpp.

References _, BuildFootprintPolygonOutlines(), m_board, and m_board_poly.

Referenced by InitSettings().

◆ CreateLayers()

◆ createLayers()

void BOARD_ADAPTER::createLayers ( std::shared_ptr< REPORTER > aStatusReporter,
std::stop_token aStop )
private

Definition at line 274 of file create_layer_items.cpp.

References _, CONTAINER_2D_BASE::Add(), addBarCode(), addFootprintShapes(), addPads(), addShape(), addSolidAreasShapes(), addTable(), addText(), LSET::AllNonCuMask(), B_Adhes, B_CrtYd, B_Cu, B_Fab, B_Mask, B_Paste, B_SilkS, BiuTo3dUnits(), buildPadOutlineAsPolygon(), buildPadOutlineAsSegments(), CAPPED, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::clip_silk_on_via_annuli, Cmts_User, ConvertPolygonToTriangles(), COUNTERBORE, COUNTERSINK, createPadHoleShape(), createTrackWithMargin(), destroyLayers(), EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::DifferentiatePlatedCopper(), drawPcbShapeWithStyle(), Dwgs_User, Eco1_User, Eco2_User, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::engine, ERROR_INSIDE, F_Adhes, F_CrtYd, F_Cu, F_Fab, F_Mask, F_Paste, F_SilkS, PCB_VIA::FlashLayer(), GetBoard(), BOARD::GetDesignSettings(), GetHolePlatingThickness(), DELETED_BOARD_ITEM::GetInstance(), BOARD_ITEM::GetMaxError(), PCB_TEXTBOX::GetPolygonalBoxShape(), GetRunningMicroSecs(), PCB_DIMENSION_BASE::GetShapes(), PCB_SHAPE::GetSolderMaskExpansion(), GetVisibleLayers(), STROKE_PARAMS::GetWidth(), PCB_SHAPE::HasSolderMask(), Is3dLayerEnabled(), IsBackLayer(), PCB_TEXTBOX::IsBorderEnabled(), IsExternalCopperLayer(), IsFrontLayer(), PCB_TRACK::IsOnLayer(), IsSolderMaskLayer(), KiROUND(), LAYER_3D_SOLDERMASK_BOTTOM, LAYER_3D_SOLDERMASK_TOP, LAYER_CLASS_SILK, m_averageHoleDiameter, m_averageTrackWidth, m_averageViaHoleDiameter, m_backCounterboreCutouts, m_backCounterborePolys, m_backCountersinkCutouts, m_backCountersinkPolys, m_backdrillCutouts, m_BackdrillPolys, m_backPlatedCopperPolys, m_biuTo3Dunits, m_board, m_board_poly, m_Cfg, m_copperLayersCount, m_frontCounterboreCutouts, m_frontCounterborePolys, m_frontCountersinkCutouts, m_frontCountersinkPolys, m_frontPlatedCopperPolys, m_holeCount, m_layerHoleIdPolys, m_layerHoleMap, m_layerHoleOdPolys, m_layerMap, m_layers_poly, m_logTrace, m_NPTH_ODPolys, m_offboardPadsBack, m_offboardPadsFront, m_platedPadsBack, m_platedPadsFront, BOARD_DESIGN_SETTINGS::m_SolderMaskExpansion, m_tertiarydrillCutouts, m_TertiarydrillPolys, m_TH_IDs, m_TH_ODPolys, m_TH_ODs, m_trackCount, m_viaAnnuli, m_viaAnnuliPolys, m_viaCount, m_viaTH_ODPolys, m_viaTH_ODs, NOT_POST_MACHINED, NPTH, OPENGL, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::opengl_copper_thickness, pad, PCB_BARCODE_T, PCB_DIM_ALIGNED_T, PCB_DIM_CENTER_T, PCB_DIM_LEADER_T, PCB_DIM_ORTHOGONAL_T, PCB_DIM_RADIAL_T, PCB_REFERENCE_IMAGE_T, PCB_SHAPE_T, PCB_TABLE_T, PCB_TEXT_T, PCB_TEXTBOX_T, PCB_VIA_T, LSET::Seq(), EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_off_board_silk, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_zones, SHAPE_POLY_SET::Simplify(), EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::subtract_mask_from_silk, table, text, THROUGH, TransformCircleToPolygon(), transformFPShapesToPolySet(), transformFPTextToPolySet(), PCB_TRACK::TransformShapeToPolygon(), BOARD_ITEM::TransformShapeToPolySet(), ZONE::TransformSolidAreasShapesToPolygon(), PCB_TEXT::TransformTextToPolySet(), PCB_TEXTBOX::TransformTextToPolySet(), SHAPE_SEGMENT::TransformToPolygon(), EDA_ITEM::Type(), UNKNOWN, User_1, User_10, User_11, User_12, User_13, User_14, User_15, User_16, User_17, User_18, User_19, User_2, User_20, User_21, User_22, User_23, User_24, User_25, User_26, User_27, User_28, User_29, User_3, User_30, User_31, User_32, User_33, User_34, User_35, User_36, User_37, User_38, User_39, User_4, User_40, User_41, User_42, User_43, User_44, User_45, User_5, User_6, User_7, User_8, User_9, via, VECTOR2< T >::x, and VECTOR2< T >::y.

Referenced by CreateLayers().

◆ createPadHoleShape()

void BOARD_ADAPTER::createPadHoleShape ( const PAD * aPad,
CONTAINER_2D_BASE * aDstContainer,
int aInflateValue )
private

◆ createPadWithMargin()

◆ createTrackWithMargin()

◆ destroyLayers()

◆ Get3dCacheManager()

S3D_CACHE * BOARD_ADAPTER::Get3dCacheManager ( ) const
inlinenoexcept

◆ GetAverageHoleDiameter()

float BOARD_ADAPTER::GetAverageHoleDiameter ( ) const
inlinenoexcept
Returns
the average diameter of through holes in 3D units.

Definition at line 429 of file board_adapter.h.

References m_averageHoleDiameter.

◆ GetAverageTrackWidth()

float BOARD_ADAPTER::GetAverageTrackWidth ( ) const
inlinenoexcept
Returns
average track width in 3D units.

Definition at line 434 of file board_adapter.h.

References m_averageTrackWidth.

◆ GetAverageViaHoleDiameter()

float BOARD_ADAPTER::GetAverageViaHoleDiameter ( ) const
inlinenoexcept
Returns
via hole average diameter dimension in 3D units.

Definition at line 424 of file board_adapter.h.

References m_averageViaHoleDiameter.

◆ GetBackCopperThickness()

float BOARD_ADAPTER::GetBackCopperThickness ( ) const
inlinenoexcept

Definition at line 174 of file board_adapter.h.

References m_backCopperThickness3DU.

◆ GetBackCounterboreCutouts()

const BVH_CONTAINER_2D & BOARD_ADAPTER::GetBackCounterboreCutouts ( ) const
inlinenoexcept

Get the container of counterbore cutout geometry for the back (bottom) side.

Definition at line 364 of file board_adapter.h.

References m_backCounterboreCutouts.

◆ GetBackCounterborePolys()

const SHAPE_POLY_SET & BOARD_ADAPTER::GetBackCounterborePolys ( ) const
inlinenoexcept

Get the polygon set of counterbore outer diameters for the back (bottom) side.

Definition at line 397 of file board_adapter.h.

References m_backCounterborePolys.

◆ GetBackCountersinkCutouts()

const BVH_CONTAINER_2D & BOARD_ADAPTER::GetBackCountersinkCutouts ( ) const
inlinenoexcept

Get the container of countersink cutout geometry for the back (bottom) side.

Definition at line 381 of file board_adapter.h.

References m_backCountersinkCutouts.

◆ GetBackCountersinkPolys()

const SHAPE_POLY_SET & BOARD_ADAPTER::GetBackCountersinkPolys ( ) const
inlinenoexcept

Get the polygon set of countersink outer diameters for the back (bottom) side.

Definition at line 413 of file board_adapter.h.

References m_backCountersinkPolys.

◆ GetBackdrillCutouts()

const BVH_CONTAINER_2D & BOARD_ADAPTER::GetBackdrillCutouts ( ) const
inlinenoexcept

Definition at line 342 of file board_adapter.h.

References m_backdrillCutouts.

◆ GetBackdrillPolys()

const SHAPE_POLY_SET & BOARD_ADAPTER::GetBackdrillPolys ( ) const
inlinenoexcept

Get the backdrill and tertiary drill polygons.

Definition at line 332 of file board_adapter.h.

References m_BackdrillPolys.

◆ GetBackPlatedCopperPolys()

const SHAPE_POLY_SET * BOARD_ADAPTER::GetBackPlatedCopperPolys ( )
inline

Definition at line 460 of file board_adapter.h.

References m_backPlatedCopperPolys.

◆ GetBBox()

const BBOX_3D & BOARD_ADAPTER::GetBBox ( ) const
inlinenoexcept

Get the board outline bounding box.

Returns
the board bounding box in 3D units.

Definition at line 158 of file board_adapter.h.

References m_boardBoundingBox.

Referenced by NL_FOOTPRINT_PROPERTIES_PLUGIN_IMPL::GetModelExtents().

◆ GetBoard()

const BOARD * BOARD_ADAPTER::GetBoard ( ) const
inlinenoexcept

Definition at line 106 of file board_adapter.h.

References m_board.

Referenced by createLayers().

◆ GetBoardBodyThickness()

float BOARD_ADAPTER::GetBoardBodyThickness ( ) const
inlinenoexcept

Get the board body thickness, including internal copper layers (in 3D units).

Definition at line 163 of file board_adapter.h.

References m_boardBodyThickness3DU.

◆ GetBoardCenter()

const SFVEC3F & BOARD_ADAPTER::GetBoardCenter ( ) const
inlinenoexcept

The board center position in 3D units.

Returns
board center vector position in 3D units.

Definition at line 200 of file board_adapter.h.

References m_boardCenter.

◆ GetBoardPoly()

const SHAPE_POLY_SET & BOARD_ADAPTER::GetBoardPoly ( ) const
inlinenoexcept

Get the current polygon of the epoxy board.

Returns
the shape polygon

Definition at line 223 of file board_adapter.h.

References m_board_poly.

◆ GetBoardPos()

VECTOR2I BOARD_ADAPTER::GetBoardPos ( ) const
inlinenoexcept

Get the board center.

Returns
position in BIU units.

Definition at line 193 of file board_adapter.h.

References m_boardPos.

◆ GetBoardSize()

VECTOR2I BOARD_ADAPTER::GetBoardSize ( ) const
inlinenoexcept

Get the board size.

Returns
size in BIU units.

Definition at line 186 of file board_adapter.h.

References GetBoardSize(), and m_boardSize.

Referenced by GetBoardSize().

◆ GetCircleSegmentCount() [1/2]

unsigned int BOARD_ADAPTER::GetCircleSegmentCount ( float aDiameter3DU) const
Parameters
aDiameter3DUdiameter in 3DU.
Returns
number of sides that should be used in a circle with aDiameter3DU.

Definition at line 334 of file board_adapter.cpp.

References GetCircleSegmentCount(), and m_biuTo3Dunits.

Referenced by addShape(), and GetCircleSegmentCount().

◆ GetCircleSegmentCount() [2/2]

unsigned int BOARD_ADAPTER::GetCircleSegmentCount ( int aDiameterBIU) const
Parameters
aDiameterBIUdiameter in board internal units.
Returns
number of sides that should be used in circle with aDiameterBIU.

Definition at line 342 of file board_adapter.cpp.

References FULL_CIRCLE, GetArcToSegmentCount(), and m_board.

◆ GetColor()

SFVEC4F BOARD_ADAPTER::GetColor ( const COLOR4D & aColor) const
Parameters
[in]aColoris the color mapped.
Returns
the color in SFVEC3F format

Definition at line 1147 of file board_adapter.cpp.

References KIGFX::COLOR4D::a, KIGFX::COLOR4D::b, KIGFX::COLOR4D::g, and KIGFX::COLOR4D::r.

Referenced by GetLayerColor(), and SetLayerColors().

◆ GetDefaultColors()

◆ GetDefaultVisibleLayers()

◆ GetFootprintMatrix()

glm::mat4 BOARD_ADAPTER::GetFootprintMatrix ( const FOOTPRINT & aFootprint) const

Build the transform from footprint-local model units to 3D world units.

Model matrices from CalcModelMatrix() are applied after this one.

Definition at line 1112 of file board_adapter.cpp.

References EDA_ANGLE::AsRadians(), BiuTo3dUnits(), GetFootprintZPos(), FOOTPRINT::GetOrientation(), FOOTPRINT::GetPosition(), FOOTPRINT::IsFlipped(), EDA_ANGLE::IsZero(), pcbIUScale, VECTOR2< T >::x, and VECTOR2< T >::y.

◆ GetFootprintZPos()

float BOARD_ADAPTER::GetFootprintZPos ( bool aIsFlipped) const

Get the position of the footprint in 3d integer units considering if it is flipped or not.

Parameters
aIsFlippedtrue for use in footprints on Front (top) layer, false if footprint is on back (bottom) layer.
Returns
the Z position of 3D shapes, in 3D integer units.

Definition at line 1095 of file board_adapter.cpp.

References B_Paste, F_Paste, m_layerZcoordBottom, and m_layerZcoordTop.

Referenced by GetFootprintMatrix().

◆ GetFrontCopperThickness()

float BOARD_ADAPTER::GetFrontCopperThickness ( ) const
inlinenoexcept

Get the copper layer thicknesses (in 3D units).

Definition at line 173 of file board_adapter.h.

References m_frontCopperThickness3DU.

◆ GetFrontCounterboreCutouts()

const BVH_CONTAINER_2D & BOARD_ADAPTER::GetFrontCounterboreCutouts ( ) const
inlinenoexcept

Get the container of counterbore cutout geometry for the front (top) side.

These are circles representing the counterbore diameter for cutting into the board.

Definition at line 356 of file board_adapter.h.

References m_frontCounterboreCutouts.

◆ GetFrontCounterborePolys()

const SHAPE_POLY_SET & BOARD_ADAPTER::GetFrontCounterborePolys ( ) const
inlinenoexcept

Get the polygon set of counterbore outer diameters for the front (top) side.

Definition at line 389 of file board_adapter.h.

References m_frontCounterborePolys.

◆ GetFrontCountersinkCutouts()

const BVH_CONTAINER_2D & BOARD_ADAPTER::GetFrontCountersinkCutouts ( ) const
inlinenoexcept

Get the container of countersink cutout geometry for the front (top) side.

These are circles representing the countersink outer diameter for cutting into the board.

Definition at line 373 of file board_adapter.h.

References m_frontCountersinkCutouts.

◆ GetFrontCountersinkPolys()

const SHAPE_POLY_SET & BOARD_ADAPTER::GetFrontCountersinkPolys ( ) const
inlinenoexcept

Get the polygon set of countersink outer diameters for the front (top) side.

Definition at line 405 of file board_adapter.h.

References m_frontCountersinkPolys.

◆ GetFrontPlatedCopperPolys()

const SHAPE_POLY_SET * BOARD_ADAPTER::GetFrontPlatedCopperPolys ( )
inline

Definition at line 455 of file board_adapter.h.

References m_frontPlatedCopperPolys.

◆ GetHoleCount()

unsigned int BOARD_ADAPTER::GetHoleCount ( ) const
inlinenoexcept

Definition at line 419 of file board_adapter.h.

References m_holeCount.

◆ GetHoleIdPolysMap()

const MAP_POLY & BOARD_ADAPTER::GetHoleIdPolysMap ( ) const
inlinenoexcept

Definition at line 465 of file board_adapter.h.

References m_layerHoleIdPolys.

◆ GetHoleOdPolysMap()

const MAP_POLY & BOARD_ADAPTER::GetHoleOdPolysMap ( ) const
inlinenoexcept

Definition at line 466 of file board_adapter.h.

References m_layerHoleOdPolys.

◆ GetHolePlatingThickness()

int BOARD_ADAPTER::GetHolePlatingThickness ( ) const
noexcept

Get the hole plating thickness (NB: in BOARD UNITS!).

Definition at line 327 of file board_adapter.cpp.

References DEFAULT_COPPER_THICKNESS, and m_board.

Referenced by createLayers().

◆ GetLayerBottomZPos()

float BOARD_ADAPTER::GetLayerBottomZPos ( PCB_LAYER_ID aLayerId) const
inlinenoexcept

Get the bottom z position.

Parameters
aLayerIdlayer id.
Returns
position in 3D units.

Definition at line 263 of file board_adapter.h.

References m_backCopperThickness3DU, m_boardBodyThickness3DU, and m_layerZcoordBottom.

◆ GetLayerColor()

SFVEC4F BOARD_ADAPTER::GetLayerColor ( int aLayerId) const

Get the technical color of a layer.

Parameters
aLayerIdthe layer to get the color information.
Returns
the color in SFVEC3F format.

Definition at line 1136 of file board_adapter.cpp.

References GetColor(), LAYER_3D_USER_1, LAYER_3D_USER_45, m_BoardEditorColors, Map3DLayerToPCBLayer(), and PCB_LAYER_ID_COUNT.

◆ GetLayerColors()

◆ GetLayerHoleMap()

const MAP_CONTAINER_2D_BASE & BOARD_ADAPTER::GetLayerHoleMap ( ) const
inlinenoexcept

Definition at line 284 of file board_adapter.h.

References m_layerHoleMap.

◆ GetLayerMap()

const MAP_CONTAINER_2D_BASE & BOARD_ADAPTER::GetLayerMap ( ) const
inlinenoexcept

Get the map of containers that have the objects per layer.

Returns
the map containers of this board.

Definition at line 278 of file board_adapter.h.

References m_layerMap.

◆ GetLayerTopZPos()

float BOARD_ADAPTER::GetLayerTopZPos ( PCB_LAYER_ID aLayerId) const
inlinenoexcept

Get the top z position.

Parameters
aLayerIdlayer id.
Returns
position in 3D units.

Definition at line 247 of file board_adapter.h.

References m_boardBodyThickness3DU, and m_layerZcoordTop.

◆ GetNonCopperLayerThickness()

float BOARD_ADAPTER::GetNonCopperLayerThickness ( ) const
inlinenoexcept

Get the non copper layers thickness (in 3D units).

Definition at line 168 of file board_adapter.h.

References m_nonCopperLayerThickness3DU.

◆ GetNPTH_ODPolys()

const SHAPE_POLY_SET & BOARD_ADAPTER::GetNPTH_ODPolys ( ) const
inlinenoexcept

Definition at line 310 of file board_adapter.h.

References m_NPTH_ODPolys.

◆ GetOffboardPadsBack()

const BVH_CONTAINER_2D * BOARD_ADAPTER::GetOffboardPadsBack ( ) const
inlinenoexcept

Definition at line 282 of file board_adapter.h.

References m_offboardPadsBack.

◆ GetOffboardPadsFront()

const BVH_CONTAINER_2D * BOARD_ADAPTER::GetOffboardPadsFront ( ) const
inlinenoexcept

Definition at line 281 of file board_adapter.h.

References m_offboardPadsFront.

◆ GetPlatedPadsBack()

const BVH_CONTAINER_2D * BOARD_ADAPTER::GetPlatedPadsBack ( ) const
inlinenoexcept

Definition at line 280 of file board_adapter.h.

References m_platedPadsBack.

◆ GetPlatedPadsFront()

const BVH_CONTAINER_2D * BOARD_ADAPTER::GetPlatedPadsFront ( ) const
inlinenoexcept

Definition at line 279 of file board_adapter.h.

References m_platedPadsFront.

◆ GetPolyMap()

const MAP_POLY & BOARD_ADAPTER::GetPolyMap ( ) const
inlinenoexcept

Get map of polygon's layers.

Returns
the map with polygon's layers.

Definition at line 453 of file board_adapter.h.

References m_layers_poly.

◆ GetSphericalCoord()

SFVEC2F BOARD_ADAPTER::GetSphericalCoord ( int i) const

Definition at line 1153 of file board_adapter.cpp.

References m_Cfg.

◆ GetTertiarydrillCutouts()

const BVH_CONTAINER_2D & BOARD_ADAPTER::GetTertiarydrillCutouts ( ) const
inlinenoexcept

Definition at line 347 of file board_adapter.h.

References m_tertiarydrillCutouts.

◆ GetTertiarydrillPolys()

const SHAPE_POLY_SET & BOARD_ADAPTER::GetTertiarydrillPolys ( ) const
inlinenoexcept

Definition at line 337 of file board_adapter.h.

References m_TertiarydrillPolys.

◆ GetTH_IDs()

const BVH_CONTAINER_2D & BOARD_ADAPTER::GetTH_IDs ( ) const
inlinenoexcept

Definition at line 285 of file board_adapter.h.

References m_TH_IDs.

◆ GetTH_ODPolys()

const SHAPE_POLY_SET & BOARD_ADAPTER::GetTH_ODPolys ( ) const
inlinenoexcept

Get through hole outside diameter 2D polygons.

The outside diameter 2D polygon is the hole diameter plus the plating thickness.

Returns
a container with through hold outside diameter 2D polygons.

Definition at line 295 of file board_adapter.h.

References m_TH_ODPolys.

◆ GetTH_ODs()

const BVH_CONTAINER_2D & BOARD_ADAPTER::GetTH_ODs ( ) const
inlinenoexcept

Definition at line 286 of file board_adapter.h.

References m_TH_ODs.

◆ GetUseBoardEditorCopperLayerColors()

bool BOARD_ADAPTER::GetUseBoardEditorCopperLayerColors ( ) const

Definition at line 1044 of file board_adapter.cpp.

References m_board, and m_Cfg.

◆ GetViaAnnuli()

const BVH_CONTAINER_2D & BOARD_ADAPTER::GetViaAnnuli ( ) const
inlinenoexcept

Definition at line 300 of file board_adapter.h.

References m_viaAnnuli.

◆ GetViaAnnuliPolys()

const SHAPE_POLY_SET & BOARD_ADAPTER::GetViaAnnuliPolys ( ) const
inlinenoexcept

Definition at line 305 of file board_adapter.h.

References m_viaAnnuliPolys.

◆ GetViaCount()

unsigned int BOARD_ADAPTER::GetViaCount ( ) const
inlinenoexcept

Definition at line 418 of file board_adapter.h.

References m_viaCount.

◆ GetViaTH_ODPolys()

const SHAPE_POLY_SET & BOARD_ADAPTER::GetViaTH_ODPolys ( ) const
inlinenoexcept

Definition at line 323 of file board_adapter.h.

References m_viaTH_ODPolys.

◆ GetViaTH_ODs()

const BVH_CONTAINER_2D & BOARD_ADAPTER::GetViaTH_ODs ( ) const
inlinenoexcept
Returns
a container with through hole via hole outside diameters.

Definition at line 318 of file board_adapter.h.

References m_viaTH_ODs.

◆ GetVisibleLayers()

◆ InitSettings()

void BOARD_ADAPTER::InitSettings ( std::shared_ptr< REPORTER > aStatusReporter,
std::shared_ptr< REPORTER > aWarningReporter )

◆ Is3dLayerEnabled()

bool BOARD_ADAPTER::Is3dLayerEnabled ( PCB_LAYER_ID aLayer,
const std::bitset< LAYER_3D_END > & aVisibilityFlags ) const

◆ IsFootprintShown()

bool BOARD_ADAPTER::IsFootprintShown ( const FOOTPRINT * aFootprint) const

Test if footprint should be displayed in relation to attributes and the flags.

Definition at line 292 of file board_adapter.cpp.

References FP_SMD, FP_THROUGH_HOLE, FOOTPRINT::GetAttributes(), FOOTPRINT::GetDNPForVariant(), FOOTPRINT::GetExcludedFromPosFilesForVariant(), m_board, m_Cfg, and m_IsPreviewer.

◆ ReloadColorSettings()

void BOARD_ADAPTER::ReloadColorSettings ( )
noexcept

◆ Set3dCacheManager()

void BOARD_ADAPTER::Set3dCacheManager ( S3D_CACHE * aCacheMgr)
inlinenoexcept

Update the cache manager pointer.

Parameters
aCacheMgris the pointer to the 3D cache manager.

Definition at line 83 of file board_adapter.h.

References m_3dModelManager.

Referenced by EDA_3D_VIEWER_FRAME::captureOpenGLScreenshot(), EDA_3D_VIEWER_FRAME::captureRaytracingScreenshot(), and PCBNEW_JOBS_HANDLER::JobExportRender().

◆ SetBoard()

void BOARD_ADAPTER::SetBoard ( BOARD * aBoard)
inlinenoexcept

Set current board to be rendered.

Parameters
aBoardboard to process.

Definition at line 105 of file board_adapter.h.

References m_board.

Referenced by EDA_3D_VIEWER_FRAME::captureOpenGLScreenshot(), EDA_3D_VIEWER_FRAME::captureRaytracingScreenshot(), and PCBNEW_JOBS_HANDLER::JobExportRender().

◆ SetLayerColors()

◆ SetVisibilityOverride()

void BOARD_ADAPTER::SetVisibilityOverride ( const std::optional< std::bitset< LAYER_3D_END > > & aLayers)
inline

Temporarily override preview visibility without changing the saved render settings.

Definition at line 123 of file board_adapter.h.

References LAYER_3D_END, m_visibilityOverride, and SetVisibilityOverride().

Referenced by SetVisibilityOverride().

◆ SetVisibleLayers()

Member Data Documentation

◆ g_BoardColors

std::vector< CUSTOM_COLOR_ITEM > BOARD_ADAPTER::g_BoardColors
static

Definition at line 521 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and GetLayerColors().

◆ g_DefaultAdhesive

KIGFX::COLOR4D BOARD_ADAPTER::g_DefaultAdhesive
static

◆ g_DefaultBackgroundBot

KIGFX::COLOR4D BOARD_ADAPTER::g_DefaultBackgroundBot
static

◆ g_DefaultBackgroundTop

KIGFX::COLOR4D BOARD_ADAPTER::g_DefaultBackgroundTop
static

◆ g_DefaultBoardBody

KIGFX::COLOR4D BOARD_ADAPTER::g_DefaultBoardBody
static

◆ g_DefaultComments

KIGFX::COLOR4D BOARD_ADAPTER::g_DefaultComments
static

◆ g_DefaultCourtyardColor

KIGFX::COLOR4D BOARD_ADAPTER::g_DefaultCourtyardColor
static

◆ g_DefaultECOs

KIGFX::COLOR4D BOARD_ADAPTER::g_DefaultECOs
static

◆ g_DefaultFabColor

KIGFX::COLOR4D BOARD_ADAPTER::g_DefaultFabColor
static

◆ g_DefaultSilkscreen

KIGFX::COLOR4D BOARD_ADAPTER::g_DefaultSilkscreen
static

◆ g_DefaultSolderMask

KIGFX::COLOR4D BOARD_ADAPTER::g_DefaultSolderMask
static

◆ g_DefaultSolderPaste

KIGFX::COLOR4D BOARD_ADAPTER::g_DefaultSolderPaste
static

◆ g_DefaultSurfaceFinish

KIGFX::COLOR4D BOARD_ADAPTER::g_DefaultSurfaceFinish
static

◆ g_FinishColors

std::vector< CUSTOM_COLOR_ITEM > BOARD_ADAPTER::g_FinishColors
static

Definition at line 520 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and GetLayerColors().

◆ g_MaskColors

std::vector< CUSTOM_COLOR_ITEM > BOARD_ADAPTER::g_MaskColors
static

Definition at line 518 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and GetLayerColors().

◆ g_PasteColors

std::vector< CUSTOM_COLOR_ITEM > BOARD_ADAPTER::g_PasteColors
static

Definition at line 519 of file board_adapter.h.

Referenced by BOARD_ADAPTER().

◆ g_SilkColors

std::vector< CUSTOM_COLOR_ITEM > BOARD_ADAPTER::g_SilkColors
static

Definition at line 517 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and GetLayerColors().

◆ m_3dModelManager

S3D_CACHE* BOARD_ADAPTER::m_3dModelManager
private

Definition at line 569 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), Get3dCacheManager(), and Set3dCacheManager().

◆ m_AdhesiveColor

SFVEC4F BOARD_ADAPTER::m_AdhesiveColor

Definition at line 550 of file board_adapter.h.

Referenced by CreateLayers().

◆ m_averageHoleDiameter

float BOARD_ADAPTER::m_averageHoleDiameter
private

Definition at line 644 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), createLayers(), and GetAverageHoleDiameter().

◆ m_averageTrackWidth

float BOARD_ADAPTER::m_averageTrackWidth
private

Definition at line 640 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), createLayers(), and GetAverageTrackWidth().

◆ m_averageViaHoleDiameter

float BOARD_ADAPTER::m_averageViaHoleDiameter
private

Definition at line 642 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), createLayers(), and GetAverageViaHoleDiameter().

◆ m_backCopperThickness3DU

float BOARD_ADAPTER::m_backCopperThickness3DU
private

◆ m_backCounterboreCutouts

BVH_CONTAINER_2D BOARD_ADAPTER::m_backCounterboreCutouts
private

Counterbore cutouts on back (bottom)

Definition at line 619 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetBackCounterboreCutouts().

◆ m_backCounterborePolys

SHAPE_POLY_SET BOARD_ADAPTER::m_backCounterborePolys
private

Counterbore outer diameters on back.

Definition at line 596 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetBackCounterborePolys().

◆ m_backCountersinkCutouts

BVH_CONTAINER_2D BOARD_ADAPTER::m_backCountersinkCutouts
private

Countersink cutouts on back (bottom)

Definition at line 621 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetBackCountersinkCutouts().

◆ m_backCountersinkPolys

SHAPE_POLY_SET BOARD_ADAPTER::m_backCountersinkPolys
private

Countersink outer diameters on back.

Definition at line 598 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetBackCountersinkPolys().

◆ m_backdrillCutouts

BVH_CONTAINER_2D BOARD_ADAPTER::m_backdrillCutouts
private

Backdrill cutouts.

Definition at line 615 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetBackdrillCutouts().

◆ m_BackdrillPolys

SHAPE_POLY_SET BOARD_ADAPTER::m_BackdrillPolys
private

Board backdrill polygons B.Cu->in.

Definition at line 587 of file board_adapter.h.

Referenced by createLayers(), and GetBackdrillPolys().

◆ m_backMaskThickness3DU

float BOARD_ADAPTER::m_backMaskThickness3DU
private

Definition at line 636 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and InitSettings().

◆ m_backPlatedCopperPolys

SHAPE_POLY_SET* BOARD_ADAPTER::m_backPlatedCopperPolys
private

◆ m_BCourtyardColor

SFVEC4F BOARD_ADAPTER::m_BCourtyardColor

Definition at line 561 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and CreateLayers().

◆ m_BFabColor

SFVEC4F BOARD_ADAPTER::m_BFabColor

Definition at line 559 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and CreateLayers().

◆ m_BgColorBot

SFVEC4F BOARD_ADAPTER::m_BgColorBot

background bottom color

Definition at line 544 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and CreateLayers().

◆ m_BgColorTop

SFVEC4F BOARD_ADAPTER::m_BgColorTop

background top color

Definition at line 545 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and CreateLayers().

◆ m_biuTo3Dunits

double BOARD_ADAPTER::m_biuTo3Dunits
private

Scale factor to convert board internal units.

to 3D units normalized between -1.0 and 1.0.

Definition at line 625 of file board_adapter.h.

Referenced by addBarCode(), addShape(), addSolidAreasShapes(), addText(), BiuTo3dUnits(), BOARD_ADAPTER(), createLayers(), createPadWithMargin(), GetCircleSegmentCount(), and InitSettings().

◆ m_board

◆ m_board_poly

SHAPE_POLY_SET BOARD_ADAPTER::m_board_poly
private

Board outline polygon.

Definition at line 600 of file board_adapter.h.

Referenced by createBoardPolygon(), createLayers(), and GetBoardPoly().

◆ m_BoardBodyColor

SFVEC4F BOARD_ADAPTER::m_BoardBodyColor

Definition at line 546 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and CreateLayers().

◆ m_boardBodyThickness3DU

float BOARD_ADAPTER::m_boardBodyThickness3DU
private

◆ m_boardBoundingBox

BBOX_3D BOARD_ADAPTER::m_boardBoundingBox
private

3D bounding box of the board in 3D units.

Definition at line 576 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), GetBBox(), and InitSettings().

◆ m_boardCenter

SFVEC3F BOARD_ADAPTER::m_boardCenter
private

3D center position of the board in 3D units.

Definition at line 575 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), GetBoardCenter(), and InitSettings().

◆ m_BoardEditorColors

std::map<int, COLOR4D> BOARD_ADAPTER::m_BoardEditorColors

list of colors used by the board editor

Definition at line 565 of file board_adapter.h.

Referenced by GetLayerColor(), and ReloadColorSettings().

◆ m_boardPos

VECTOR2I BOARD_ADAPTER::m_boardPos
private

Board center position in board internal units.

Definition at line 573 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), GetBoardPos(), and InitSettings().

◆ m_boardSize

VECTOR2I BOARD_ADAPTER::m_boardSize
private

Board size in board internal units.

Definition at line 574 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), GetBoardSize(), and InitSettings().

◆ m_Cfg

◆ m_ColorOverrides

std::map<int, COLOR4D> BOARD_ADAPTER::m_ColorOverrides

allows to override color scheme colors

Definition at line 564 of file board_adapter.h.

Referenced by GetLayerColors(), and PCBNEW_JOBS_HANDLER::JobExportRender().

◆ m_CopperColor

SFVEC4F BOARD_ADAPTER::m_CopperColor

Definition at line 553 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and CreateLayers().

◆ m_copperLayersCount

unsigned int BOARD_ADAPTER::m_copperLayersCount
private

Definition at line 623 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), createLayers(), and InitSettings().

◆ m_ECO1Color

SFVEC4F BOARD_ADAPTER::m_ECO1Color

Definition at line 556 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and CreateLayers().

◆ m_ECO2Color

SFVEC4F BOARD_ADAPTER::m_ECO2Color

Definition at line 557 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and CreateLayers().

◆ m_FCourtyardColor

SFVEC4F BOARD_ADAPTER::m_FCourtyardColor

Definition at line 560 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and CreateLayers().

◆ m_FFabColor

SFVEC4F BOARD_ADAPTER::m_FFabColor

Definition at line 558 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and CreateLayers().

◆ m_frontCopperThickness3DU

float BOARD_ADAPTER::m_frontCopperThickness3DU
private

Definition at line 631 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), GetFrontCopperThickness(), and InitSettings().

◆ m_frontCounterboreCutouts

BVH_CONTAINER_2D BOARD_ADAPTER::m_frontCounterboreCutouts
private

Counterbore cutouts on front (top)

Definition at line 618 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetFrontCounterboreCutouts().

◆ m_frontCounterborePolys

SHAPE_POLY_SET BOARD_ADAPTER::m_frontCounterborePolys
private

Counterbore outer diameters on front.

Definition at line 595 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetFrontCounterborePolys().

◆ m_frontCountersinkCutouts

BVH_CONTAINER_2D BOARD_ADAPTER::m_frontCountersinkCutouts
private

Countersink cutouts on front (top)

Definition at line 620 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetFrontCountersinkCutouts().

◆ m_frontCountersinkPolys

SHAPE_POLY_SET BOARD_ADAPTER::m_frontCountersinkPolys
private

Countersink outer diameters on front.

Definition at line 597 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetFrontCountersinkPolys().

◆ m_frontMaskThickness3DU

float BOARD_ADAPTER::m_frontMaskThickness3DU
private

Definition at line 635 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and InitSettings().

◆ m_frontPlatedCopperPolys

SHAPE_POLY_SET* BOARD_ADAPTER::m_frontPlatedCopperPolys
private

◆ m_holeCount

unsigned int BOARD_ADAPTER::m_holeCount
private

Definition at line 643 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), createLayers(), and GetHoleCount().

◆ m_IsBoardView

bool BOARD_ADAPTER::m_IsBoardView

Definition at line 539 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and PCBNEW_JOBS_HANDLER::JobExportRender().

◆ m_IsPreviewer

bool BOARD_ADAPTER::m_IsPreviewer

true if we're in a 3D preview panel, false for the standard 3D viewer

Definition at line 541 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), GetVisibleLayers(), and IsFootprintShown().

◆ m_layerHoleIdPolys

MAP_POLY BOARD_ADAPTER::m_layerHoleIdPolys
private

Hole inner diameters (per layer)

Definition at line 585 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetHoleIdPolysMap().

◆ m_layerHoleMap

MAP_CONTAINER_2D_BASE BOARD_ADAPTER::m_layerHoleMap
private

Holes for each layer.

Definition at line 603 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetLayerHoleMap().

◆ m_layerHoleOdPolys

MAP_POLY BOARD_ADAPTER::m_layerHoleOdPolys
private

Hole outer diameters (per layer)

Definition at line 584 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetHoleOdPolysMap().

◆ m_layerMap

MAP_CONTAINER_2D_BASE BOARD_ADAPTER::m_layerMap
private

2D elements for each layer.

Definition at line 602 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetLayerMap().

◆ m_layers_poly

MAP_POLY BOARD_ADAPTER::m_layers_poly
private

Amalgamated polygon contours for various types of items.

Definition at line 578 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetPolyMap().

◆ m_layerZcoordBottom

std::map<PCB_LAYER_ID, float> BOARD_ADAPTER::m_layerZcoordBottom
private

Bottom (Start) Z pos of each layer.

Definition at line 629 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), GetFootprintZPos(), GetLayerBottomZPos(), and InitSettings().

◆ m_layerZcoordTop

std::map<PCB_LAYER_ID, float> BOARD_ADAPTER::m_layerZcoordTop
private

Top (End) Z pos of each layer in 3D units.

Definition at line 628 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), GetFootprintZPos(), GetLayerTopZPos(), and InitSettings().

◆ m_MousewheelPanning

bool BOARD_ADAPTER::m_MousewheelPanning

Definition at line 540 of file board_adapter.h.

Referenced by BOARD_ADAPTER().

◆ m_nonCopperLayerThickness3DU

float BOARD_ADAPTER::m_nonCopperLayerThickness3DU
private

Definition at line 634 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), GetNonCopperLayerThickness(), and InitSettings().

◆ m_NPTH_ODPolys

SHAPE_POLY_SET BOARD_ADAPTER::m_NPTH_ODPolys
private

NPTH outer diameters.

Definition at line 590 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetNPTH_ODPolys().

◆ m_offboardPadsBack

BVH_CONTAINER_2D* BOARD_ADAPTER::m_offboardPadsBack
private

Definition at line 608 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), createLayers(), destroyLayers(), and GetOffboardPadsBack().

◆ m_offboardPadsFront

BVH_CONTAINER_2D* BOARD_ADAPTER::m_offboardPadsFront
private

Definition at line 607 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), createLayers(), destroyLayers(), and GetOffboardPadsFront().

◆ m_platedPadsBack

BVH_CONTAINER_2D* BOARD_ADAPTER::m_platedPadsBack
private

Definition at line 606 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), createLayers(), destroyLayers(), and GetPlatedPadsBack().

◆ m_platedPadsFront

BVH_CONTAINER_2D* BOARD_ADAPTER::m_platedPadsFront
private

Definition at line 605 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), createLayers(), destroyLayers(), and GetPlatedPadsFront().

◆ m_SilkScreenColorBot

SFVEC4F BOARD_ADAPTER::m_SilkScreenColorBot

Definition at line 551 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and CreateLayers().

◆ m_SilkScreenColorTop

SFVEC4F BOARD_ADAPTER::m_SilkScreenColorTop

Definition at line 552 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and CreateLayers().

◆ m_SolderMaskColorBot

SFVEC4F BOARD_ADAPTER::m_SolderMaskColorBot

Definition at line 547 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and CreateLayers().

◆ m_SolderMaskColorTop

SFVEC4F BOARD_ADAPTER::m_SolderMaskColorTop

Definition at line 548 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and CreateLayers().

◆ m_SolderPasteColor

SFVEC4F BOARD_ADAPTER::m_SolderPasteColor

Definition at line 549 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and CreateLayers().

◆ m_solderPasteLayerThickness3DU

float BOARD_ADAPTER::m_solderPasteLayerThickness3DU
private

Definition at line 637 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and InitSettings().

◆ m_tertiarydrillCutouts

BVH_CONTAINER_2D BOARD_ADAPTER::m_tertiarydrillCutouts
private

Tertiary drill cutouts.

Definition at line 616 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetTertiarydrillCutouts().

◆ m_TertiarydrillPolys

SHAPE_POLY_SET BOARD_ADAPTER::m_TertiarydrillPolys
private

Board tertiary drill polygons F.Cu->in.

Definition at line 588 of file board_adapter.h.

Referenced by createLayers(), and GetTertiarydrillPolys().

◆ m_TH_IDs

BVH_CONTAINER_2D BOARD_ADAPTER::m_TH_IDs
private

List of PTH inner diameters.

Definition at line 611 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), createLayers(), destroyLayers(), and GetTH_IDs().

◆ m_TH_ODPolys

SHAPE_POLY_SET BOARD_ADAPTER::m_TH_ODPolys
private

PTH outer diameters.

Definition at line 591 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetTH_ODPolys().

◆ m_TH_ODs

BVH_CONTAINER_2D BOARD_ADAPTER::m_TH_ODs
private

List of PTH outer diameters.

Definition at line 610 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), createLayers(), destroyLayers(), and GetTH_ODs().

◆ m_trackCount

unsigned int BOARD_ADAPTER::m_trackCount
private

Definition at line 639 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and createLayers().

◆ m_UserCommentsColor

SFVEC4F BOARD_ADAPTER::m_UserCommentsColor

Definition at line 555 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and CreateLayers().

◆ m_UserDefinedLayerColor

SFVEC4F BOARD_ADAPTER::m_UserDefinedLayerColor[45]

Definition at line 562 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), CreateLayers(), and SetLayerColors().

◆ m_UserDrawingsColor

SFVEC4F BOARD_ADAPTER::m_UserDrawingsColor

Definition at line 554 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), and CreateLayers().

◆ m_viaAnnuli

BVH_CONTAINER_2D BOARD_ADAPTER::m_viaAnnuli
private

List of via annular rings.

Definition at line 612 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), createLayers(), destroyLayers(), and GetViaAnnuli().

◆ m_viaAnnuliPolys

SHAPE_POLY_SET BOARD_ADAPTER::m_viaAnnuliPolys
private

Via annular ring outer diameters.

Definition at line 593 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetViaAnnuliPolys().

◆ m_viaCount

unsigned int BOARD_ADAPTER::m_viaCount
private

Definition at line 641 of file board_adapter.h.

Referenced by BOARD_ADAPTER(), createLayers(), and GetViaCount().

◆ m_viaTH_ODPolys

SHAPE_POLY_SET BOARD_ADAPTER::m_viaTH_ODPolys
private

Via hole outer diameters.

Definition at line 592 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetViaTH_ODPolys().

◆ m_viaTH_ODs

BVH_CONTAINER_2D BOARD_ADAPTER::m_viaTH_ODs
private

List of via hole outer diameters.

Definition at line 613 of file board_adapter.h.

Referenced by createLayers(), destroyLayers(), and GetViaTH_ODs().

◆ m_visibilityOverride

std::optional<std::bitset<LAYER_3D_END> > BOARD_ADAPTER::m_visibilityOverride
private

Definition at line 571 of file board_adapter.h.

Referenced by GetVisibleLayers(), and SetVisibilityOverride().


The documentation for this class was generated from the following files: