36 m_settings( aFrame->GetAdapter() ),
37 m_canvas( aFrame->GetCanvas() )
48 const std::vector<int> default_elevation =
50 67, 67, 67, 67, -67, -67, -67, -67,
53 const std::vector<int> default_azimuth =
55 45, 135, 225, 315, 45, 135, 225, 315,
63 ( (float) default_elevation[i] + 90.0f ) / 180.0f;
76 aTarget->SetSupportsOpacity(
false );
78 aTarget->SetSwatchColor(
COLOR4D( aSource.r, aSource.g, aSource.b, 1.0 ),
false );
wxSpinCtrl * m_spinCtrlLightAzimuth7
bool GetFlag(DISPLAY3D_FLG aFlag) const
Get a configuration status of a flag.
wxSpinCtrl * m_spinCtrl_NrSamples_Shadows
wxSpinCtrl * m_spinCtrlRecursiveLevel_Refractions
COLOR_SWATCH * m_colourPickerLight3
int m_RtShadowSampleCount
wxSpinCtrl * m_spinCtrlLightElevation8
wxSpinCtrl * m_spinCtrl_NrSamples_Reflections
COLOR_SWATCH * m_colourPickerTopLight
wxSpinCtrl * m_spinCtrlLightAzimuth3
COLOR_SWATCH * m_colourPickerLight1
void SetFlag(DISPLAY3D_FLG aFlag, bool aState)
Set the status of a flag.
wxSpinCtrl * m_spinCtrlLightElevation3
COLOR_SWATCH * m_colourPickerCameraLight
wxSpinCtrl * m_spinCtrlLightElevation4
wxSpinCtrl * m_spinCtrlLightElevation6
std::vector< SFVEC2F > m_RtLightSphericalCoords
void ResetPanel() override
Reset the contents of this panel.
COLOR_SWATCH * m_colourPickerLight7
float m_RtSpreadRefractions
SFVEC3F m_RtCameraLightColor
wxSpinCtrl * m_spinCtrlLightAzimuth5
wxCheckBox * m_checkBoxRaytracing_showRefractions
wxSpinCtrl * m_spinCtrlLightAzimuth4
wxSpinCtrl * m_spinCtrlLightAzimuth2
wxCheckBox * m_checkBoxRaytracing_proceduralTextures
wxSpinCtrl * m_spinCtrlRecursiveLevel_Reflections
COLOR_SWATCH * m_colourPickerBottomLight
int m_RtRecursiveReflectionCount
float m_RtSpreadReflections
wxSpinCtrlDouble * m_spinCtrlDouble_SpreadFactor_Shadows
wxCheckBox * m_checkBoxRaytracing_showReflections
wxSpinCtrl * m_spinCtrlLightAzimuth1
Create and handle a window for the 3d viewer connected to a Kiway and a pcbboard.
wxSpinCtrlDouble * m_spinCtrlDouble_SpreadFactor_Reflections
Class PANEL_3D_RAYTRACING_OPTIONS_BASE.
wxSpinCtrl * m_spinCtrlLightElevation7
bool TransferDataFromWindow() override
Automatically called when clicking on the OK button.
SFVEC3F m_RtLightColorTop
void TransferColorDataToWindow()
int m_RtRecursiveRefractionCount
std::vector< SFVEC3F > m_RtLightColor
COLOR_SWATCH * m_colourPickerLight2
wxSpinCtrl * m_spinCtrlLightElevation2
wxSpinCtrl * m_spinCtrlLightElevation1
int m_RtRefractionSampleCount
wxCheckBox * m_checkBoxRaytracing_postProcessing
wxSpinCtrl * m_spinCtrlLightAzimuth8
COLOR_SWATCH * m_colourPickerLight6
wxSpinCtrl * m_spinCtrlLightElevation5
COLOR_SWATCH * m_colourPickerLight4
wxSpinCtrl * m_spinCtrl_NrSamples_Refractions
wxCheckBox * m_checkBoxRaytracing_renderShadows
bool TransferDataToWindow() override
Automatically called after creating the dialog.
A simple color swatch of the kind used to set layer colors.
COLOR_SWATCH * m_colourPickerLight5
wxCheckBox * m_checkBoxRaytracing_antiAliasing
wxSpinCtrlDouble * m_spinCtrlDouble_SpreadFactor_Refractions
SFVEC3F m_RtLightColorBottom
BOARD_ADAPTER & m_settings
wxCheckBox * m_checkBoxRaytracing_addFloor
int m_RtReflectionSampleCount
wxSpinCtrl * m_spinCtrlLightAzimuth6
COLOR_SWATCH * m_colourPickerLight8
A color representation with 4 components: red, green, blue, alpha.
PANEL_3D_RAYTRACING_OPTIONS(EDA_3D_VIEWER_FRAME *aFrame, wxWindow *aParent)