KiCad PCB EDA Suite
|
#include <panel_3D_display_options.h>
Public Member Functions | |
PANEL_3D_DISPLAY_OPTIONS (wxWindow *aParent) | |
void | OnCheckEnableAnimation (wxCommandEvent &WXUNUSED(event)) override |
bool | TransferDataFromWindow () override |
bool | TransferDataToWindow () override |
void | ResetPanel () override |
Reset the contents of this panel. More... | |
virtual wxString | GetResetTooltip () const |
Get the tooltip the reset button should display when showing this panel. More... | |
wxString | GetHelpTextAtPoint (const wxPoint &aPt, wxHelpEvent::Origin aOrigin) const override |
Overridden to supply the reset button tooltip when queried with { -INT_MAX, INT_MAX }. More... | |
Protected Member Functions | |
virtual void | OnCheckRealisticMode (wxCommandEvent &event) |
virtual void | OnCheckEnableAnimation (wxCommandEvent &event) |
Private Member Functions | |
void | loadViewSettings (EDA_3D_VIEWER_SETTINGS *aCfg) |
Definition at line 32 of file panel_3D_display_options.h.
|
explicit |
Definition at line 32 of file panel_3D_display_options.cpp.
|
inlineoverrideinherited |
Overridden to supply the reset button tooltip when queried with { -INT_MAX, INT_MAX }.
Definition at line 72 of file resettable_panel.h.
References RESETTABLE_PANEL::GetResetTooltip().
|
inlinevirtualinherited |
Get the tooltip the reset button should display when showing this panel.
Reimplemented in PANEL_COLOR_SETTINGS, and PANEL_HOTKEYS_EDITOR.
Definition at line 64 of file resettable_panel.h.
References _.
Referenced by RESETTABLE_PANEL::GetHelpTextAtPoint().
|
private |
Definition at line 45 of file panel_3D_display_options.cpp.
References EDA_3D_VIEWER_SETTINGS::CAMERA_SETTINGS::animation_enabled, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::clip_silk_on_via_annulus, EDA_3D_VIEWER_SETTINGS::m_Camera, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxAdhesive, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxAreas, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxBoardBody, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxClipSilkOnViaAnnulus, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxComments, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxECO, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxEnableAnimation, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxRealisticMode, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxRenderPlatedPadsAsPlated, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxSilkscreen, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxSolderMask, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxSolderpaste, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxSubtractMaskFromSilk, PANEL_3D_DISPLAY_OPTIONS_BASE::m_materialProperties, EDA_3D_VIEWER_SETTINGS::m_Render, PANEL_3D_DISPLAY_OPTIONS_BASE::m_sliderAnimationSpeed, PANEL_3D_DISPLAY_OPTIONS_BASE::m_spinCtrlRotationAngle, PANEL_3D_DISPLAY_OPTIONS_BASE::m_staticAnimationSpeed, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::material_mode, EDA_3D_VIEWER_SETTINGS::CAMERA_SETTINGS::moving_speed_multiplier, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::realistic, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::renderPlatedPadsAsPlated, EDA_3D_VIEWER_SETTINGS::CAMERA_SETTINGS::rotation_increment, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_adhesive, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_board_body, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_comments, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_eco, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_silkscreen, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_soldermask, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_solderpaste, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_zones, and EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::subtract_mask_from_silk.
Referenced by ResetPanel(), and TransferDataToWindow().
|
inlineprotectedvirtualinherited |
Definition at line 70 of file panel_3D_display_options_base.h.
Referenced by PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE(), and PANEL_3D_DISPLAY_OPTIONS_BASE::~PANEL_3D_DISPLAY_OPTIONS_BASE().
|
override |
Definition at line 38 of file panel_3D_display_options.cpp.
References PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxEnableAnimation, PANEL_3D_DISPLAY_OPTIONS_BASE::m_sliderAnimationSpeed, and PANEL_3D_DISPLAY_OPTIONS_BASE::m_staticAnimationSpeed.
|
inlineprotectedvirtualinherited |
Definition at line 69 of file panel_3D_display_options_base.h.
Referenced by PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE(), and PANEL_3D_DISPLAY_OPTIONS_BASE::~PANEL_3D_DISPLAY_OPTIONS_BASE().
|
overridevirtual |
Reset the contents of this panel.
Implements RESETTABLE_PANEL.
Definition at line 115 of file panel_3D_display_options.cpp.
References JSON_SETTINGS::Load(), and loadViewSettings().
|
override |
Definition at line 82 of file panel_3D_display_options.cpp.
References EDA_3D_VIEWER_SETTINGS::CAMERA_SETTINGS::animation_enabled, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::clip_silk_on_via_annulus, EDA_3D_VIEWER_SETTINGS::m_Camera, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxAdhesive, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxAreas, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxBoardBody, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxClipSilkOnViaAnnulus, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxComments, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxECO, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxEnableAnimation, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxRealisticMode, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxRenderPlatedPadsAsPlated, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxSilkscreen, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxSolderMask, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxSolderpaste, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxSubtractMaskFromSilk, PANEL_3D_DISPLAY_OPTIONS_BASE::m_materialProperties, EDA_3D_VIEWER_SETTINGS::m_Render, PANEL_3D_DISPLAY_OPTIONS_BASE::m_sliderAnimationSpeed, PANEL_3D_DISPLAY_OPTIONS_BASE::m_spinCtrlRotationAngle, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::material_mode, EDA_3D_VIEWER_SETTINGS::CAMERA_SETTINGS::moving_speed_multiplier, Pgm(), EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::realistic, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::renderPlatedPadsAsPlated, EDA_3D_VIEWER_SETTINGS::CAMERA_SETTINGS::rotation_increment, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_adhesive, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_board_body, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_comments, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_eco, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_silkscreen, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_soldermask, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_solderpaste, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_zones, and EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::subtract_mask_from_silk.
|
override |
Definition at line 72 of file panel_3D_display_options.cpp.
References loadViewSettings(), and Pgm().
|
protectedinherited |
Definition at line 39 of file panel_3D_display_options_base.h.
Referenced by PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 59 of file panel_3D_display_options_base.h.
Referenced by PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 46 of file panel_3D_display_options_base.h.
Referenced by loadViewSettings(), PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 55 of file panel_3D_display_options_base.h.
Referenced by loadViewSettings(), PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 53 of file panel_3D_display_options_base.h.
Referenced by loadViewSettings(), PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 43 of file panel_3D_display_options_base.h.
Referenced by loadViewSettings(), PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 49 of file panel_3D_display_options_base.h.
Referenced by loadViewSettings(), PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 50 of file panel_3D_display_options_base.h.
Referenced by loadViewSettings(), PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 64 of file panel_3D_display_options_base.h.
Referenced by loadViewSettings(), OnCheckEnableAnimation(), PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE(), TransferDataFromWindow(), and PANEL_3D_DISPLAY_OPTIONS_BASE::~PANEL_3D_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 54 of file panel_3D_display_options_base.h.
Referenced by loadViewSettings(), PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE(), TransferDataFromWindow(), and PANEL_3D_DISPLAY_OPTIONS_BASE::~PANEL_3D_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 56 of file panel_3D_display_options_base.h.
Referenced by loadViewSettings(), PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 41 of file panel_3D_display_options_base.h.
Referenced by loadViewSettings(), PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 44 of file panel_3D_display_options_base.h.
Referenced by loadViewSettings(), PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 45 of file panel_3D_display_options_base.h.
Referenced by loadViewSettings(), PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 42 of file panel_3D_display_options_base.h.
Referenced by loadViewSettings(), PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 58 of file panel_3D_display_options_base.h.
Referenced by loadViewSettings(), PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 57 of file panel_3D_display_options_base.h.
Referenced by PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 51 of file panel_3D_display_options_base.h.
Referenced by PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 66 of file panel_3D_display_options_base.h.
Referenced by loadViewSettings(), OnCheckEnableAnimation(), PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 62 of file panel_3D_display_options_base.h.
Referenced by loadViewSettings(), PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 65 of file panel_3D_display_options_base.h.
Referenced by loadViewSettings(), OnCheckEnableAnimation(), and PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 40 of file panel_3D_display_options_base.h.
Referenced by PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 48 of file panel_3D_display_options_base.h.
Referenced by PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 52 of file panel_3D_display_options_base.h.
Referenced by PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 60 of file panel_3D_display_options_base.h.
Referenced by PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 61 of file panel_3D_display_options_base.h.
Referenced by PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 63 of file panel_3D_display_options_base.h.
Referenced by PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 47 of file panel_3D_display_options_base.h.
Referenced by PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE().