#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Config.hpp>
Public Member Functions | |
| ConfigOptionEnumsGenericTempl (const t_config_enum_values *keys_map=nullptr) | |
| ConfigOptionEnumsGenericTempl (const t_config_enum_values *keys_map, size_t size, int value) | |
| ConfigOptionEnumsGenericTempl (std::initializer_list< int > il) | |
| ConfigOptionEnumsGenericTempl (const std::vector< int > &vec) | |
| ConfigOptionEnumsGenericTempl (std::vector< int > &&vec) | |
| ConfigOptionType | type () const override |
| ConfigOption * | clone () const override |
| ConfigOptionEnumsGenericTempl & | operator= (const ConfigOption *opt) |
| bool | operator< (const ConfigOptionInts &rhs) const throw () |
| bool | operator== (const ConfigOptionInts &rhs) const |
| bool | nullable () const override |
| void | set (const ConfigOption *rhs) override |
| std::string | serialize () const override |
| std::vector< std::string > | vserialize () const override |
| bool | deserialize (const std::string &str, bool append=false) override |
| bool | operator== (const ConfigOptionIntsTempl &rhs) const throw () |
| bool | operator== (const ConfigOption &rhs) const override |
| bool | operator< (const ConfigOptionIntsTempl &rhs) const throw () |
| bool | is_nil () const override |
| bool | is_nil (size_t idx) const override |
| virtual void | set_at_to_nil (size_t i) override |
| virtual void | set (const std::vector< const ConfigOption * > &rhs)=0 |
| virtual void | set (const ConfigOption *rhs, size_t start, size_t len)=0 |
| void | set_at (const ConfigOption *rhs, size_t i, size_t j) override |
| void | append (const ConfigOption *rhs) override |
| virtual void | set_with_restore (const ConfigOptionVectorBase *rhs, std::vector< int > &restore_index, int stride) override |
| virtual void | set_with_restore_2 (const ConfigOptionVectorBase *rhs, std::vector< int > &restore_index, int start, int len, bool skip_error=false) override |
| virtual void | set_only_diff (const ConfigOptionVectorBase *rhs, std::vector< int > &diff_index, int stride, bool keep_nil) override |
| virtual void | set_to_index (const ConfigOptionVectorBase *rhs, std::vector< int > &dest_index, int stride) override |
| virtual void | set_with_nil (const ConfigOptionVectorBase *rhs, const ConfigOptionVectorBase *inherits, int stride) override |
| const int & | get_at (size_t i) const |
| void | resize (size_t n, const ConfigOption *opt_default=nullptr) override |
| void | clear () override |
| size_t | size () const override |
| bool | empty () const override |
| bool | operator!= (const std::vector< int > &rhs) const throw () |
| bool | operator!= (const ConfigOption &rhs) const |
| size_t | hash () const override throw () |
| bool | overriden_by (const ConfigOption *rhs) const override |
| bool | apply_override (const ConfigOption *rhs, std::vector< int > &default_index) override |
| virtual int | getInt () const |
| virtual double | getFloat () const |
| virtual bool | getBool () const |
| virtual void | setInt (int) |
| bool | is_scalar () const |
| bool | is_vector () const |
Static Public Member Functions | |
| static ConfigOptionType | static_type () |
| static int | nil_value () |
Public Attributes | |
| const t_config_enum_values * | keys_map { nullptr } |
| std::vector< int > | values |
Protected Member Functions | |
| ConfigOptionType | scalar_type () const |
Private Member Functions | |
| void | serialize_single_value (std::ostringstream &ss, const int v) const |
| template<class Archive> | |
| void | serialize (Archive &ar) |
Friends | |
| class | cereal::access |
|
inline |
Referenced by Slic3r::ConfigOptionEnumsGenericTempl< false >::clone().
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineoverridevirtualinherited |
Implements Slic3r::ConfigOptionVectorBase.
|
inlineoverridevirtualinherited |
Reimplemented from Slic3r::ConfigOption.
|
inlineoverridevirtualinherited |
Implements Slic3r::ConfigOptionVectorBase.
|
inlineoverridevirtual |
Implements Slic3r::ConfigOption.
|
inlineoverridevirtual |
Implements Slic3r::ConfigOption.
Referenced by Slic3r::PresetBundle::load_selections(), and Slic3r::GUI::TabPrinter::on_preset_loaded().
|
inlineoverridevirtualinherited |
Implements Slic3r::ConfigOptionVectorBase.
Referenced by Slic3r::GUI::SpinCtrl::BUILD(), and Slic3r::GUI::Sidebar::update_presets().
|
inlineinherited |
Referenced by Slic3r::GUI::ConfigOptionsGroup::back_to_config_value(), Slic3r::GUI::SpinCtrl::BUILD(), Slic3r::PresetBundle::check_filament_temp_equation_by_printer_type_and_nozzle_for_mas_tray(), Slic3r::GCode::do_export(), Slic3r::GUI::ExtrusionCalibration::get_bed_temp(), Slic3r::GCode::get_bed_temperature(), Slic3r::DynamicPrintConfig::get_index_for_extruder(), Slic3r::get_instance_arrange_poly(), Slic3r::GUI::get_preset_info(), Slic3r::GUI::CalibrationPresetPage::is_filaments_compatiable(), Slic3r::GUI::ExtrusionCalibration::on_click_cali(), Slic3r::GUI::ExtrusionCalibration::on_click_save(), Slic3r::GUI::AMSMaterialsSetting::on_select_filament(), Slic3r::GUI::AMSMaterialsSetting::Popup(), Slic3r::CLI::run(), Slic3r::GUI::ExtrusionCalibration::update_filament_info(), Slic3r::Print::validate(), and Slic3r::GUI::Tab::validate_filament_temperature_pairs().
|
inlinevirtualinherited |
Reimplemented in Slic3r::ConfigOptionBool.
Referenced by Slic3r::_BBS_3MF_Exporter::_add_model_config_file_to_archive(), Slic3r::GUI::MenuFactory::append_menu_items_flush_options(), Slic3r::Print::apply(), Slic3r::GUI::PartPlate::estimate_wipe_tower_footprint(), Slic3r::GUI::PartPlate::get_extruders(), Slic3r::GUI::PartPlate::get_extruders_under_cli(), Slic3r::GUI::PartPlate::get_object_filament_extruders(), and Slic3r::GUI::ArrangeJob::prepare_wipe_tower().
|
inlinevirtualinherited |
Reimplemented in Slic3r::ConfigOptionFloat.
Referenced by Slic3r::estimate_wipe_tower_first_layer_outline(), Slic3r::GUI::PartPlate::estimate_wipe_tower_footprint(), Slic3r::GUI::PartPlate::get_object_filament_extruders(), Slic3r::GUI::get_string_value(), Slic3r::CLI::run(), Slic3r::client::MyContext::scalar_variable_to_expr(), Slic3r::client::MyContext::vector_element_to_expr(), and Slic3r::GUI::PartPlate::wipe_tower_obstacles().
|
inlinevirtualinherited |
Reimplemented in Slic3r::ConfigOptionEnum< T >, Slic3r::ConfigOptionEnum< BrimType >, and Slic3r::ConfigOptionInt.
Referenced by Slic3r::_BBS_3MF_Exporter::_add_model_config_file_to_archive(), Slic3r::estimate_wipe_tower_first_layer_outline(), Slic3r::GUI::PartPlate::estimate_wipe_tower_footprint(), Slic3r::GUI::ConfigOptionsGroup::get_config_value(), Slic3r::GUI::ConfigOptionsGroup::get_config_value2(), Slic3r::GUI::PartPlate::get_extruders(), Slic3r::GUI::PartPlate::get_extruders_under_cli(), Slic3r::get_instance_arrange_poly(), Slic3r::GUI::PartPlate::get_object_filament_extruders(), Slic3r::GUI::get_string_from_enum(), Slic3r::PrintConfigDef::handle_legacy_composite(), Slic3r::client::MyContext::legacy_variable_expansion2(), Slic3r::GUI::Plater::priv::load_files(), Slic3r::DynamicPrintConfig::normalize_fdm(), Slic3r::DynamicPrintConfig::normalize_fdm_1(), Slic3r::ConfigOptionEnum< T >::operator==(), Slic3r::ConfigOptionEnumGeneric::operator==(), Slic3r::DynamicConfig::opt_enum(), Slic3r::prime_tower_is_printed(), Slic3r::GUI::GLGizmoMmuSegmentation::remap_filament_assignments(), Slic3r::resolve_wipe_tower_type(), Slic3r::ConfigOptionEnum< T >::set(), Slic3r::ConfigOptionEnumGeneric::set(), Slic3r::GUI::GCodeViewer::update_layers_slider_mode(), and Slic3r::GUI::PartPlate::wipe_tower_obstacles().
|
inlineoverridevirtualinherited | ||||||||||||
Implements Slic3r::ConfigOption.
|
inlineoverridevirtualinherited |
Reimplemented from Slic3r::ConfigOption.
References Slic3r::ConfigOptionIntsTempl< NULLABLE >::nil_value().
|
inlineoverridevirtualinherited |
|
inlineinherited |
References Slic3r::coVectorType, is_scalar(), and type().
Referenced by Slic3r::PresetBundle::construct_full_config(), Slic3r::PresetBundle::full_fff_config(), Slic3r::PresetCollection::get_preset_differed_for_save(), is_scalar(), is_vector(), Slic3r::PresetBundle::load_config_file_config(), Slic3r::CLI::run(), Slic3r::Preset::save(), Slic3r::client::MyContext::scalar_variable_assign_scalar(), Slic3r::DynamicPrintConfig::update_diff_values_to_child_config(), Slic3r::DynamicPrintConfig::update_non_diff_values_to_base_config(), Slic3r::update_static_print_config_from_dynamic(), Slic3r::client::MyContext::vector_variable_assign_array(), Slic3r::client::MyContext::vector_variable_assign_initializer_list(), and Slic3r::client::MyContext::vector_variable_new_from_array().
|
inlineinherited |
References is_scalar().
Referenced by Slic3r::client::MyContext::copy_vector_variable_to_vector_variable(), Slic3r::PresetBundle::load_config_file_config(), Slic3r::GUI::Tab::options_list_storage_key(), Slic3r::DynamicConfig::read_cli(), Slic3r::client::MyContext::scalar_variable_new_from_scalar_expression(), Slic3r::client::MyContext::vector_variable_element_assign_scalar(), and Slic3r::client::MyContext::vector_variable_new_from_copy().
|
inlinestaticinherited |
Referenced by Slic3r::ConfigOptionEnumsGenericTempl< false >::deserialize(), and Slic3r::ConfigOptionEnumsGenericTempl< false >::serialize_single_value().
|
inlineoverridevirtual |
Reimplemented from Slic3r::ConfigOption.
|
inlineinherited |
|
inlineinherited | |||||||||||||
|
inline | |||||||||||||
|
inlineinherited | |||||||||||||
|
inline |
|
inline |
|
inline | |||||||||||||
|
inlineoverridevirtualinherited |
Implements Slic3r::ConfigOption.
|
inlineoverridevirtualinherited |
Reimplemented from Slic3r::ConfigOption.
|
inlineoverridevirtualinherited |
Implements Slic3r::ConfigOptionVectorBase.
|
inlineprotectedinherited |
References Slic3r::coVectorType, and Slic3r::ConfigOption::type().
|
inlineoverridevirtual |
Implements Slic3r::ConfigOption.
Referenced by Slic3r::GUI::TabPrinter::set_extruder_volume_type().
|
inlineprivate |
|
inlineprivate |
Referenced by Slic3r::ConfigOptionEnumsGenericTempl< false >::serialize(), and Slic3r::ConfigOptionEnumsGenericTempl< false >::vserialize().
|
inlineoverridevirtual |
Implements Slic3r::ConfigOption.
Referenced by Slic3r::ConfigOptionEnumsGenericTempl< false >::operator=().
|
pure virtualinherited |
Implemented in Slic3r::ConfigOptionVector< T >.
|
pure virtualinherited |
Implemented in Slic3r::ConfigOptionVector< T >.
Referenced by Slic3r::PresetBundle::construct_full_config(), Slic3r::PresetBundle::full_fff_config(), and Slic3r::PresetBundle::load_config_file_config().
|
inlineoverridevirtualinherited |
Implements Slic3r::ConfigOptionVectorBase.
|
inlineoverridevirtualinherited |
Reimplemented from Slic3r::ConfigOptionVector< int >.
References Slic3r::ConfigOptionIntsTempl< NULLABLE >::nil_value(), Slic3r::ConfigOptionIntsTempl< NULLABLE >::nullable(), and values.
|
inlineoverridevirtualinherited |
Implements Slic3r::ConfigOptionVectorBase.
|
inlineoverridevirtualinherited |
Implements Slic3r::ConfigOptionVectorBase.
|
inlineoverridevirtualinherited |
Implements Slic3r::ConfigOptionVectorBase.
|
inlineoverridevirtualinherited |
Implements Slic3r::ConfigOptionVectorBase.
|
inlineoverridevirtualinherited |
Implements Slic3r::ConfigOptionVectorBase.
|
inlinevirtualinherited |
Reimplemented in Slic3r::ConfigOptionEnum< T >, Slic3r::ConfigOptionEnum< BrimType >, and Slic3r::ConfigOptionInt.
Referenced by Slic3r::DynamicPrintConfig::normalize_fdm(), and Slic3r::DynamicPrintConfig::normalize_fdm_1().
|
inlineoverridevirtualinherited |
Implements Slic3r::ConfigOptionVectorBase.
Referenced by Slic3r::GUI::ConfigOptionsGroup::back_to_config_value(), Slic3r::GUI::SpinCtrl::BUILD(), Slic3r::GUI::collect_imex_warnings(), Slic3r::client::MyContext::get_extruder_id(), Slic3r::PresetBundle::load_config_file_config(), Slic3r::PresetBundle::load_selections(), Slic3r::GUI::Tab::switch_excluder(), Slic3r::GUI::sync_loaded_project_filament_config(), and Slic3r::GUI::Sidebar::update_presets().
|
inlinestatic |
Referenced by Slic3r::ConfigOptionEnumsGenericTempl< false >::type().
|
inlineoverridevirtual |
Implements Slic3r::ConfigOption.
|
inlineoverridevirtual |
Implements Slic3r::ConfigOptionVectorBase.
|
friend |
| const t_config_enum_values* Slic3r::ConfigOptionEnumsGenericTempl< NULLABLE >::keys_map { nullptr } |
|
inherited |
Referenced by Slic3r::GUI::FilamentMapManualPanel::FilamentMapManualPanel(), Slic3r::_BBS_3MF_Exporter::_add_model_config_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_slice_info_config_file_to_archive(), Slic3r::GCode::_do_export(), Slic3r::GCodeProcessor::apply_config(), Slic3r::apply_first_layer_order(), Slic3r::check_filaments_printable(), Slic3r::PresetBundle::construct_full_config(), Slic3r::effective_physical_extruder_map(), Slic3r::effective_physical_extruder_map(), Slic3r::first_filament_for_physical_head(), Slic3r::PresetBundle::full_fff_config(), Slic3r::client::MyContext::get_extruder_id(), Slic3r::GUI::Tab::get_extruder_sync_enable_state(), Slic3r::GUI::PartPlate::get_first_layer_print_sequence(), Slic3r::DynamicPrintConfig::get_index_for_extruder(), Slic3r::GUI::Sidebar::priv::get_nozzle_options(), Slic3r::GUI::PartPlate::get_other_layers_print_sequence(), Slic3r::has_mmu(), Slic3r::has_non_primary_mmu(), Slic3r::imex_multicolor_block_reason(), Slic3r::imex_pem_tool_for(), Slic3r::imex_physical_heater_for(), Slic3r::imex_primary_logical_from_objects(), Slic3r::imex_resolve_routing(), Slic3r::PresetBundle::load_config_file_config(), Slic3r::GUI::Plater::priv::load_files(), Slic3r::GUI::Plater::on_imex_ghost_click(), Slic3r::ConfigOptionEnumsGenericTempl< false >::operator==(), Slic3r::ToolOrdering::reorder_extruders_for_minimum_flush_volume(), Slic3r::resolve_filament_for_head(), Slic3r::CLI::run(), Slic3r::GUI::TabPrinter::set_extruder_volume_type(), Slic3r::GUI::PartPlate::set_first_layer_print_sequence(), Slic3r::GUI::PartPlate::set_other_layers_print_sequence(), Slic3r::GUI::Tab::switch_excluder(), Slic3r::GUI::Tab::sync_excluder(), Slic3r::GUI::sync_loaded_project_filament_config(), Slic3r::GUI::tryPopUpMultiNozzleDialog(), Slic3r::GUI::PartPlate::update_first_layer_print_sequence(), Slic3r::GUI::PartPlate::update_first_layer_print_sequence_when_delete_filament(), Slic3r::GUI::Sidebar::update_presets(), Slic3r::DynamicPrintConfig::update_values_from_multi_to_multi(), Slic3r::DynamicPrintConfig::update_values_from_single_to_multi(), and Slic3r::GUI::Tab::validate_filament_temperature_pairs().