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

#include <panel_3D_display_options.h>

Inheritance diagram for PANEL_3D_DISPLAY_OPTIONS:
PANEL_3D_DISPLAY_OPTIONS_BASE RESETTABLE_PANEL

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)
 

Detailed Description

Definition at line 32 of file panel_3D_display_options.h.

Constructor & Destructor Documentation

◆ PANEL_3D_DISPLAY_OPTIONS()

PANEL_3D_DISPLAY_OPTIONS::PANEL_3D_DISPLAY_OPTIONS ( wxWindow *  aParent)
explicit

Definition at line 32 of file panel_3D_display_options.cpp.

Member Function Documentation

◆ GetHelpTextAtPoint()

wxString RESETTABLE_PANEL::GetHelpTextAtPoint ( const wxPoint &  aPt,
wxHelpEvent::Origin  aOrigin 
) const
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().

◆ GetResetTooltip()

virtual wxString RESETTABLE_PANEL::GetResetTooltip ( ) const
inlinevirtualinherited

Get the tooltip the reset button should display when showing this panel.

Returns
the tooltip

Reimplemented in PANEL_COLOR_SETTINGS, and PANEL_HOTKEYS_EDITOR.

Definition at line 64 of file resettable_panel.h.

References _.

Referenced by RESETTABLE_PANEL::GetHelpTextAtPoint().

◆ loadViewSettings()

◆ OnCheckEnableAnimation() [1/2]

virtual void PANEL_3D_DISPLAY_OPTIONS_BASE::OnCheckEnableAnimation ( wxCommandEvent &  event)
inlineprotectedvirtualinherited

◆ OnCheckEnableAnimation() [2/2]

void PANEL_3D_DISPLAY_OPTIONS::OnCheckEnableAnimation ( wxCommandEvent &  WXUNUSEDevent)
override

◆ ResetPanel()

void PANEL_3D_DISPLAY_OPTIONS::ResetPanel ( )
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().

◆ TransferDataFromWindow()

◆ TransferDataToWindow()

bool PANEL_3D_DISPLAY_OPTIONS::TransferDataToWindow ( )
override

Member Data Documentation

◆ m_cameraOptionsLabel

wxStaticText* PANEL_3D_DISPLAY_OPTIONS_BASE::m_cameraOptionsLabel
protectedinherited

◆ m_checkBoxAreas

wxCheckBox* PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxAreas
protectedinherited

◆ m_checkBoxClipSilkOnViaAnnulus

wxCheckBox* PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxClipSilkOnViaAnnulus
protectedinherited

◆ m_checkBoxEnableAnimation

◆ m_checkBoxRenderPlatedPadsAsPlated

wxCheckBox* PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxRenderPlatedPadsAsPlated
protectedinherited

◆ m_checkBoxSubtractMaskFromSilk

wxCheckBox* PANEL_3D_DISPLAY_OPTIONS_BASE::m_checkBoxSubtractMaskFromSilk
protectedinherited

◆ m_materialProperties

wxChoice* PANEL_3D_DISPLAY_OPTIONS_BASE::m_materialProperties
protectedinherited

◆ m_materialPropertiesLabel

wxStaticText* PANEL_3D_DISPLAY_OPTIONS_BASE::m_materialPropertiesLabel
protectedinherited

◆ m_renderOptionsLabel

wxStaticText* PANEL_3D_DISPLAY_OPTIONS_BASE::m_renderOptionsLabel
protectedinherited

◆ m_sliderAnimationSpeed

wxSlider* PANEL_3D_DISPLAY_OPTIONS_BASE::m_sliderAnimationSpeed
protectedinherited

◆ m_spinCtrlRotationAngle

wxSpinCtrlDouble* PANEL_3D_DISPLAY_OPTIONS_BASE::m_spinCtrlRotationAngle
protectedinherited

◆ m_staticAnimationSpeed

wxStaticText* PANEL_3D_DISPLAY_OPTIONS_BASE::m_staticAnimationSpeed
protectedinherited

◆ m_staticline4

wxStaticLine* PANEL_3D_DISPLAY_OPTIONS_BASE::m_staticline4
protectedinherited

◆ m_staticline5

wxStaticLine* PANEL_3D_DISPLAY_OPTIONS_BASE::m_staticline5
protectedinherited

◆ m_staticTextRotAngle

wxStaticText* PANEL_3D_DISPLAY_OPTIONS_BASE::m_staticTextRotAngle
protectedinherited

◆ m_staticTextRotAngleUnits

wxStaticText* PANEL_3D_DISPLAY_OPTIONS_BASE::m_staticTextRotAngleUnits
protectedinherited

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