#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/PrintConfig.hpp>
Public Member Functions | |
| void | reset () |
| void | assign_config (const ModelConfig &rhs) |
| void | assign_config (ModelConfig &&rhs) |
| void | assign_config (const DynamicPrintConfig &rhs) |
| void | assign_config (DynamicPrintConfig &&rhs) |
| void | apply (const ModelConfig &other, bool ignore_nonexistent=false) |
| void | apply (const ConfigBase &other, bool ignore_nonexistent=false) |
| void | apply_only (const ModelConfig &other, const t_config_option_keys &keys, bool ignore_nonexistent=false) |
| void | apply_only (const ConfigBase &other, const t_config_option_keys &keys, bool ignore_nonexistent=false) |
| bool | set_key_value (const std::string &opt_key, ConfigOption *opt) |
| template<typename T> | |
| void | set (const std::string &opt_key, T value) |
| void | set_deserialize (const t_config_option_key &opt_key, const std::string &str, ConfigSubstitutionContext &substitution_context, bool append=false) |
| bool | erase (const t_config_option_key &opt_key) |
| const DynamicPrintConfig & | get () const throw () |
| bool | empty () const throw () |
| size_t | size () const throw () |
| auto | cbegin () const |
| auto | cend () const |
| t_config_option_keys | keys () const |
| bool | has (const t_config_option_key &opt_key) const |
| const ConfigOption * | option (const t_config_option_key &opt_key) const |
| int | opt_int (const t_config_option_key &opt_key) const |
| int | extruder () const |
| double | opt_float (const t_config_option_key &opt_key) const |
| double | get_abs_value (const t_config_option_key &opt_key) const |
| std::string | opt_serialize (const t_config_option_key &opt_key) const |
| virtual uint64_t | timestamp () const throw () |
| bool | timestamp_matches (const ModelConfig &rhs) const throw () |
| void | touch () |
Private Member Functions | |
| template<class Archive> | |
| void | serialize (Archive &ar) |
Private Attributes | |
| uint64_t | m_timestamp { 1 } |
| DynamicPrintConfig | m_data |
Static Private Attributes | |
| static uint64_t | s_last_timestamp = 1 |
Friends | |
| class | cereal::access |
|
inline |
References Slic3r::ConfigBase::keys(), m_data, and touch().
|
inline |
References apply(), and get().
Referenced by apply(), Slic3r::GUI::GLGizmoMeshBoolean::generate_new_volume(), Slic3r::GUI::Plater::priv::reload_from_disk(), Slic3r::GUI::Plater::priv::replace_volume_with_stl(), and Slic3r::ModelObject::split().
|
inline |
|
inline |
References apply_only(), get(), and keys().
Referenced by apply_only(), Slic3r::GUI::ObjectSettings::update_config_values(), and Slic3r::GUI::ObjectTableSettings::update_config_values().
|
inline |
|
inline |
References m_data, and m_timestamp.
Referenced by Slic3r::SLAPrint::apply(), Slic3r::GUI::ObjectList::boolean(), Slic3r::ModelObject::convert_units(), Slic3r::GUI::Selection::copy_to_clipboard(), Slic3r::GUI::Tab::load_current_preset(), Slic3r::GUI::ObjectList::merge(), merge_or_add_object(), Slic3r::ModelObject::merge_volumes(), Slic3r::model_volume_list_copy_configs(), Slic3r::GUI::GLGizmoBrimEars::on_render_input_window(), Slic3r::GUI::GLGizmoFuzzySkin::on_render_input_window(), Slic3r::CLI::run(), and Slic3r::ModelObject::split().
|
inline |
|
inline |
References m_data, and m_timestamp.
|
inline |
|
inline | ||||||||||||
|
inline |
References m_data, and touch().
Referenced by Slic3r::GUI::ObjectGridTable::construct_object_configs(), Slic3r::GUI::ObjectGridTable::reload_part_data(), Slic3r::GUI::ObjectTableSettings::resetAllValues(), Slic3r::GUI::ObjectList::set_extruder_for_selected_items(), Slic3r::GUI::ObjectGridTable::update_value_to_config(), and Slic3r::GUI::ObjectGridTable::update_volume_values_from_object().
|
inline |
References opt_int().
Referenced by Slic3r::Model::add_object(), Slic3r::Model::add_object(), Slic3r::Model::add_object(), Slic3r::GUI::ObjectList::add_volumes_to_object_in_list(), Slic3r::GUI::ObjectDataViewModel::AddObject(), Slic3r::GUI::MenuFactory::append_menu_item_change_extruder(), Slic3r::GUI::MenuFactory::append_menu_item_change_filament(), Slic3r::GUI::Plater::priv::apply_textured_mesh_import_result(), Slic3r::GUI::PartPlate::check_single_extruder_mixed_filament_risk(), Slic3r::GUI::ObjectList::delete_from_model_and_list(), Slic3r::GUI::Plater::priv::load_files(), merge_or_add_object(), Slic3r::Print::process(), Slic3r::CLI::run(), and Slic3r::GUI::ObjectList::split().
|
inline | ||||||||||||
References m_data.
Referenced by Slic3r::GUI::ObjectList::add_volumes_to_object_in_list(), apply(), Slic3r::SLAPrint::apply(), apply_only(), Slic3r::GUI::ObjectList::copy_settings_to_clipboard(), Slic3r::sla::find_least_supports_rotation(), Slic3r::GUI::GLGizmoBrimEars::get_config_options(), Slic3r::GUI::Tab::load_current_preset(), merge_or_add_object(), Slic3r::GUI::ObjectList::object_config_options_changed(), Slic3r::GUI::GLGizmoBrimEars::on_render_input_window(), Slic3r::GUI::GLGizmoFuzzySkin::on_render_input_window(), Slic3r::Print::process(), Slic3r::region_config_from_model_volume(), Slic3r::GUI::ObjectTableSettings::resetAllValues(), Slic3r::CLI::run(), Slic3r::GUI::ObjectList::split(), Slic3r::GUI::ObjectSettings::update_config_values(), and Slic3r::GUI::ObjectTableSettings::update_settings_list().
|
inline |
|
inline |
References m_data.
Referenced by Slic3r::GUI::ObjectSettings::add_missed_options(), Slic3r::GUI::ObjectTableSettings::add_missed_options(), Slic3r::Model::add_object(), Slic3r::Model::add_object(), Slic3r::Model::add_object(), Slic3r::GUI::ObjectList::add_volumes_to_object_in_list(), Slic3r::GUI::ObjectDataViewModel::AddObject(), Slic3r::GUI::MenuFactory::append_menu_item_change_extruder(), Slic3r::GUI::MenuFactory::append_menu_item_change_filament(), Slic3r::Print::auto_assign_extruders(), Slic3r::GUI::PartPlate::check_single_extruder_mixed_filament_risk(), Slic3r::GUI::ObjectList::delete_from_model_and_list(), Slic3r::GUI::ObjectList::get_default_layer_config(), Slic3r::GUI::ObjectGridTable::get_volume_config_value(), Slic3r::GUI::Plater::priv::load_files(), Slic3r::GUI::ObjectList::load_generic_subobject(), Slic3r::GUI::ObjectList::load_modifier(), Slic3r::Print::process(), Slic3r::GUI::ObjectList::set_extruder_for_selected_items(), Slic3r::GUI::ObjectList::split(), Slic3r::GUI::ObjectTableSettings::update_extra_column_visible_status(), Slic3r::GUI::GCodeViewer::update_layers_slider_mode(), Slic3r::GUI::ObjectGridTable::update_value_to_config(), and Slic3r::GUI::ObjectTableSettings::ValueChanged().
|
inline |
References m_data.
Referenced by Slic3r::_3MF_Exporter::_add_layer_config_ranges_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_layer_config_ranges_file_to_archive(), Slic3r::_3MF_Exporter::_add_model_config_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_model_config_file_to_archive(), apply_only(), apply_only(), Slic3r::GUI::create_settings_popupmenu(), Slic3r::GUI::ObjectList::merge(), Slic3r::GUI::ObjectList::paste_settings_into_list(), and Slic3r::GUI::ObjectSettings::update_config_values().
|
inline |
References m_data.
Referenced by Slic3r::GUI::ObjectList::get_default_layer_config().
|
inline |
References m_data.
Referenced by extruder(), Slic3r::GUI::ObjectList::get_default_layer_config(), Slic3r::GUI::ObjectList::load_generic_subobject(), and Slic3r::GUI::ObjectList::load_modifier().
|
inline |
References m_data.
Referenced by Slic3r::_3MF_Exporter::_add_layer_config_ranges_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_layer_config_ranges_file_to_archive(), Slic3r::_3MF_Exporter::_add_model_config_file_to_archive(), and Slic3r::_BBS_3MF_Exporter::_add_model_config_file_to_archive().
|
inline |
References m_data.
Referenced by Slic3r::GUI::MenuFactory::append_menu_items_flush_options(), Slic3r::GUI::ObjectGridTable::construct_object_configs(), Slic3r::GUI::ensure_belt_purge_tower(), Slic3r::GUI::PartPlate::get_extruders(), Slic3r::GUI::PartPlate::get_extruders_under_cli(), Slic3r::GUI::ObjectGridTable::get_volume_config_value(), Slic3r::GUI::is_belt_purge_prism(), Slic3r::GUI::Plater::priv::load_files(), Slic3r::GUI::ObjectList::merge(), Slic3r::GUI::anonymous_namespace{PublishSettingsDialog.cpp}::project_used_filament_slots(), Slic3r::GUI::GLGizmoMmuSegmentation::remap_filament_assignments(), Slic3r::CLI::run(), Slic3r::GUI::GCodeViewer::update_layers_slider_mode(), Slic3r::GUI::ObjectGridTable::update_volume_values_from_object(), and Slic3r::GUI::ObjectTableSettings::ValueChanged().
|
inline |
References m_data, and touch().
Referenced by Slic3r::GUI::ObjectList::last_volume_is_deleted(), Slic3r::GUI::Plater::priv::load_files(), Slic3r::ModelObject::split(), and Slic3r::GUI::ObjectTableSettings::update_config_values().
|
inlineprivate |
References m_data, and m_timestamp.
|
inline |
References m_data, and touch().
Referenced by Slic3r::GUI::Plater::priv::apply_textured_mesh_import_result(), Slic3r::Print::auto_assign_extruders(), Slic3r::GUI::Plater::priv::load_files(), and Slic3r::GUI::GLGizmoMmuSegmentation::remap_filament_assignments().
|
inline |
References Slic3r::append(), m_data, and touch().
Referenced by Slic3r::_3MF_Importer::_generate_volumes(), Slic3r::_BBS_3MF_Importer::_generate_volumes_new(), Slic3r::_3MF_Importer::_load_model_from_file(), and construct_assemble_list().
|
inline |
References m_data, and touch().
Referenced by Slic3r::GUI::Plater::_calib_apply_belt_mode(), Slic3r::GUI::Plater::_calib_pa_pattern(), Slic3r::GUI::Plater::_calib_temp_belt_sectioned(), Slic3r::GUI::ObjectSettings::add_missed_options(), Slic3r::GUI::ObjectTableSettings::add_missed_options(), Slic3r::Model::add_object(), Slic3r::Model::add_object(), Slic3r::Model::add_object(), Slic3r::GUI::MenuFactory::append_menu_items_flush_options(), Slic3r::GUI::Plater::calib_retraction(), Slic3r::GUI::Plater::calib_temp(), construct_assemble_list(), Slic3r::GUI::ObjectGridTable::construct_object_configs(), anonymous_namespace{EmbossJob.cpp}::create_volume(), Slic3r::GUI::ensure_belt_purge_tower(), anonymous_namespace{EmbossJob.cpp}::CreateObjectJob::finalize(), Slic3r::GUI::ObjectList::last_volume_is_deleted(), Slic3r::GUI::ObjectList::load_generic_subobject(), Slic3r::GUI::ObjectList::load_mesh_object(), Slic3r::GUI::ObjectList::load_modifier(), Slic3r::GUI::ObjectList::merge(), merge_or_add_object(), Slic3r::CLI::run(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_two_color_cube_and_export(), Slic3r::GUI::ObjectGridTable::update_filament_to_config(), and Slic3r::GUI::ObjectGridTable::update_value_to_config().
|
inline | ||||||||||||
|
inlinevirtual | ||||||||||||
Reimplemented in Slic3r::ModelConfigObject.
References m_timestamp.
Referenced by Slic3r::ModelConfigObject::timestamp().
|
inline | |||||||||||||
References m_timestamp.
Referenced by Slic3r::SLAPrint::apply().
|
inline |
References m_timestamp, and s_last_timestamp.
Referenced by apply(), apply_only(), assign_config(), assign_config(), erase(), reset(), set(), set_deserialize(), set_key_value(), Slic3r::GUI::ObjectGridTable::update_filament_to_config(), and Slic3r::GUI::ObjectGridTable::update_value_to_config().
|
friend |
References cereal::access.
Referenced by cereal::access.
|
private |
Referenced by apply(), apply_only(), assign_config(), assign_config(), assign_config(), assign_config(), cbegin(), cend(), empty(), erase(), get(), get_abs_value(), has(), keys(), opt_float(), opt_int(), opt_serialize(), option(), reset(), serialize(), set(), set_deserialize(), set_key_value(), and size().
|
private |
Referenced by assign_config(), assign_config(), serialize(), timestamp(), timestamp_matches(), and touch().
|
staticprivate |
Referenced by touch().