#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/PrintBase.hpp>
Public Types | |
| typedef PrintState< PrintObjectStepEnum, COUNT > | PrintObjectState |
| using | Timestamp = uint64_t |
Public Member Functions | |
| PrintType * | print () |
| const PrintType * | print () const |
| bool | is_step_done (PrintObjectStepEnum step) const |
| PrintStateBase::StateWithTimeStamp | step_state_with_timestamp (PrintObjectStepEnum step) const |
| PrintStateBase::StateWithWarnings | step_state_with_warnings (PrintObjectStepEnum step) const |
| const ModelObject * | model_object () const |
| ModelObject * | model_object () |
| ObjectID | id () const |
| virtual Timestamp | timestamp () const |
Static Protected Member Functions | |
| static std::mutex & | state_mutex (PrintBase *print) |
| static std::function< void()> | cancel_callback (PrintBase *print) |
Protected Attributes | |
| friend | PrintType |
| PrintType * | m_print |
| ModelObject * | m_model_object |
Private Member Functions | |
| template<class Archive> | |
| void | serialize (Archive &ar) |
Static Private Member Functions | |
| static ObjectID | generate_new_id () |
| template<class Archive> | |
| static void | load_and_construct (Archive &ar, cereal::construct< ObjectBase > &construct) |
Private Attributes | |
| PrintState< PrintObjectStepEnum, COUNT > | m_state |
| ObjectID | m_id |
Static Private Attributes | |
| static size_t | s_last_id = 0 |
| typedef PrintState<PrintObjectStepEnum, COUNT> Slic3r::PrintObjectBaseWithState< PrintType, PrintObjectStepEnum, COUNT >::PrintObjectState |
|
inherited |
|
inlineprotected |
|
inlineprotected |
|
inlineprotectedvirtualinherited |
Reimplemented in Slic3r::Model, Slic3r::ModelObject, and Slic3r::ModelVolume.
References set_new_unique_id().
|
staticprotectedinherited |
References Slic3r::PrintBase::cancel_callback().
Referenced by Slic3r::PrintObjectBaseWithState< Print, PrintObjectStep, posCount >::invalidate_all_steps(), Slic3r::PrintObjectBaseWithState< Print, PrintObjectStep, posCount >::invalidate_step(), Slic3r::PrintObjectBaseWithState< Print, PrintObjectStep, posCount >::invalidate_steps(), and Slic3r::PrintObjectBaseWithState< Print, PrintObjectStep, posCount >::invalidate_steps().
|
inlineprotectedinherited |
References ObjectBase(), id(), and m_id.
Referenced by Slic3r::CutObjectBase::copy().
|
protectedinherited |
|
inlinestaticprivateinherited |
References s_last_id.
Referenced by ObjectBase(), and set_new_unique_id().
|
inlineinherited |
References m_id.
Referenced by Slic3r::CutObjectBase::CutObjectBase(), Slic3r::Model::Model(), Slic3r::ModelInstance::ModelInstance(), Slic3r::ModelMaterial::ModelMaterial(), Slic3r::ModelObject::ModelObject(), Slic3r::ModelObject::ModelObject(), Slic3r::ModelObject::ModelObject(), Slic3r::ModelObject::ModelObject(), Slic3r::ModelObject::ModelObject(), Slic3r::ModelVolume::ModelVolume(), Slic3r::ModelVolume::ModelVolume(), Slic3r::ModelVolume::ModelVolume(), Slic3r::ModelVolume::ModelVolume(), Slic3r::ModelVolume::ModelVolume(), Slic3r::ModelVolume::ModelVolume(), ObjectBase(), Slic3r::PrintBase::SlicingStatus::SlicingStatus(), Slic3r::PrintBase::SlicingStatus::SlicingStatus(), Slic3r::_BBS_3MF_Exporter::_add_cut_information_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_model_config_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_slice_info_config_file_to_archive(), Slic3r::GUI::Plater::priv::actualize_slicing_warnings(), Slic3r::ModelObjectStatusDB::add(), Slic3r::ModelObjectStatusDB::add_if_new(), Slic3r::Model::add_object(), Slic3r::append_and_translate(), Slic3r::SLAPrint::apply(), Slic3r::GUI::calc_distance(), Slic3r::GUI::calc_surface_offset(), Slic3r::check_model_ids_equal(), Slic3r::check_model_ids_validity(), Slic3r::GUI::GLGizmoTextureDisplacement::close_image_adjust(), Slic3r::Model::collect_reusable_objects(), Slic3r::ModelObject::convert_units(), copy_id(), Slic3r::PrintObjectStatusDB::count(), anonymous_namespace{RaycastManager.cpp}::create_key(), Slic3r::GUI::create_meshes(), anonymous_namespace{EmbossJob.cpp}::create_volume(), Slic3r::GUI::Emboss::create_volume_sources(), Slic3r::GUI::GLGizmoPainterBase::data_changed(), Slic3r::GCode::do_export(), Slic3r::GUI::PartPlate::duplicate_all_instance(), Slic3r::GUI::PartPlateList::duplicate_plate(), Slic3r::GUI::PartPlate::estimate_wipe_tower_footprint(), Slic3r::Print::export_cached_data(), Slic3r::GUI::Plater::export_stl(), Slic3r::find_volume_extents(), Slic3r::PreciseSeam::detail::fragment_location(), Slic3r::GUI::Plater::priv::generate_first_layer_bbox(), Slic3r::ModelObjectStatusDB::get(), Slic3r::Model::get_backup_path(), Slic3r::GUI::GLCanvas3D::get_empty_cells(), Slic3r::ModelInstance::get_labeled_id(), Slic3r::GUI::get_model_volume(), Slic3r::PrintObjectStatusDB::get_range(), Slic3r::GUI::get_selected_volume(), Slic3r::GUI::get_volume(), Slic3r::CutObjectBase::has_same_id(), Slic3r::UndoRedo::StackImpl::immutable_object_id_impl(), Slic3r::GUI::GLGizmoFdmSupports::init_print_instance(), Slic3r::CutObjectBase::is_equal(), Slic3r::GUI::GLGizmoSVG::is_svg_object(), Slic3r::ModelVolume::is_the_only_one_part(), Slic3r::GUI::IMSlider::IsNewPrint(), Slic3r::ModelObject::load(), load_and_construct(), Slic3r::Print::load_cached_data(), Slic3r::GLVolumeCollection::load_object_auxiliary(), Slic3r::GLVolumeCollection::load_object_volume(), Slic3r::GUI::GCodeViewer::load_shells(), Slic3r::UndoRedo::StackImpl::load_snapshot(), Slic3r::GUI::GLCanvas3D::CenterOfMass::model_markers(), Slic3r::model_property_changed(), Slic3r::model_volume_list_changed(), Slic3r::model_volume_list_copy_configs(), Slic3r::ModelConfigObject::object_id_and_timestamp_match(), Slic3r::ObjectWithTimestamp::object_id_and_timestamp_match(), Slic3r::GUI::GLGizmoEmboss::on_mouse_change_selection(), Slic3r::GUI::GLGizmoSimplify::on_render_input_window(), Slic3r::GUI::GLGizmoTextureDisplacement::open_image_adjust(), Slic3r::CutObjectBase::operator<(), Slic3r::Model::operator=(), Slic3r::ModelObject::operator=(), Slic3r::ModelObject::operator=(), Slic3r::CutObjectBase::operator==(), Slic3r::outer_inner_brim_area(), Slic3r::GUI::GLGizmoTextureDisplacement::painted_area_mm2(), Slic3r::GUI::GLGizmoCut3D::perform_cut(), anonymous_namespace{GLGizmoEmboss.cpp}::prepare_volumes_to_slice(), Slic3r::GUI::GLGizmoTextureDisplacement::preview_part(), Slic3r::GCode::process_layer(), Slic3r::GUI::NotificationManager::push_slicing_warning_notification(), Slic3r::GUI::GLGizmoTextureDisplacement::queue_preview_job(), Slic3r::GUI::queue_texture_displacement_debug(), Slic3r::GUI::GLGizmoEmboss::re_emboss(), Slic3r::GUI::GLGizmoTextureDisplacement::rebuild_other_paint_overlay(), Slic3r::GUI::GLGizmoTextureDisplacement::rebuild_painted_colors(), Slic3r::GUI::GLCanvas3D::reload_scene(), Slic3r::_BBS_Backup_Manager::remove_backup(), Slic3r::Model::remove_backup_path_if_exist(), Slic3r::GUI::GLGizmoTextureDisplacement::render_image_adjust_window(), Slic3r::CLI::run(), Slic3r::GUI::GLCanvas3D::LayersEditing::select_object(), Slic3r::ModelMaterial::serialize(), Slic3r::Model::set_backup_path(), Slic3r::GUI::GLGizmoBrimEars::set_brim_data(), Slic3r::GUI::PartPlate::set_hover_id(), Slic3r::GUI::GLGizmoEmboss::set_volume_by_selection(), Slic3r::GUI::GLGizmoSVG::set_volume_by_selection(), Slic3r::sla_instances(), Slic3r::slices_to_regions(), Slic3r::ModelObject::split(), anonymous_namespace{EmbossJob.cpp}::start_create_volume_on_surface_job(), anonymous_namespace{SurfaceDrag.cpp}::start_dragging(), Slic3r::GUI::Emboss::start_update_volume(), Slic3r::UndoRedo::StackImpl::take_snapshot(), Slic3r::GUI::texture_displacement_bake_volume(), Slic3r::GUI::GLGizmoPainterBase::update_contours(), anonymous_namespace{EmbossJob.cpp}::update_name_in_list(), Slic3r::GUI::ObjectList::update_name_in_model(), Slic3r::GUI::update_object_cut_id(), Slic3r::GUI::GLGizmoTextureDisplacement::v2_recommendation(), Slic3r::verify_update_print_object_regions(), wipe_tower_instance_id, and wipe_tower_object_id.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
Referenced by Slic3r::GUI::GLCanvas3D::_render_sla_slices(), Slic3r::GLVolumeCollection::load_object_auxiliary(), and Slic3r::Print::process().
|
inlineprotected |
|
inlineprotected |
|
inlinestaticprivateinherited |
|
inlineinherited |
References m_model_object.
|
inlineinherited |
References m_model_object.
Referenced by PrintObjectBase(), Slic3r::GUI::GLCanvas3D::_set_warning_notification(), Slic3r::SLAPrint::apply(), Slic3r::SeamPlacerImpl::compute_global_occlusion(), Slic3r::Print::export_cached_data(), Slic3r::GUI::Plater::export_stl(), Slic3r::PreciseSeam::detail::fragment_location(), Slic3r::SeamPlacerImpl::gather_enforcers_blockers(), Slic3r::get_instance_name(), Slic3r::groupingVolumesForBrim(), Slic3r::GLVolumeCollection::load_object_auxiliary(), Slic3r::GUI::Plater::priv::on_process_completed(), Slic3r::GUI::Plater::priv::on_slicing_update(), Slic3r::outer_inner_brim_area(), Slic3r::Print::process(), Slic3r::GUI::Plater::priv::process_validation_warning(), Slic3r::GUI::NotificationManager::push_validate_error_notification(), Slic3r::segmentation_by_painting(), Slic3r::segmentation_top_and_bottom_layers(), and Slic3r::Print::validate().
|
inline |
Referenced by Slic3r::FillLightning::Generator::Generator(), Slic3r::FillLightning::Generator::Generator(), Slic3r::TreeSupport3D::TreeModelVolumes::TreeModelVolumes(), Slic3r::TreeSupport3D::TreeSupportMeshGroupSettings::TreeSupportMeshGroupSettings(), Slic3r::FillAdaptive::adaptive_fill_line_spacing(), Slic3r::SeamPlacer::align_seam_points(), Slic3r::LayerRegion::bridging_flow(), Slic3r::generate_tree_support_3D(), Slic3r::get_boundary_external(), Slic3r::get_default_perimeter_spacing(), Slic3r::get_perimeter_spacing_external(), Slic3r::getadhesionCoeff(), Slic3r::group_fills(), Slic3r::groupingVolumesForBrim(), Slic3r::LayerRegion::make_perimeters(), Slic3r::multi_material_segmentation_by_painting(), Slic3r::segmentation_top_and_bottom_layers(), Slic3r::Layer::simplify_support_loop(), Slic3r::Layer::simplify_support_multi_path(), Slic3r::Layer::simplify_support_path(), Slic3r::support_material_1st_layer_flow(), Slic3r::support_material_flow(), Slic3r::support_material_interface_flow(), and Slic3r::support_transition_flow().
|
inline |
|
inlineprivateinherited |
|
inlineprotected |
Referenced by Slic3r::Print::process().
|
inlineprotectedinherited |
References m_id.
Referenced by Slic3r::CutObjectBase::invalidate().
|
inlineprotectedinherited |
References generate_new_id(), and m_id.
Referenced by Slic3r::ModelVolume::ModelVolume(), Slic3r::Model::assign_new_unique_ids_recursive(), Slic3r::ModelVolume::assign_new_unique_ids_recursive(), assign_new_unique_ids_recursive(), Slic3r::CutObjectBase::init(), Slic3r::ModelMaterial::set_new_unique_id(), Slic3r::ModelObject::set_new_unique_id(), and Slic3r::ModelVolume::set_new_unique_id().
|
inlineprotected |
Referenced by Slic3r::Print::process().
|
staticprotectedinherited |
References Slic3r::PrintBase::state_mutex().
Referenced by Slic3r::PrintObjectBaseWithState< Print, PrintObjectStep, posCount >::active_step_add_warning(), Slic3r::PrintObjectBaseWithState< Print, PrintObjectStep, posCount >::is_step_done(), Slic3r::PrintObjectBaseWithState< Print, PrintObjectStep, posCount >::set_done(), Slic3r::PrintObjectBaseWithState< Print, PrintObjectStep, posCount >::set_started(), Slic3r::PrintObjectBaseWithState< Print, PrintObjectStep, posCount >::step_state_with_timestamp(), and Slic3r::PrintObjectBaseWithState< Print, PrintObjectStep, posCount >::step_state_with_warnings().
|
protectedinherited |
References Slic3r::PrintBase::status_update_warnings().
Referenced by Slic3r::PrintObjectBaseWithState< Print, PrintObjectStep, posCount >::active_step_add_warning(), and Slic3r::PrintObjectBaseWithState< Print, PrintObjectStep, posCount >::set_done().
|
inline |
|
inline |
Referenced by Slic3r::GUI::Plater::priv::on_slicing_update().
|
inlineprotected |
Referenced by Slic3r::PrintObjectBaseWithState< Print, PrintObjectStep, posCount >::set_done(), and Slic3r::PrintObjectBaseWithState< Print, PrintObjectStep, posCount >::set_started().
|
inlinevirtualinherited |
Reimplemented in Slic3r::ModelConfigObject, and Slic3r::ObjectWithTimestamp.
|
privateinherited |
Referenced by ObjectBase(), ObjectBase(), ObjectBase(), copy_id(), id(), serialize(), set_invalid_id(), and set_new_unique_id().
|
protectedinherited |
Referenced by PrintObjectBase(), model_object(), model_object(), and Slic3r::SLAPrint::Steps::support_points().
|
protected |
|
private |
|
protected |
|
staticprivateinherited |
Referenced by generate_new_id().