20#ifndef DRILL_CHART_MODEL_H
21#define DRILL_CHART_MODEL_H
123 void Build(
const BOARD& aBoard,
const std::vector<DRILL_SPAN>& aSpans );
125 void Build(
const BOARD& aBoard,
const std::vector<DRILL_SPAN>& aSpans,
Information pertinent to a Pcbnew printed circuit board.
DRILL_CHART_TOTALS m_totals
DRILL_CHART_MODEL(const DRILL_SYMBOL_PROFILE &aProfile)
void Build(const BOARD &aBoard, const std::vector< DRILL_SPAN > &aSpans)
const std::vector< DRILL_CHART_GROUP > & Groups() const
std::vector< DRILL_CHART_GROUP > m_groups
const DRILL_SYMBOL_PROFILE & m_profile
const DRILL_CHART_TOTALS & Totals() const
Grouping rules and symbol assignments, shared by reference so a chart and its map can never disagree ...
std::vector< DRILL_SPAN > EnumerateDrillSpans(const BOARD &aBoard)
Every drill span present on the board, through-holes first.
DRILL_OP_KIND
Which of the padstack's drill props produced the operation.
PCB_LAYER_ID
A quick note on layer IDs:
Which holes a chart reports on.
std::string m_Key
Identity of this row.
DRILL_POST_MACHINING m_BackPostMachining
std::vector< VECTOR2I > m_Sites
Distinct hole locations, kept so totals can union them rather than sum site counts.
std::string m_SymbolKey
Identity of the symbol, which always belongs to the profile's grouping.
HOLE_ATTRIBUTE m_Attribute
std::vector< DRILL_OPERATION_ID > m_Members
std::optional< int > m_StubLength
DRILL_SYMBOL_ASSIGNMENT m_Symbol
DRILL_POST_MACHINING m_FrontPostMachining
PCB_LAYER_ID m_BottomLayer
Turns the board's drill operations into chart rows for one symbol profile.
DRILL_CHART_FILTER m_Filter
VECTOR2< int32_t > VECTOR2I