KiCad PCB EDA Suite
PANEL_3D_RAYTRACING_OPTIONS Class Reference

#include <panel_3D_raytracing_options.h>

Inheritance diagram for PANEL_3D_RAYTRACING_OPTIONS:
PANEL_3D_RAYTRACING_OPTIONS_BASE RESETTABLE_PANEL

Public Member Functions

 PANEL_3D_RAYTRACING_OPTIONS (wxWindow *aParent)
 
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 Attributes

wxCheckBox * m_cbRaytracing_proceduralTextures
 
wxCheckBox * m_cbRaytracing_addFloor
 
wxCheckBox * m_cbRaytracing_antiAliasing
 
wxCheckBox * m_cbRaytracing_postProcessing
 
wxStaticText * m_staticText19
 
wxStaticText * m_staticText201
 
wxStaticText * m_staticText211
 
wxCheckBox * m_cbRaytracing_renderShadows
 
wxSpinCtrl * m_numSamples_Shadows
 
wxTextCtrl * m_spreadFactor_Shadows
 
wxCheckBox * m_cbRaytracing_showReflections
 
wxSpinCtrl * m_numSamples_Reflections
 
wxTextCtrl * m_spreadFactor_Reflections
 
wxSpinCtrl * m_recursiveLevel_Reflections
 
wxCheckBox * m_cbRaytracing_showRefractions
 
wxSpinCtrl * m_numSamples_Refractions
 
wxTextCtrl * m_spreadFactor_Refractions
 
wxSpinCtrl * m_recursiveLevel_Refractions
 
wxStaticText * m_staticText17
 
COLOR_SWATCHm_colourPickerCameraLight
 
wxStaticText * m_staticText5
 
COLOR_SWATCHm_colourPickerTopLight
 
wxStaticText * m_staticText6
 
COLOR_SWATCHm_colourPickerBottomLight
 
wxStaticText * m_staticText20
 
wxStaticText * m_staticText18
 
wxStaticText * m_staticText27
 
wxStaticText * m_staticText28
 
wxStaticText * m_staticText21
 
COLOR_SWATCHm_colourPickerLight1
 
wxTextCtrl * m_lightElevation1
 
wxTextCtrl * m_lightAzimuth1
 
wxStaticText * m_staticText22
 
COLOR_SWATCHm_colourPickerLight5
 
wxTextCtrl * m_lightElevation5
 
wxTextCtrl * m_lightAzimuth5
 
wxStaticText * m_staticText23
 
COLOR_SWATCHm_colourPickerLight2
 
wxTextCtrl * m_lightElevation2
 
wxTextCtrl * m_lightAzimuth2
 
wxStaticText * m_staticText24
 
COLOR_SWATCHm_colourPickerLight6
 
wxTextCtrl * m_lightElevation6
 
wxTextCtrl * m_lightAzimuth6
 
wxStaticText * m_staticText25
 
COLOR_SWATCHm_colourPickerLight3
 
wxTextCtrl * m_lightElevation3
 
wxTextCtrl * m_lightAzimuth3
 
wxStaticText * m_staticText26
 
COLOR_SWATCHm_colourPickerLight7
 
wxTextCtrl * m_lightElevation7
 
wxTextCtrl * m_lightAzimuth7
 
wxStaticText * m_staticText171
 
COLOR_SWATCHm_colourPickerLight4
 
wxTextCtrl * m_lightElevation4
 
wxTextCtrl * m_lightAzimuth4
 
wxStaticText * m_staticText181
 
COLOR_SWATCHm_colourPickerLight8
 
wxTextCtrl * m_lightElevation8
 
wxTextCtrl * m_lightAzimuth8
 

Private Member Functions

void loadSettings (EDA_3D_VIEWER_SETTINGS *aCfg)
 

Detailed Description

Definition at line 31 of file panel_3D_raytracing_options.h.

Constructor & Destructor Documentation

◆ PANEL_3D_RAYTRACING_OPTIONS()

PANEL_3D_RAYTRACING_OPTIONS::PANEL_3D_RAYTRACING_OPTIONS ( wxWindow *  aParent)
explicit

Definition at line 31 of file panel_3D_raytracing_options.cpp.

31 :
33{
34}
PANEL_3D_RAYTRACING_OPTIONS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)

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.

73 {
74 if( aPt == wxPoint( -INT_MAX, INT_MAX ) )
75 return GetResetTooltip();
76 else
77 return wxPanel::GetHelpTextAtPoint( aPt, aOrigin );
78 }
virtual wxString GetResetTooltip() const
Get the tooltip the reset button should display when showing this panel.

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.

65 {
66 return _( "Reset all settings on this page to their default" );
67 }
#define _(s)

References _.

Referenced by RESETTABLE_PANEL::GetHelpTextAtPoint().

◆ loadSettings()

void PANEL_3D_RAYTRACING_OPTIONS::loadSettings ( EDA_3D_VIEWER_SETTINGS aCfg)
private

Definition at line 37 of file panel_3D_raytracing_options.cpp.

38{
46
50
52 aCfg->m_Render.raytrace_spread_shadows * 100.0f ) );
54 aCfg->m_Render.raytrace_spread_reflections * 100.0f ) );
56 aCfg->m_Render.raytrace_spread_refractions * 100.0f ) );
57
60
61 auto transfer_color =
62 []( COLOR4D aColor, COLOR_SWATCH *aTarget )
63 {
64 aTarget->SetSupportsOpacity( false );
65 aTarget->SetDefaultColor( KIGFX::COLOR4D( 0.5, 0.5, 0.5, 1.0 ) );
66 aTarget->SetSwatchColor( aColor, false );
67 };
68
69 auto transfer_value =
70 []( wxTextCtrl* aCtrl, int aValue )
71 {
72 aCtrl->SetValue( StringFromValue( EDA_UNITS::UNSCALED, aValue ) );
73 };
74
78
79 transfer_color( aCfg->m_Render.raytrace_lightColor[0], m_colourPickerLight1 );
80 transfer_color( aCfg->m_Render.raytrace_lightColor[1], m_colourPickerLight2 );
81 transfer_color( aCfg->m_Render.raytrace_lightColor[2], m_colourPickerLight3 );
82 transfer_color( aCfg->m_Render.raytrace_lightColor[3], m_colourPickerLight4 );
83
84 transfer_color( aCfg->m_Render.raytrace_lightColor[4], m_colourPickerLight5 );
85 transfer_color( aCfg->m_Render.raytrace_lightColor[5], m_colourPickerLight6 );
86 transfer_color( aCfg->m_Render.raytrace_lightColor[6], m_colourPickerLight7 );
87 transfer_color( aCfg->m_Render.raytrace_lightColor[7], m_colourPickerLight8 );
88
89 transfer_value( m_lightElevation1, aCfg->m_Render.raytrace_lightElevation[0] );
90 transfer_value( m_lightElevation2, aCfg->m_Render.raytrace_lightElevation[1] );
91 transfer_value( m_lightElevation3, aCfg->m_Render.raytrace_lightElevation[2] );
92 transfer_value( m_lightElevation4, aCfg->m_Render.raytrace_lightElevation[3] );
93 transfer_value( m_lightElevation5, aCfg->m_Render.raytrace_lightElevation[4] );
94 transfer_value( m_lightElevation6, aCfg->m_Render.raytrace_lightElevation[5] );
95 transfer_value( m_lightElevation7, aCfg->m_Render.raytrace_lightElevation[6] );
96 transfer_value( m_lightElevation8, aCfg->m_Render.raytrace_lightElevation[7] );
97
98 transfer_value( m_lightAzimuth1, aCfg->m_Render.raytrace_lightAzimuth[0] );
99 transfer_value( m_lightAzimuth2, aCfg->m_Render.raytrace_lightAzimuth[1] );
100 transfer_value( m_lightAzimuth3, aCfg->m_Render.raytrace_lightAzimuth[2] );
101 transfer_value( m_lightAzimuth4, aCfg->m_Render.raytrace_lightAzimuth[3] );
102 transfer_value( m_lightAzimuth5, aCfg->m_Render.raytrace_lightAzimuth[4] );
103 transfer_value( m_lightAzimuth6, aCfg->m_Render.raytrace_lightAzimuth[5] );
104 transfer_value( m_lightAzimuth7, aCfg->m_Render.raytrace_lightAzimuth[6] );
105 transfer_value( m_lightAzimuth8, aCfg->m_Render.raytrace_lightAzimuth[7] );
106}
wxString StringFromValue(EDA_UNITS aUnits, double aValue, bool aAddUnitSymbol, EDA_DATA_TYPE aType)
Convert a value to a string using double notation.
Definition: base_units.cpp:209
A simple color swatch of the kind used to set layer colors.
Definition: color_swatch.h:57
A color representation with 4 components: red, green, blue, alpha.
Definition: color4d.h:104
std::vector< KIGFX::COLOR4D > raytrace_lightColor

References PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_addFloor, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_antiAliasing, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_postProcessing, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_proceduralTextures, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_renderShadows, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_showReflections, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_showRefractions, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerBottomLight, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerCameraLight, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight1, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight2, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight3, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight4, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight5, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight6, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight7, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight8, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerTopLight, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth1, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth2, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth3, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth4, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth5, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth6, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth7, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth8, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation1, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation2, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation3, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation4, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation5, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation6, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation7, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation8, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_numSamples_Reflections, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_numSamples_Refractions, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_numSamples_Shadows, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_recursiveLevel_Reflections, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_recursiveLevel_Refractions, EDA_3D_VIEWER_SETTINGS::m_Render, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_spreadFactor_Reflections, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_spreadFactor_Refractions, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_spreadFactor_Shadows, PERCENT, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_anti_aliasing, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_backfloor, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_lightAzimuth, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_lightColor, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_lightColorBottom, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_lightColorCamera, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_lightColorTop, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_lightElevation, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_nrsamples_reflections, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_nrsamples_refractions, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_nrsamples_shadows, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_post_processing, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_procedural_textures, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_recursivelevel_reflections, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_recursivelevel_refractions, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_reflections, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_refractions, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_shadows, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_spread_reflections, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_spread_refractions, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_spread_shadows, StringFromValue(), and UNSCALED.

Referenced by ResetPanel(), and TransferDataToWindow().

◆ ResetPanel()

void PANEL_3D_RAYTRACING_OPTIONS::ResetPanel ( )
overridevirtual

Reset the contents of this panel.

Implements RESETTABLE_PANEL.

Definition at line 188 of file panel_3D_raytracing_options.cpp.

189{
191 cfg.Load(); // Loading without a file will init to defaults
192
193 loadSettings( &cfg );
194}
virtual void Load()
Updates the parameters of this object based on the current JSON document contents.
void loadSettings(EDA_3D_VIEWER_SETTINGS *aCfg)

References JSON_SETTINGS::Load(), and loadSettings().

◆ TransferDataFromWindow()

bool PANEL_3D_RAYTRACING_OPTIONS::TransferDataFromWindow ( )
override

Definition at line 120 of file panel_3D_raytracing_options.cpp.

121{
122 SETTINGS_MANAGER& mgr = Pgm().GetSettingsManager();
124
132
136
143
146
150
159
160 auto get_value =
161 []( wxTextCtrl* aCtrl )
162 {
163 return DoubleValueFromString( EDA_UNITS::UNSCALED, aCtrl->GetValue() );
164 };
165
174
175 cfg->m_Render.raytrace_lightAzimuth[0] = get_value( m_lightAzimuth1 );
176 cfg->m_Render.raytrace_lightAzimuth[1] = get_value( m_lightAzimuth2 );
177 cfg->m_Render.raytrace_lightAzimuth[2] = get_value( m_lightAzimuth3 );
178 cfg->m_Render.raytrace_lightAzimuth[3] = get_value( m_lightAzimuth4 );
179 cfg->m_Render.raytrace_lightAzimuth[4] = get_value( m_lightAzimuth5 );
180 cfg->m_Render.raytrace_lightAzimuth[5] = get_value( m_lightAzimuth6 );
181 cfg->m_Render.raytrace_lightAzimuth[6] = get_value( m_lightAzimuth7 );
182 cfg->m_Render.raytrace_lightAzimuth[7] = get_value( m_lightAzimuth8 );
183
184 return true;
185}
double DoubleValueFromString(EDA_UNITS aUnits, const wxString &aTextValue, EDA_DATA_TYPE aType)
Function DoubleValueFromString converts aTextValue to a double.
Definition: base_units.cpp:276
KIGFX::COLOR4D GetSwatchColor() const
T * GetAppSettings(bool aLoadNow=true)
Returns a handle to the a given settings by type If the settings have already been loaded,...
KIWAY Kiway & Pgm(), KFCTL_STANDALONE
The global Program "get" accessor.
Definition: single_top.cpp:111

References DoubleValueFromString(), SETTINGS_MANAGER::GetAppSettings(), COLOR_SWATCH::GetSwatchColor(), PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_addFloor, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_antiAliasing, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_postProcessing, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_proceduralTextures, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_renderShadows, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_showReflections, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_showRefractions, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerBottomLight, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerCameraLight, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight1, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight2, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight3, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight4, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight5, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight6, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight7, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight8, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerTopLight, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth1, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth2, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth3, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth4, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth5, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth6, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth7, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth8, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation1, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation2, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation3, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation4, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation5, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation6, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation7, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation8, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_numSamples_Reflections, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_numSamples_Refractions, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_numSamples_Shadows, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_recursiveLevel_Reflections, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_recursiveLevel_Refractions, EDA_3D_VIEWER_SETTINGS::m_Render, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_spreadFactor_Reflections, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_spreadFactor_Refractions, PANEL_3D_RAYTRACING_OPTIONS_BASE::m_spreadFactor_Shadows, PERCENT, Pgm(), EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_anti_aliasing, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_backfloor, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_lightAzimuth, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_lightColor, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_lightColorBottom, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_lightColorCamera, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_lightColorTop, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_lightElevation, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_nrsamples_reflections, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_nrsamples_refractions, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_nrsamples_shadows, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_post_processing, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_procedural_textures, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_recursivelevel_reflections, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_recursivelevel_refractions, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_reflections, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_refractions, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_shadows, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_spread_reflections, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_spread_refractions, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::raytrace_spread_shadows, and UNSCALED.

◆ TransferDataToWindow()

bool PANEL_3D_RAYTRACING_OPTIONS::TransferDataToWindow ( )
override

Definition at line 109 of file panel_3D_raytracing_options.cpp.

110{
111 SETTINGS_MANAGER& mgr = Pgm().GetSettingsManager();
113
114 loadSettings( cfg );
115
116 return true;
117}

References SETTINGS_MANAGER::GetAppSettings(), loadSettings(), and Pgm().

Member Data Documentation

◆ m_cbRaytracing_addFloor

wxCheckBox* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_addFloor
protectedinherited

◆ m_cbRaytracing_antiAliasing

wxCheckBox* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_antiAliasing
protectedinherited

◆ m_cbRaytracing_postProcessing

wxCheckBox* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_postProcessing
protectedinherited

◆ m_cbRaytracing_proceduralTextures

wxCheckBox* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_proceduralTextures
protectedinherited

◆ m_cbRaytracing_renderShadows

wxCheckBox* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_renderShadows
protectedinherited

◆ m_cbRaytracing_showReflections

wxCheckBox* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_showReflections
protectedinherited

◆ m_cbRaytracing_showRefractions

wxCheckBox* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_cbRaytracing_showRefractions
protectedinherited

◆ m_colourPickerBottomLight

COLOR_SWATCH* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerBottomLight
protectedinherited

◆ m_colourPickerCameraLight

COLOR_SWATCH* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerCameraLight
protectedinherited

◆ m_colourPickerLight1

COLOR_SWATCH* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight1
protectedinherited

◆ m_colourPickerLight2

COLOR_SWATCH* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight2
protectedinherited

◆ m_colourPickerLight3

COLOR_SWATCH* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight3
protectedinherited

◆ m_colourPickerLight4

COLOR_SWATCH* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight4
protectedinherited

◆ m_colourPickerLight5

COLOR_SWATCH* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight5
protectedinherited

◆ m_colourPickerLight6

COLOR_SWATCH* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight6
protectedinherited

◆ m_colourPickerLight7

COLOR_SWATCH* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight7
protectedinherited

◆ m_colourPickerLight8

COLOR_SWATCH* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerLight8
protectedinherited

◆ m_colourPickerTopLight

COLOR_SWATCH* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_colourPickerTopLight
protectedinherited

◆ m_lightAzimuth1

wxTextCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth1
protectedinherited

◆ m_lightAzimuth2

wxTextCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth2
protectedinherited

◆ m_lightAzimuth3

wxTextCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth3
protectedinherited

◆ m_lightAzimuth4

wxTextCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth4
protectedinherited

◆ m_lightAzimuth5

wxTextCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth5
protectedinherited

◆ m_lightAzimuth6

wxTextCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth6
protectedinherited

◆ m_lightAzimuth7

wxTextCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth7
protectedinherited

◆ m_lightAzimuth8

wxTextCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightAzimuth8
protectedinherited

◆ m_lightElevation1

wxTextCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation1
protectedinherited

◆ m_lightElevation2

wxTextCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation2
protectedinherited

◆ m_lightElevation3

wxTextCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation3
protectedinherited

◆ m_lightElevation4

wxTextCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation4
protectedinherited

◆ m_lightElevation5

wxTextCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation5
protectedinherited

◆ m_lightElevation6

wxTextCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation6
protectedinherited

◆ m_lightElevation7

wxTextCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation7
protectedinherited

◆ m_lightElevation8

wxTextCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_lightElevation8
protectedinherited

◆ m_numSamples_Reflections

wxSpinCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_numSamples_Reflections
protectedinherited

◆ m_numSamples_Refractions

wxSpinCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_numSamples_Refractions
protectedinherited

◆ m_numSamples_Shadows

wxSpinCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_numSamples_Shadows
protectedinherited

◆ m_recursiveLevel_Reflections

wxSpinCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_recursiveLevel_Reflections
protectedinherited

◆ m_recursiveLevel_Refractions

wxSpinCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_recursiveLevel_Refractions
protectedinherited

◆ m_spreadFactor_Reflections

wxTextCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_spreadFactor_Reflections
protectedinherited

◆ m_spreadFactor_Refractions

wxTextCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_spreadFactor_Refractions
protectedinherited

◆ m_spreadFactor_Shadows

wxTextCtrl* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_spreadFactor_Shadows
protectedinherited

◆ m_staticText17

wxStaticText* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_staticText17
protectedinherited

◆ m_staticText171

wxStaticText* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_staticText171
protectedinherited

◆ m_staticText18

wxStaticText* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_staticText18
protectedinherited

◆ m_staticText181

wxStaticText* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_staticText181
protectedinherited

◆ m_staticText19

wxStaticText* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_staticText19
protectedinherited

◆ m_staticText20

wxStaticText* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_staticText20
protectedinherited

◆ m_staticText201

wxStaticText* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_staticText201
protectedinherited

◆ m_staticText21

wxStaticText* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_staticText21
protectedinherited

◆ m_staticText211

wxStaticText* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_staticText211
protectedinherited

◆ m_staticText22

wxStaticText* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_staticText22
protectedinherited

◆ m_staticText23

wxStaticText* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_staticText23
protectedinherited

◆ m_staticText24

wxStaticText* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_staticText24
protectedinherited

◆ m_staticText25

wxStaticText* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_staticText25
protectedinherited

◆ m_staticText26

wxStaticText* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_staticText26
protectedinherited

◆ m_staticText27

wxStaticText* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_staticText27
protectedinherited

◆ m_staticText28

wxStaticText* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_staticText28
protectedinherited

◆ m_staticText5

wxStaticText* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_staticText5
protectedinherited

◆ m_staticText6

wxStaticText* PANEL_3D_RAYTRACING_OPTIONS_BASE::m_staticText6
protectedinherited

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