KiCad PCB EDA Suite
|
#include <dialog_create_array.h>
Public Member Functions | |
ARRAY_CIRCULAR_OPTIONS () | |
void | TransformItem (int n, BOARD_ITEM *item, const wxPoint &rotPoint) const override |
int | GetArraySize () const override |
wxString | GetItemNumber (int n) const override |
virtual wxString | InterpolateNumberIntoString (int n, const wxString &pattern) const |
bool | ShouldNumberItems () const |
bool | NumberingStartIsSpecified () const |
Public Attributes | |
long | m_nPts |
double | m_angle |
wxPoint | m_centre |
bool | m_rotateItems |
ARRAY_NUMBERING_TYPE_T | m_numberingType |
long | m_numberingOffset |
ARRAY_TYPE_T | m_type |
Static Protected Member Functions | |
static wxString | getCoordinateNumber (int n, ARRAY_NUMBERING_TYPE_T type) |
Protected Attributes | |
bool | m_shouldNumber |
True if this array numbers the new items. More... | |
bool | m_numberingStartIsSpecified |
True if this array's number starts from the preset point False if the array numbering starts from some externally provided point. More... | |
Definition at line 295 of file dialog_create_array.h.
|
inline |
Definition at line 297 of file dialog_create_array.h.
|
overridevirtual |
Implements DIALOG_CREATE_ARRAY::ARRAY_OPTIONS.
Definition at line 583 of file dialog_create_array.cpp.
|
staticprotectedinherited |
Definition at line 471 of file dialog_create_array.cpp.
References alphabetFromNumberingScheme(), and schemeNonUnitColsStartAt0().
|
overridevirtual |
Implements DIALOG_CREATE_ARRAY::ARRAY_OPTIONS.
Definition at line 609 of file dialog_create_array.cpp.
|
virtualinherited |
Definition at line 498 of file dialog_create_array.cpp.
|
inlineinherited |
Definition at line 242 of file dialog_create_array.h.
References CONFIG_SAVE_RESTORE_WINDOW::CONFIG_CTRL_T::type.
Referenced by ARRAY_CREATOR::Invoke().
|
inlineinherited |
Definition at line 232 of file dialog_create_array.h.
Referenced by ARRAY_CREATOR::Invoke().
|
overridevirtual |
Function GetArrayPositions Returns the set of points that represent the array in order, if that is important
TODO: Can/should this be done with some sort of iterator?
Implements DIALOG_CREATE_ARRAY::ARRAY_OPTIONS.
Definition at line 589 of file dialog_create_array.cpp.
References PNS::angle(), BOARD_ITEM::GetCenter(), and BOARD_ITEM::Rotate().
double DIALOG_CREATE_ARRAY::ARRAY_CIRCULAR_OPTIONS::m_angle |
Definition at line 307 of file dialog_create_array.h.
Referenced by DIALOG_CREATE_ARRAY::TransferDataFromWindow().
wxPoint DIALOG_CREATE_ARRAY::ARRAY_CIRCULAR_OPTIONS::m_centre |
Definition at line 308 of file dialog_create_array.h.
Referenced by DIALOG_CREATE_ARRAY::TransferDataFromWindow().
long DIALOG_CREATE_ARRAY::ARRAY_CIRCULAR_OPTIONS::m_nPts |
Definition at line 306 of file dialog_create_array.h.
Referenced by DIALOG_CREATE_ARRAY::TransferDataFromWindow().
long DIALOG_CREATE_ARRAY::ARRAY_CIRCULAR_OPTIONS::m_numberingOffset |
Definition at line 311 of file dialog_create_array.h.
Referenced by DIALOG_CREATE_ARRAY::TransferDataFromWindow().
|
protectedinherited |
True if this array's number starts from the preset point False if the array numbering starts from some externally provided point.
Definition at line 258 of file dialog_create_array.h.
Referenced by DIALOG_CREATE_ARRAY::TransferDataFromWindow().
ARRAY_NUMBERING_TYPE_T DIALOG_CREATE_ARRAY::ARRAY_CIRCULAR_OPTIONS::m_numberingType |
Definition at line 310 of file dialog_create_array.h.
Referenced by DIALOG_CREATE_ARRAY::TransferDataFromWindow().
bool DIALOG_CREATE_ARRAY::ARRAY_CIRCULAR_OPTIONS::m_rotateItems |
Definition at line 309 of file dialog_create_array.h.
Referenced by DIALOG_CREATE_ARRAY::TransferDataFromWindow().
|
protectedinherited |
True if this array numbers the new items.
Definition at line 254 of file dialog_create_array.h.
Referenced by DIALOG_CREATE_ARRAY::TransferDataFromWindow().
|
inherited |
Definition at line 211 of file dialog_create_array.h.