65                aTarget->SetSupportsOpacity( 
false );
 
   67                aTarget->SetSwatchColor( aColor, 
false );
 
   71            []( wxTextCtrl* aCtrl, 
int aValue )
 
 
  134        cfg->m_Render.raytrace_spread_shadows =
 
  137        cfg->m_Render.raytrace_spread_reflections =
 
  140        cfg->m_Render.raytrace_spread_refractions =
 
  161                []( wxTextCtrl* aCtrl )
 
 
constexpr EDA_IU_SCALE pcbIUScale
 
A simple color swatch of the kind used to set layer colors.
 
virtual void Load()
Updates the parameters of this object based on the current JSON document contents.
 
A color representation with 4 components: red, green, blue, alpha.
 
wxTextCtrl * m_lightElevation3
 
wxTextCtrl * m_lightAzimuth7
 
wxTextCtrl * m_lightElevation8
 
wxTextCtrl * m_spreadFactor_Reflections
 
wxSpinCtrl * m_recursiveLevel_Refractions
 
wxTextCtrl * m_lightElevation4
 
wxCheckBox * m_cbRaytracing_postProcessing
 
COLOR_SWATCH * m_colourPickerLight6
 
COLOR_SWATCH * m_colourPickerTopLight
 
wxTextCtrl * m_lightElevation7
 
wxCheckBox * m_cbRaytracing_showReflections
 
wxCheckBox * m_cbRaytracing_addFloor
 
wxCheckBox * m_cbRaytracing_showRefractions
 
wxTextCtrl * m_lightAzimuth3
 
wxSpinCtrl * m_numSamples_Reflections
 
COLOR_SWATCH * m_colourPickerLight1
 
COLOR_SWATCH * m_colourPickerLight4
 
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)
 
COLOR_SWATCH * m_colourPickerBottomLight
 
COLOR_SWATCH * m_colourPickerLight2
 
wxTextCtrl * m_lightElevation1
 
wxTextCtrl * m_spreadFactor_Shadows
 
COLOR_SWATCH * m_colourPickerCameraLight
 
wxTextCtrl * m_lightAzimuth8
 
wxTextCtrl * m_lightElevation2
 
COLOR_SWATCH * m_colourPickerLight8
 
wxSpinCtrl * m_numSamples_Refractions
 
wxTextCtrl * m_lightAzimuth4
 
wxSpinCtrl * m_recursiveLevel_Reflections
 
wxTextCtrl * m_lightAzimuth5
 
wxTextCtrl * m_lightAzimuth1
 
wxCheckBox * m_cbRaytracing_renderShadows
 
COLOR_SWATCH * m_colourPickerLight5
 
wxTextCtrl * m_spreadFactor_Refractions
 
COLOR_SWATCH * m_colourPickerLight3
 
wxSpinCtrl * m_numSamples_Shadows
 
COLOR_SWATCH * m_colourPickerLight7
 
wxCheckBox * m_cbRaytracing_proceduralTextures
 
wxTextCtrl * m_lightElevation6
 
wxTextCtrl * m_lightElevation5
 
wxTextCtrl * m_lightAzimuth6
 
wxTextCtrl * m_lightAzimuth2
 
wxCheckBox * m_cbRaytracing_antiAliasing
 
PANEL_3D_RAYTRACING_OPTIONS(wxWindow *aParent)
 
bool TransferDataToWindow() override
 
bool TransferDataFromWindow() override
 
void ResetPanel() override
Reset the contents of this panel.
 
void loadSettings(EDA_3D_VIEWER_SETTINGS *aCfg)
 
KICOMMON_API wxString StringFromValue(const EDA_IU_SCALE &aIuScale, EDA_UNITS aUnits, double aValue, bool aAddUnitsText=false, EDA_DATA_TYPE aType=EDA_DATA_TYPE::DISTANCE)
Return the string from aValue according to aUnits (inch, mm ...) for display.
 
KICOMMON_API double DoubleValueFromString(const EDA_IU_SCALE &aIuScale, EDA_UNITS aUnits, const wxString &aTextValue, EDA_DATA_TYPE aType=EDA_DATA_TYPE::DISTANCE)
Convert aTextValue to a double.
 
T * GetAppSettings(const char *aFilename)
 
std::vector< int > raytrace_lightElevation
 
KIGFX::COLOR4D raytrace_lightColorCamera
 
bool raytrace_post_processing
 
std::vector< KIGFX::COLOR4D > raytrace_lightColor
 
KIGFX::COLOR4D raytrace_lightColorBottom
 
float raytrace_spread_shadows
 
bool raytrace_reflections
 
float raytrace_spread_reflections
 
int raytrace_nrsamples_shadows
 
std::vector< int > raytrace_lightAzimuth
 
int raytrace_nrsamples_reflections
 
bool raytrace_refractions
 
int raytrace_recursivelevel_reflections
 
int raytrace_nrsamples_refractions
 
bool raytrace_procedural_textures
 
int raytrace_recursivelevel_refractions
 
KIGFX::COLOR4D raytrace_lightColorTop
 
float raytrace_spread_refractions
 
bool raytrace_anti_aliasing