![]() |
Prusa Slicer 2.6.0
|
#include <src/libslic3r/Preset.hpp>
Collaboration diagram for Slic3r::PhysicalPrinter:Public Member Functions | |
| PhysicalPrinter (const std::string &name, const DynamicPrintConfig &default_config) | |
| PhysicalPrinter (const std::string &name, const DynamicPrintConfig &default_config, const Preset &preset) | |
| void | set_name (const std::string &name) |
| const std::set< std::string > & | get_preset_names () const |
| bool | has_empty_config () const |
| void | update_preset_names_in_config () |
| void | save () |
| void | save (const std::string &file_name_from, const std::string &file_name_to) |
| void | update_from_preset (const Preset &preset) |
| void | update_from_config (const DynamicPrintConfig &new_config) |
| bool | add_preset (const std::string &preset_name) |
| bool | delete_preset (const std::string &preset_name) |
| void | reset_presets () |
| PrinterTechnology | printer_technology () const |
| bool | operator< (const PhysicalPrinter &other) const |
| std::string | get_full_name (const std::string &preset_name) const |
Static Public Member Functions | |
| static std::string | separator () |
| static const std::vector< std::string > & | printer_options () |
| static const std::vector< std::string > & | print_host_options () |
| static std::vector< std::string > | presets_with_print_host_information (const PrinterPresetCollection &printer_presets) |
| static bool | has_print_host_information (const DynamicPrintConfig &config) |
| static PrinterTechnology | printer_technology (const DynamicPrintConfig &cfg) |
| static std::string | get_short_name (std::string full_name) |
| static std::string | get_preset_name (std::string full_name) |
Public Attributes | |
| std::string | name |
| std::string | file |
| DynamicPrintConfig | config |
| std::set< std::string > | preset_names |
| bool | loaded = false |
Friends | |
| class | PhysicalPrinterCollection |
| Slic3r::PhysicalPrinter::PhysicalPrinter | ( | const std::string & | name, |
| const DynamicPrintConfig & | default_config | ||
| ) |
References config, and update_from_config().
Here is the call graph for this function:| Slic3r::PhysicalPrinter::PhysicalPrinter | ( | const std::string & | name, |
| const DynamicPrintConfig & | default_config, | ||
| const Preset & | preset | ||
| ) |
References update_from_preset().
Here is the call graph for this function:| bool Slic3r::PhysicalPrinter::add_preset | ( | const std::string & | preset_name | ) |
References preset_names.
Referenced by Slic3r::PhysicalPrinterCollection::load_printers_from_presets(), Slic3r::GUI::PhysicalPrinterDialog::OnOK(), Slic3r::PhysicalPrinterCollection::rename_preset_in_printers(), and Slic3r::GUI::SavePresetDialog::update_physical_printers().
Here is the caller graph for this function:| bool Slic3r::PhysicalPrinter::delete_preset | ( | const std::string & | preset_name | ) |
References preset_names.
Referenced by Slic3r::GUI::Tab::delete_preset(), Slic3r::PhysicalPrinterCollection::delete_preset_from_printers(), Slic3r::PhysicalPrinterCollection::rename_preset_in_printers(), and Slic3r::GUI::SavePresetDialog::update_physical_printers().
Here is the caller graph for this function:| std::string Slic3r::PhysicalPrinter::get_full_name | ( | const std::string & | preset_name | ) | const |
References name, and separator().
Referenced by Slic3r::PhysicalPrinterCollection::get_selected_full_printer_name(), and Slic3r::GUI::SavePresetDialog::update_physical_printers().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References name, Slic3r::Preset::remove_suffix_modified(), and separator().
Referenced by Slic3r::GUI::TabPresetComboBox::update_dirty().
Here is the call graph for this function:
Here is the caller graph for this function:| const std::set< std::string > & Slic3r::PhysicalPrinter::get_preset_names | ( | ) | const |
References preset_names.
Referenced by Slic3r::GUI::PhysicalPrinterDialog::PhysicalPrinterDialog().
Here is the caller graph for this function:
|
static |
References separator().
Referenced by Slic3r::GUI::PhysicalPrinterDialog::PhysicalPrinterDialog(), Slic3r::PhysicalPrinterCollection::select_printer(), and Slic3r::GUI::TabPresetComboBox::update_dirty().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Slic3r::PhysicalPrinter::has_empty_config | ( | ) | const |
References config, and Slic3r::ConfigBase::opt_string().
Referenced by Slic3r::GUI::PresetForPrinter::PresetForPrinter().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References config, Slic3r::legacy_print_host_options, and Slic3r::ConfigBase::opt_string().
Referenced by presets_with_print_host_information().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
static |
References has_print_host_information().
Referenced by Slic3r::GUI::GUI_App::check_printer_presets().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
References Slic3r::s_PhysicalPrinter_opts.
Referenced by update_from_config(), and update_from_preset().
Here is the caller graph for this function:
|
inline |
References printer_technology().
Referenced by printer_technology().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
References Slic3r::ConfigBase::option(), and Slic3r::ptFFF.
Referenced by Slic3r::GUI::PhysicalPrinterDialog::get_printer_technology(), and Slic3r::PhysicalPrinterCollection::get_selected_printer_technology().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::PhysicalPrinter::reset_presets | ( | ) |
References preset_names.
Referenced by Slic3r::GUI::PhysicalPrinterDialog::OnOK().
Here is the caller graph for this function:
|
inline |
References Slic3r::ConfigBase::save().
Referenced by Slic3r::PhysicalPrinterCollection::rename_preset_in_printers(), and Slic3r::PhysicalPrinterCollection::save_printer().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::PhysicalPrinter::save | ( | const std::string & | file_name_from, |
| const std::string & | file_name_to | ||
| ) |
References config, file, and Slic3r::ConfigBase::save().
Here is the call graph for this function:
|
static |
Referenced by get_full_name(), get_preset_name(), get_short_name(), Slic3r::PhysicalPrinterCollection::select_printer(), Slic3r::GUI::TabPresetComboBox::update_dirty(), and Slic3r::GUI::PresetForPrinter::update_full_printer_name().
Here is the caller graph for this function:References name.
Referenced by Slic3r::GUI::PhysicalPrinterDialog::OnOK().
Here is the caller graph for this function:| void Slic3r::PhysicalPrinter::update_from_config | ( | const DynamicPrintConfig & | new_config | ) |
References Slic3r::ConfigBase::apply_only(), config, Slic3r::ConfigBase::option(), preset_names, printer_options(), and Slic3r::update_preset_name_option().
Referenced by PhysicalPrinter(), and Slic3r::PhysicalPrinterCollection::load_printers().
Here is the call graph for this function:
Here is the caller graph for this function:References Slic3r::ConfigBase::apply_only(), Slic3r::Preset::config, config, Slic3r::Preset::name, preset_names, printer_options(), and update_preset_names_in_config().
Referenced by PhysicalPrinter(), and Slic3r::GUI::PresetForPrinter::PresetForPrinter().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::PhysicalPrinter::update_preset_names_in_config | ( | ) |
References Slic3r::ConfigOptionVector< T >::clear(), config, Slic3r::ConfigBase::option(), preset_names, and Slic3r::update_preset_name_option().
Referenced by Slic3r::PhysicalPrinterCollection::rename_preset_in_printers(), Slic3r::PhysicalPrinterCollection::save_printer(), and update_from_preset().
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
| DynamicPrintConfig Slic3r::PhysicalPrinter::config |
Referenced by PhysicalPrinter(), Slic3r::GUI::PhysicalPrinterDialog::PhysicalPrinterDialog(), Slic3r::GUI::PhysicalPrinterDialog::build_printhost_settings(), Slic3r::PhysicalPrinterCollection::find_printer_with_same_config(), Slic3r::PhysicalPrinterCollection::get_selected_printer_config(), has_empty_config(), has_print_host_information(), Slic3r::GUI::PresetComboBox::open_physical_printer_url(), save(), Slic3r::PhysicalPrinterCollection::save_printer(), Slic3r::GUI::PlaterPresetComboBox::show_edit_menu(), update_from_config(), update_from_preset(), and update_preset_names_in_config().
| std::string Slic3r::PhysicalPrinter::file |
| bool Slic3r::PhysicalPrinter::loaded = false |
| std::string Slic3r::PhysicalPrinter::name |
Referenced by Slic3r::GUI::Tab::delete_preset(), Slic3r::PhysicalPrinterCollection::delete_preset_from_printers(), Slic3r::PhysicalPrinterCollection::find_printer_internal(), Slic3r::PhysicalPrinterCollection::find_printer_with_same_config(), get_full_name(), get_preset_name(), Slic3r::PhysicalPrinterCollection::get_printers_with_only_preset(), Slic3r::PhysicalPrinterCollection::get_printers_with_preset(), Slic3r::PhysicalPrinterCollection::get_selected_printer_name(), Slic3r::PresetBundle::load_config_file_config(), Slic3r::GUI::PhysicalPrinterDialog::OnOK(), operator<(), Slic3r::PhysicalPrinterCollection::save_printer(), Slic3r::PhysicalPrinterCollection::select_printer(), and set_name().
| std::set<std::string> Slic3r::PhysicalPrinter::preset_names |
Referenced by add_preset(), Slic3r::GUI::Tab::delete_preset(), delete_preset(), Slic3r::PhysicalPrinterCollection::delete_preset_from_printers(), get_preset_names(), Slic3r::PhysicalPrinterCollection::get_printers_with_only_preset(), Slic3r::PhysicalPrinterCollection::get_printers_with_preset(), Slic3r::PresetBundle::load_config_file_config(), Slic3r::GUI::PhysicalPrinterDialog::OnOK(), reset_presets(), Slic3r::PhysicalPrinterCollection::save_printer(), update_from_config(), update_from_preset(), and update_preset_names_in_config().