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. | |
virtual wxString | GetResetTooltip () const |
Get the tooltip the reset button should display when showing this panel. | |
wxString | GetHelpTextAtPoint (const wxPoint &aPt, wxHelpEvent::Origin aOrigin) const override |
Overridden to supply the reset button tooltip when queried with { -INT_MAX, INT_MAX }. | |
Protected Member Functions | |
virtual void | OnCheckEnableAnimation (wxCommandEvent &event) |
Protected Attributes | |
wxStaticText * | m_renderOptionsLabel |
wxStaticLine * | m_staticline4 |
wxCheckBox * | m_checkBoxClipSilkOnViaAnnulus |
wxCheckBox * | m_checkBoxSubtractMaskFromSilk |
wxCheckBox * | m_checkBoxAreas |
wxCheckBox * | m_checkBoxRenderPlatedPadsAsPlated |
wxStaticText * | m_materialPropertiesLabel |
wxChoice * | m_materialProperties |
wxStaticText * | m_cameraOptionsLabel |
wxStaticLine * | m_staticline5 |
wxStaticText * | m_staticTextRotAngle |
wxSpinCtrlDouble * | m_spinCtrlRotationAngle |
wxStaticText * | m_staticTextRotAngleUnits |
wxCheckBox * | m_checkBoxEnableAnimation |
wxStaticText * | m_staticAnimationSpeed |
wxSlider * | m_sliderAnimationSpeed |
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_annuli, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::differentiate_plated_copper, EDA_3D_VIEWER_SETTINGS::m_Camera, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxAreas, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxClipSilkOnViaAnnulus, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxEnableAnimation, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxRenderPlatedPadsAsPlated, 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::CAMERA_SETTINGS::rotation_increment, 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 57 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.
|
overridevirtual |
Reset the contents of this panel.
Implements RESETTABLE_PANEL.
Definition at line 96 of file panel_3D_display_options.cpp.
References JSON_SETTINGS::Load(), and loadViewSettings().
|
override |
Definition at line 75 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_annuli, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::differentiate_plated_copper, SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), EDA_3D_VIEWER_SETTINGS::m_Camera, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxAreas, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxClipSilkOnViaAnnulus, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxEnableAnimation, PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxRenderPlatedPadsAsPlated, 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::CAMERA_SETTINGS::rotation_increment, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_zones, and EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::subtract_mask_from_silk.
|
override |
Definition at line 65 of file panel_3D_display_options.cpp.
References SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), loadViewSettings(), and Pgm().
|
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().
|
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 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 52 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 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 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 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 45 of file panel_3D_display_options_base.h.
Referenced by PANEL_3D_DISPLAY_OPTIONS_BASE::PANEL_3D_DISPLAY_OPTIONS_BASE().
|
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 54 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 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 53 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 49 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().