![]() |
Prusa Slicer 2.6.0
|
#include <src/libslic3r/Config.hpp>
Inheritance diagram for Slic3r::ConfigOptionVector< T >:
Collaboration diagram for Slic3r::ConfigOptionVector< T >:Public Member Functions | |
| ConfigOptionVector () | |
| ConfigOptionVector (size_t n, const T &value) | |
| ConfigOptionVector (std::initializer_list< T > il) | |
| ConfigOptionVector (const std::vector< T > &values) | |
| ConfigOptionVector (std::vector< T > &&values) | |
| void | set (const ConfigOption *rhs) override |
| void | set (const std::vector< const ConfigOption * > &rhs) override |
| void | set_at (const ConfigOption *rhs, size_t i, size_t j) override |
| const T & | get_at (size_t i) const |
| T & | get_at (size_t i) |
| 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 ConfigOption &rhs) const override |
| bool | operator== (const std::vector< T > &rhs) const throw () |
| bool | operator!= (const std::vector< T > &rhs) const throw () |
| size_t | hash () const override throw () |
| bool | overriden_by (const ConfigOption *rhs) const override |
| bool | apply_override (const ConfigOption *rhs) override |
| virtual std::vector< std::string > | vserialize () const =0 |
| virtual bool | is_nil (size_t idx) const =0 |
| virtual bool | is_nil () const |
| virtual ConfigOptionType | type () const =0 |
| virtual std::string | serialize () const =0 |
| virtual bool | deserialize (const std::string &str, bool append=false)=0 |
| virtual ConfigOption * | clone () const =0 |
| virtual int | getInt () const |
| virtual double | getFloat () const |
| virtual bool | getBool () const |
| virtual void | setInt (int) |
| bool | operator!= (const ConfigOption &rhs) const |
| bool | is_scalar () const |
| bool | is_vector () const |
| virtual bool | nullable () const |
Public Attributes | |
| std::vector< T > | values |
Protected Member Functions | |
| ConfigOptionType | scalar_type () const |
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar) |
Friends | |
| class | cereal::access |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineoverridevirtual |
Reimplemented from Slic3r::ConfigOption.
References Slic3r::ConfigOption::nullable(), Slic3r::ConfigOptionVector< T >::size(), Slic3r::ConfigOption::type(), and Slic3r::ConfigOptionVector< T >::values.
Here is the call graph for this function:
|
inlineoverridevirtual |
Implements Slic3r::ConfigOptionVectorBase.
Referenced by Slic3r::GUI::SubstitutionManager::delete_all(), Slic3r::PresetBundle::full_fff_config(), Slic3r::PresetBundle::load_config_file_config(), Slic3r::PresetBundle::load_config_file_config_bundle(), and Slic3r::PhysicalPrinter::update_preset_names_in_config().
Here is the caller graph for this function:
|
pure virtualinherited |
Implemented in Slic3r::ConfigOptionFloat, Slic3r::ConfigOptionFloatsTempl< NULLABLE >, Slic3r::ConfigOptionInt, Slic3r::ConfigOptionIntsTempl< NULLABLE >, Slic3r::ConfigOptionString, Slic3r::ConfigOptionStrings, Slic3r::ConfigOptionPercent, Slic3r::ConfigOptionPercentsTempl< NULLABLE >, Slic3r::ConfigOptionFloatOrPercent, Slic3r::ConfigOptionFloatsOrPercentsTempl< NULLABLE >, Slic3r::ConfigOptionPoint, Slic3r::ConfigOptionPoints, Slic3r::ConfigOptionPoint3, Slic3r::ConfigOptionBool, Slic3r::ConfigOptionBoolsTempl< NULLABLE >, Slic3r::ConfigOptionEnum< T >, and Slic3r::ConfigOptionEnumGeneric.
Referenced by Slic3r::DynamicConfig::DynamicConfig(), Slic3r::GUI::ObjectSettings::add_missed_options(), Slic3r::Print::apply(), Slic3r::SLAPrint::apply(), Slic3r::GUI::ConfigManipulation::apply(), Slic3r::PlaceholderParser::apply_config(), Slic3r::PlaceholderParser::apply_only(), Slic3r::GUI::PlaterPresetComboBox::change_extruder_color(), Slic3r::GUI::Tab::load_config(), Slic3r::GUI::Plater::on_config_change(), Slic3r::print_config_diffs(), Slic3r::ConfigBase::set_deserialize_raw(), and Slic3r::client::MyContext::vector_variable_new_from_copy().
Here is the caller graph for this function:
|
pure virtualinherited |
Implemented in Slic3r::ConfigOptionFloat, Slic3r::ConfigOptionFloatsTempl< NULLABLE >, Slic3r::ConfigOptionInt, Slic3r::ConfigOptionIntsTempl< NULLABLE >, Slic3r::ConfigOptionString, Slic3r::ConfigOptionStrings, Slic3r::ConfigOptionPercent, Slic3r::ConfigOptionFloatOrPercent, Slic3r::ConfigOptionFloatsOrPercentsTempl< NULLABLE >, Slic3r::ConfigOptionPoint, Slic3r::ConfigOptionPoints, Slic3r::ConfigOptionPoint3, Slic3r::ConfigOptionBool, Slic3r::ConfigOptionBoolsTempl< NULLABLE >, Slic3r::ConfigOptionEnum< T >, and Slic3r::ConfigOptionEnumGeneric.
Referenced by Slic3r::ConfigBase::null_nullables(), Slic3r::DynamicConfig::read_cli(), and Slic3r::ConfigBase::set_deserialize_raw().
Here is the caller graph for this function:
|
inlineoverridevirtual |
Implements Slic3r::ConfigOptionVectorBase.
Referenced by Slic3r::GUI::TextCtrl::BUILD(), Slic3r::GUI::Tab::compatible_widget_reload(), Slic3r::GUI::get_string_value(), and Slic3r::GUI::SubstitutionManager::is_empty_substitutions().
Here is the caller graph for this function:
|
inline |
|
inline |
References Slic3r::ConfigOptionVector< T >::values.
Referenced by Slic3r::GUI::TextCtrl::BUILD(), Slic3r::GUI::get_string_value(), and Slic3r::OozePrevention::pre_toolchange().
Here is the caller graph for this function:
|
inlinevirtualinherited |
Reimplemented in Slic3r::ConfigOptionBool.
Referenced by Slic3r::client::MyContext::scalar_variable_to_expr().
Here is the caller graph for this function:
|
inlinevirtualinherited |
Reimplemented in Slic3r::ConfigOptionFloat.
Referenced by Slic3r::GUI::TabSLAMaterial::build(), Slic3r::GUI::get_string_value(), Slic3r::client::MyContext::scalar_variable_to_expr(), and Slic3r::GUI::Sidebar::update_sliced_info_sizer().
Here is the caller graph for this function:
|
inlinevirtualinherited |
Reimplemented in Slic3r::ConfigOptionInt, and Slic3r::ConfigOptionEnum< T >.
Referenced by Slic3r::ModelVolume::extruder_id(), Slic3r::GUI::ConfigOptionsGroup::get_config_value(), Slic3r::GUI::get_string_value(), Slic3r::client::MyContext::legacy_variable_expansion2(), Slic3r::ConfigOptionEnum< T >::operator==(), Slic3r::ConfigOptionEnumGeneric::operator==(), Slic3r::client::MyContext::scalar_variable_to_expr(), Slic3r::ConfigOptionEnum< T >::set(), Slic3r::ConfigOptionEnumGeneric::set(), and Slic3r::GUI::PhysicalPrinterDialog::update_host_type().
Here is the caller graph for this function:
|
inlineoverridevirtual | |||||||||||||
Implements Slic3r::ConfigOption.
References Slic3r::ConfigOptionVector< T >::values.
|
inlinevirtualinherited |
Reimplemented from Slic3r::ConfigOption.
|
pure virtualinherited |
Implemented in Slic3r::ConfigOptionFloatsTempl< NULLABLE >, Slic3r::ConfigOptionIntsTempl< NULLABLE >, Slic3r::ConfigOptionFloatsOrPercentsTempl< NULLABLE >, Slic3r::ConfigOptionBoolsTempl< NULLABLE >, Slic3r::ConfigOptionStrings, and Slic3r::ConfigOptionPoints.
Referenced by Slic3r::client::MyContext::is_nil_test(), Slic3r::client::MyContext::legacy_variable_expansion(), Slic3r::client::MyContext::legacy_variable_expansion2(), and Slic3r::client::MyContext::vector_element_to_expr().
Here is the caller graph for this function:
|
inlineinherited |
References Slic3r::coVectorType, and Slic3r::ConfigOption::type().
Referenced by Slic3r::PresetBundle::full_fff_config(), Slic3r::client::MyContext::is_nil_test(), Slic3r::ConfigOption::is_vector(), Slic3r::client::MyContext::legacy_variable_expansion(), Slic3r::PresetBundle::load_config_file_config(), Slic3r::client::MyContext::scalar_variable_assign_scalar(), Slic3r::client::MyContext::scalar_variable_to_expr(), Slic3r::client::MyContext::vector_variable_assign_array(), Slic3r::client::MyContext::vector_variable_assign_initializer_list(), and Slic3r::client::MyContext::vector_variable_new_from_array().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
References Slic3r::ConfigOption::is_scalar().
Referenced by Slic3r::client::MyContext::copy_vector_variable_to_vector_variable(), Slic3r::client::MyContext::is_nil_test(), Slic3r::client::MyContext::is_vector_empty(), Slic3r::client::MyContext::legacy_variable_expansion(), Slic3r::client::MyContext::legacy_variable_expansion2(), Slic3r::DynamicConfig::read_cli(), Slic3r::client::MyContext::scalar_variable_assign_scalar_expression(), Slic3r::client::MyContext::scalar_variable_new_from_scalar_expression(), Slic3r::client::MyContext::store_variable_index(), Slic3r::ExtruderFilaments::update_compatible_internal(), Slic3r::client::MyContext::variable_value(), Slic3r::client::MyContext::vector_element_to_expr(), Slic3r::client::MyContext::vector_size(), Slic3r::client::MyContext::vector_variable_element_assign_scalar(), and Slic3r::client::MyContext::vector_variable_new_from_copy().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtualinherited |
Reimplemented in Slic3r::ConfigOptionFloatsTempl< NULLABLE >, Slic3r::ConfigOptionIntsTempl< NULLABLE >, Slic3r::ConfigOptionFloatsOrPercentsTempl< NULLABLE >, and Slic3r::ConfigOptionBoolsTempl< NULLABLE >.
Referenced by Slic3r::ConfigOptionVector< T >::apply_override(), Slic3r::ConfigBase::null_nullables(), Slic3r::ConfigOption::overriden_by(), Slic3r::ConfigOptionVector< T >::overriden_by(), Slic3r::ConfigBase::set_deserialize_raw(), and Slic3r::validate().
Here is the caller graph for this function:
|
inlineinherited |
|
inline | ||||||||||||||
|
inlineoverridevirtual |
Implements Slic3r::ConfigOption.
References Slic3r::ConfigOption::type(), and Slic3r::ConfigOptionVector< T >::values.
Here is the call graph for this function:
|
inline | ||||||||||||||
|
inlineoverridevirtual |
Reimplemented from Slic3r::ConfigOption.
References Slic3r::ConfigOption::nullable(), Slic3r::ConfigOptionVector< T >::size(), Slic3r::ConfigOption::type(), and Slic3r::ConfigOptionVector< T >::values.
Here is the call graph for this function:
|
inlineoverridevirtual |
Implements Slic3r::ConfigOptionVectorBase.
References Slic3r::ConfigOptionVector< T >::values.
Referenced by Slic3r::Preset::normalize().
Here is the caller graph for this function:
|
inlineprotectedinherited |
References Slic3r::coVectorType, and Slic3r::ConfigOption::type().
Referenced by Slic3r::ConfigOptionVector< T >::set(), and Slic3r::ConfigOptionVector< T >::set_at().
Here is the call graph for this function:
Here is the caller graph for this function:
|
pure virtualinherited |
Implemented in Slic3r::ConfigOptionFloat, Slic3r::ConfigOptionFloatsTempl< NULLABLE >, Slic3r::ConfigOptionInt, Slic3r::ConfigOptionIntsTempl< NULLABLE >, Slic3r::ConfigOptionString, Slic3r::ConfigOptionStrings, Slic3r::ConfigOptionPercent, Slic3r::ConfigOptionPercentsTempl< NULLABLE >, Slic3r::ConfigOptionFloatOrPercent, Slic3r::ConfigOptionFloatsOrPercentsTempl< NULLABLE >, Slic3r::ConfigOptionPoint, Slic3r::ConfigOptionPoints, Slic3r::ConfigOptionPoint3, Slic3r::ConfigOptionBool, Slic3r::ConfigOptionBoolsTempl< NULLABLE >, Slic3r::ConfigOptionEnum< T >, and Slic3r::ConfigOptionEnumGeneric.
Referenced by Slic3r::anonymous_namespace{AnycubicSLA.cpp}::fill_header(), Slic3r::anonymous_namespace{SL1.cpp}::get_cfg_value(), Slic3r::client::MyContext::legacy_variable_expansion(), Slic3r::ConfigBase::opt_serialize(), and Slic3r::client::MyContext::scalar_variable_to_expr().
Here is the caller graph for this function:
|
inlineprivate |
|
inlineoverridevirtual |
Implements Slic3r::ConfigOption.
References Slic3r::ConfigOption::type(), and Slic3r::ConfigOptionVector< T >::values.
Here is the call graph for this function:
|
inlineoverridevirtual |
Implements Slic3r::ConfigOptionVectorBase.
References Slic3r::ConfigOptionVectorBase::scalar_type(), Slic3r::ConfigOption::type(), and Slic3r::ConfigOptionSingle< T >::value.
Here is the call graph for this function:
|
inlineoverridevirtual |
Implements Slic3r::ConfigOptionVectorBase.
References Slic3r::ConfigOptionVectorBase::scalar_type(), Slic3r::ConfigOption::type(), and Slic3r::ConfigOptionSingle< T >::value.
Here is the call graph for this function:
|
inlinevirtualinherited |
Reimplemented in Slic3r::ConfigOptionInt, and Slic3r::ConfigOptionEnum< T >.
|
inlineoverridevirtual |
Implements Slic3r::ConfigOptionVectorBase.
Referenced by Slic3r::GCodeProcessor::apply_config(), Slic3r::ConfigOptionVector< T >::apply_override(), Slic3r::GUI::TabPrinter::build_fff(), Slic3r::GUI::GUI_App::extruders_cnt(), Slic3r::GUI::GUI_App::extruders_edited_cnt(), Slic3r::GUI::get_string_value(), Slic3r::is_compatible_with_printer(), Slic3r::PresetBundle::load_config_file_config(), Slic3r::GUI::Tab::load_current_preset(), Slic3r::ConfigOptionVector< T >::overriden_by(), Slic3r::GUI::GLCanvas3D::reload_scene(), Slic3r::GUI::ObjectList::split(), Slic3r::PresetCollection::update_compatible_internal(), Slic3r::ExtruderFilaments::update_compatible_internal(), Slic3r::GUI::TabFilament::update_extruder_combobox(), Slic3r::PresetBundle::update_filaments_compatible(), Slic3r::GUI::Sidebar::update_presets(), Slic3r::GUI::DiffPresetDialog::update_tree(), and Slic3r::GUI::Tab::update_wiping_button_visibility().
Here is the caller graph for this function:
|
pure virtualinherited |
Implemented in Slic3r::ConfigOptionFloat, Slic3r::ConfigOptionFloatsTempl< NULLABLE >, Slic3r::ConfigOptionInt, Slic3r::ConfigOptionIntsTempl< NULLABLE >, Slic3r::ConfigOptionString, Slic3r::ConfigOptionStrings, Slic3r::ConfigOptionPercent, Slic3r::ConfigOptionPercentsTempl< NULLABLE >, Slic3r::ConfigOptionFloatOrPercent, Slic3r::ConfigOptionFloatsOrPercentsTempl< NULLABLE >, Slic3r::ConfigOptionPoint, Slic3r::ConfigOptionPoints, Slic3r::ConfigOptionPoint3, Slic3r::ConfigOptionBool, Slic3r::ConfigOptionBoolsTempl< NULLABLE >, Slic3r::ConfigOptionEnum< T >, and Slic3r::ConfigOptionEnumGeneric.
Referenced by Slic3r::Search::OptionsSearcher::append_options(), Slic3r::ConfigOptionVector< T >::apply_override(), Slic3r::client::MyContext::copy_vector_variable_to_vector_variable(), Slic3r::deep_diff(), Slic3r::ConfigBase::get_abs_value(), Slic3r::ConfigBase::get_abs_value(), Slic3r::ConfigOption::is_scalar(), Slic3r::client::MyContext::legacy_variable_expansion2(), Slic3r::PresetBundle::load_config_file_config(), Slic3r::PresetBundle::load_config_file_config_bundle(), Slic3r::ConfigOptionSingle< T >::operator==(), Slic3r::ConfigOptionVector< T >::operator==(), Slic3r::ConfigOptionFloatsTempl< NULLABLE >::operator==(), Slic3r::ConfigOptionFloatOrPercent::operator==(), Slic3r::ConfigOptionFloatsOrPercentsTempl< NULLABLE >::operator==(), Slic3r::ConfigOptionEnum< T >::operator==(), Slic3r::ConfigOptionEnumGeneric::operator==(), Slic3r::ConfigOptionResolver::option(), Slic3r::ConfigBase::option(), Slic3r::ConfigOptionResolver::option_throw(), Slic3r::ConfigBase::option_throw(), Slic3r::ConfigOptionVector< T >::overriden_by(), Slic3r::DynamicConfig::read_cli(), Slic3r::ConfigOptionVectorBase::scalar_type(), Slic3r::client::MyContext::scalar_variable_assign_scalar(), Slic3r::client::MyContext::scalar_variable_to_expr(), Slic3r::ConfigOptionSingle< T >::set(), Slic3r::ConfigOptionVector< T >::set(), Slic3r::ConfigOptionFloatOrPercent::set(), Slic3r::ConfigOptionEnum< T >::set(), Slic3r::ConfigOptionEnumGeneric::set(), Slic3r::ConfigBase::set(), Slic3r::ConfigBase::set(), Slic3r::ConfigOptionVector< T >::set(), Slic3r::ConfigOptionVector< T >::set_at(), Slic3r::validate(), Slic3r::client::MyContext::vector_element_to_expr(), Slic3r::client::MyContext::vector_variable_assign_expr_with_count(), Slic3r::client::MyContext::vector_variable_assign_initializer_list(), Slic3r::client::MyContext::vector_variable_element_assign_scalar(), and Slic3r::client::MyContext::vector_variable_new_from_copy().
Here is the caller graph for this function:
|
pure virtualinherited |
Implemented in Slic3r::ConfigOptionFloatsTempl< NULLABLE >, Slic3r::ConfigOptionIntsTempl< NULLABLE >, Slic3r::ConfigOptionStrings, Slic3r::ConfigOptionPercentsTempl< NULLABLE >, Slic3r::ConfigOptionFloatsOrPercentsTempl< NULLABLE >, Slic3r::ConfigOptionPoints, and Slic3r::ConfigOptionBoolsTempl< NULLABLE >.
Referenced by Slic3r::client::MyContext::legacy_variable_expansion(), and Slic3r::client::MyContext::legacy_variable_expansion2().
Here is the caller graph for this function:
|
friend |
| std::vector<T> Slic3r::ConfigOptionVector< T >::values |
Referenced by Slic3r::GUI::BedShape::BedShape(), Slic3r::GCodeProcessor::apply_config(), Slic3r::ConfigOptionVector< T >::apply_override(), Slic3r::GUI::TextCtrl::BUILD(), Slic3r::GUI::TabPrinter::build_extruder_pages(), Slic3r::GUI::TabPrinter::build_fff(), Slic3r::GUI::BedShapePanel::build_panel(), Slic3r::GUI::TabPrinter::cache_extruder_cnt(), Slic3r::GUI::Bed3D::detect_type(), Slic3r::GUI::TabPrinter::extruders_count_changed(), Slic3r::GUI::Plater::force_filament_colors_update(), Slic3r::PresetBundle::full_fff_config(), Slic3r::ConfigOptionVector< T >::get_at(), Slic3r::GUI::ConfigOptionsGroup::get_config_value(), Slic3r::GUI::Materials::get_filament_type(), Slic3r::GUI::get_string_value(), Slic3r::ConfigOptionVector< T >::hash(), Slic3r::PrintConfigDef::init_fff_params(), Slic3r::GUI::MainFrame::init_tabpanel(), Slic3r::is_compatible_with_print(), Slic3r::is_compatible_with_printer(), Slic3r::PresetBundle::load_config_file_config(), Slic3r::GUI::TabPrinter::on_preset_loaded(), Slic3r::ConfigOptionVector< T >::operator==(), Slic3r::ConfigOptionVector< T >::overriden_by(), Slic3r::GCode::placeholder_parser_process(), Slic3r::ConfigOptionVector< T >::resize(), Slic3r::ConfigOptionVector< T >::set(), Slic3r::GUI::Plater::set_bed_shape(), Slic3r::GUI::BedShapePanel::set_shape(), Slic3r::GUI::PointCtrl::set_value(), Slic3r::GUI::TabPrinter::toggle_options(), Slic3r::GLVolumeCollection::update_colors_by_extruder(), Slic3r::PresetBundle::update_multi_material_filament_presets(), Slic3r::GUI::DiffPresetDialog::update_tree(), Slic3r::GUI::UnsavedChangesDialog::update_tree(), Slic3r::validate(), Slic3r::client::MyContext::vector_element_to_expr(), and Slic3r::client::MyContext::vector_variable_new_from_copy().