22#ifndef EDA_3D_VIEWER_SETTINGS_H_
23#define EDA_3D_VIEWER_SETTINGS_H_
32#define FOLLOW_PCB wxT( "follow_pcb_editor" )
33#define FOLLOW_PLOT_SETTINGS wxT( "follow_plot_settings" )
34#define LEGACY_PRESET_FLAG wxT( "legacy_preset_flag" )
44 const std::map<int, KIGFX::COLOR4D>& aColors ) :
53 std::map<int, KIGFX::COLOR4D>
colors;
declared enumerations and flags
MATERIAL_MODE
Render 3d model shape materials mode.
RENDER_ENGINE
Render engine mode.
APP_SETTINGS_BASE is a settings class that should be derived for each standalone KiCad application.
virtual bool MigrateFromLegacy(wxConfigBase *aLegacyConfig) override
Migrates from wxConfig to JSON-based configuration.
virtual std::string getLegacyFrameName() const override
virtual ~EDA_3D_VIEWER_SETTINGS()
LAYER_PRESET_3D * FindPreset(const wxString &aName)
std::vector< LAYER_PRESET_3D > m_LayerPresets
A color representation with 4 components: red, green, blue, alpha.
Like a normal param, but with custom getter and setter functions.
std::vector< LAYER_PRESET_3D > * m_presets
void jsonToPresets(const nlohmann::json &aJson)
nlohmann::json presetsToJson()
ANTIALIASING_MODE
Anti-aliasing options.
double rotation_increment
int moving_speed_multiplier
bool opengl_thickness_disableOnMove
bool opengl_copper_thickness
bool opengl_render_bbox_only_OnMove
std::vector< int > raytrace_lightElevation
bool show_footprints_normal
bool use_board_editor_copper_colors
MATERIAL_MODE material_mode
KIGFX::COLOR4D raytrace_lightColorCamera
ANTIALIASING_MODE opengl_AA_mode
bool raytrace_post_processing
std::vector< KIGFX::COLOR4D > raytrace_lightColor
KIGFX::COLOR4D raytrace_lightColorBottom
float raytrace_spread_shadows
KIGFX::COLOR4D opengl_selection_color
bool clip_silk_on_via_annuli
bool raytrace_reflections
bool show_footprints_virtual
float raytrace_spread_reflections
int raytrace_nrsamples_shadows
bool differentiate_plated_copper
bool show_silkscreen_bottom
std::vector< int > raytrace_lightAzimuth
int raytrace_nrsamples_reflections
bool subtract_mask_from_silk
bool raytrace_refractions
bool show_footprints_not_in_posfile
int raytrace_recursivelevel_reflections
int raytrace_nrsamples_refractions
bool highlight_on_rollover
bool raytrace_procedural_textures
bool show_footprints_insert
int raytrace_recursivelevel_refractions
bool DifferentiatePlatedCopper()
return true if platted copper aeras and non platted copper areas must be drawn using a different colo...
bool show_soldermask_bottom
KIGFX::COLOR4D raytrace_lightColorTop
float raytrace_spread_refractions
bool opengl_holes_disableOnMove
bool raytrace_anti_aliasing
bool opengl_AA_disableOnMove
bool opengl_vias_disableOnMove
wxString name
A name for this layer set.
LAYER_PRESET_3D(const wxString &aName, const std::bitset< LAYER_3D_END > &aLayers, const std::map< int, KIGFX::COLOR4D > &aColors)
std::bitset< LAYER_3D_END > layers
std::map< int, KIGFX::COLOR4D > colors