#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Model.hpp>
Public Types | |
| using | Timestamp = uint64_t |
Public Attributes | |
| ModelInstanceEPrintVolumeState | print_volume_state |
| bool | printable |
| bool | use_loaded_id_for_label {false} |
| int | arrange_order = 0 |
| size_t | loaded_id = 0 |
Protected Member Functions | |
| ModelInstance (const ModelInstance &rhs)=default | |
| void | set_model_object (ModelObject *model_object) |
| ModelInstanceEPrintVolumeState | update_print_volume_state (const BuildVolume &build_volume) |
| void | set_new_unique_id () |
| void | set_invalid_id () |
| void | copy_id (const ObjectBase &rhs) |
| virtual void | assign_new_unique_ids_recursive () |
Private Member Functions | |
| ModelInstance (ModelObject *object) | |
| ModelInstance (ModelObject *object, const ModelInstance &other) | |
| ModelInstance (ModelInstance &&rhs)=delete | |
| ModelInstance & | operator= (const ModelInstance &rhs)=delete |
| ModelInstance & | operator= (ModelInstance &&rhs)=delete |
| ModelInstance () | |
| 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 | |
| Geometry::Transformation | m_transformation |
| Geometry::Transformation | m_assemble_transformation |
| Vec3d | m_offset_to_assembly { 0.0, 0.0, 0.0 } |
| bool | m_assemble_initialized |
| ModelObject * | object |
| Polygon | convex_hull |
| ObjectID | m_id |
Static Private Attributes | |
| static size_t | s_last_id = 0 |
Friends | |
| class | |
| class | SLAPrint |
| class | Model |
| class | ModelObject |
| class | cereal::access |
| class | UndoRedo::StackImpl |
|
inherited |
|
explicitprotecteddefault |
References ModelInstance().
Referenced by ModelInstance(), ModelInstance(), ModelInstance(), intersects_bed_exclude_regions(), operator=(), and operator=().
|
inlineexplicitprivate |
References m_assemble_initialized, Slic3r::ModelInstancePVS_Inside, ModelObject, object, print_volume_state, and printable.
|
inlineexplicitprivate |
References ModelInstance(), Slic3r::ObjectBase::id(), m_assemble_initialized, m_assemble_transformation, m_offset_to_assembly, m_transformation, Slic3r::ModelInstancePVS_Inside, ModelObject, object, print_volume_state, and printable.
|
explicitprivatedelete |
|
inlineprivate |
|
inline |
References set_offset(), set_rotation(), Slic3r::unscale(), Slic3r::X, Slic3r::Y, and Slic3r::Z.
Referenced by Slic3r::GUI::FillBedJob::prepare().
|
inlineprotectedvirtualinherited |
Reimplemented in Slic3r::Model, Slic3r::ModelObject, and Slic3r::ModelVolume.
References set_new_unique_id().
| ModelInstanceEPrintVolumeState Slic3r::ModelInstance::calc_print_volume_state | ( | const BuildVolume & | build_volume | ) | const |
References Slic3r::BuildVolume::Below, Slic3r::TriangleMesh::bounding_box(), Slic3r::BuildVolume::bounding_volume2d(), calc_print_volume_state(), Slic3r::Circle, Slic3r::Convex, Slic3r::Custom, Slic3r::ModelVolume::get_convex_hull(), get_matrix(), Slic3r::ModelVolume::get_matrix(), Slic3r::BoundingBoxBase< PointType, APointsType >::inflated(), Slic3r::BuildVolume::Inside, Slic3r::ModelVolume::is_model_part(), Slic3r::TriangleMesh::its, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::max, Slic3r::ModelVolume::mesh(), Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::min, Slic3r::ModelInstancePVS_Fully_Outside, Slic3r::ModelInstancePVS_Inside, Slic3r::ModelInstancePVS_Partly_Outside, Slic3r::ModelVolume::name, Slic3r::BuildVolume::object_state(), Slic3r::BuildVolume::Outside, Slic3r::Rectangle, Slic3r::BuildVolume::SceneEpsilon, Slic3r::BoundingBox3Base< PointType >::size(), Slic3r::to_2d(), Slic3r::TriangleMesh::transformed_bounding_box(), Slic3r::BuildVolume::type(), Slic3r::BuildVolume::volume_state_bbox(), and Slic3r::ModelObject::volumes.
Referenced by calc_print_volume_state(), Slic3r::GUI::PartPlate::check_outside(), and update_print_volume_state().
| Polygon Slic3r::ModelInstance::convex_hull_2d | ( | ) |
References convex_hull, convex_hull_2d(), get_matrix(), and get_object().
Referenced by Slic3r::GUI::PartPlate::check_outside(), convex_hull_2d(), Slic3r::GUI::PartPlate::imex_placement_violation(), intersects_bed_exclude_regions(), Slic3r::GUI::PartPlate::max_broad_phase_intersecting_object_height(), and Slic3r::GUI::PartPlate::update_exclusion_volume_preview_models().
|
inlineprotectedinherited |
References ObjectBase(), id(), and m_id.
Referenced by Slic3r::CutObjectBase::copy().
|
inlinestaticprivateinherited |
References s_last_id.
Referenced by ObjectBase(), and set_new_unique_id().
| void Slic3r::ModelInstance::get_arrange_polygon | ( | void * | arrange_polygon, |
| const Slic3r::DynamicPrintConfig & | config = Slic3r::DynamicPrintConfig() ) const |
References Slic3r::ExPolygon::contour, Slic3r::arrangement::ArrangePolygon::extrude_ids, get_arrange_polygon(), Slic3r::ModelVolume::get_extruders(), Slic3r::Geometry::Transformation::get_matrix(), get_object(), get_offset(), get_rotation(), Slic3r::ConfigOptionBool::getBool(), Slic3r::ConfigOptionInt::getInt(), m_transformation, object, Slic3r::arrangement::ArrangePolygon::poly, Slic3r::arrangement::ArrangePolygon::rotation, Slic3r::scaled(), Slic3r::Geometry::Transformation::set_offset(), Slic3r::Geometry::Transformation::set_rotation(), Slic3r::arrangement::ArrangePolygon::translation, Slic3r::X, Slic3r::Y, and Slic3r::Z.
Referenced by Slic3r::GUI::Plater::find_new_position(), Slic3r::get_arrange_poly(), get_arrange_polygon(), and Slic3r::get_arrange_polys().
|
inline |
References m_assemble_transformation.
|
inline |
References m_assemble_transformation.
Referenced by Slic3r::GUI::GLGizmoPainterBase::get_projected_height_range(), Slic3r::GUI::GLGizmoPainterBase::gizmo_event(), Slic3r::GLVolumeCollection::load_object_volume(), Slic3r::GUI::GLGizmoPainterBase::mesh_trafo_matrices(), Slic3r::GUI::GLGizmoPainterBase::render_cursor_height_range(), and Slic3r::ModelObject::split().
| double Slic3r::ModelInstance::get_auto_brim_width | ( | ) | const |
References get_auto_brim_width(), Slic3r::getadhesionCoeff(), Slic3r::getTemperatureFromExtruder(), and object.
| double Slic3r::ModelInstance::get_auto_brim_width | ( | double | deltaT, |
| double | adhesion ) const |
References Slic3r::Model::findMaxSpeed(), get_auto_brim_width(), Slic3r::Model::getThermalLength(), object, and transform_bounding_box().
Referenced by get_auto_brim_width(), and get_auto_brim_width().
|
inline |
References Slic3r::ObjectBase::id(), Slic3r::ObjectID::id, loaded_id, and use_loaded_id_for_label.
Referenced by Slic3r::GUI::GLCanvas3D::_set_warning_notification().
|
inline |
References m_transformation.
Referenced by Slic3r::GUI::RaycastManager::actualize(), Slic3r::GUI::ObjectList::boolean(), Slic3r::GUI::PartPlate::calc_imex_ghosts(), calc_print_volume_state(), Slic3r::GUI::Plater::combine_mesh_fff(), convex_hull_2d(), Slic3r::GUI::do_local_z_rotate(), Slic3r::GUI::PartPlate::exclusion_volume_preview_cache_key(), Slic3r::GUI::Plater::export_stl(), Slic3r::GUI::face_selected_volume_to_camera(), intersects_bed_exclude_region(), Slic3r::SlicingAdaptive::prepare(), anonymous_namespace{EmbossJob.cpp}::start_create_volume_on_surface_job(), anonymous_namespace{SurfaceDrag.cpp}::start_dragging(), transform_bounding_box(), transform_mesh(), transform_vector(), and Slic3r::GUI::PartPlate::wipe_tower_obstacles().
|
inline |
References m_transformation.
Referenced by Slic3r::ModelObject::get_instance_max_z(), Slic3r::ModelObject::get_instance_min_z(), Slic3r::GUI::GLGizmoFdmSupports::select_facets_by_angle(), transform_bounding_box(), transform_mesh(), and transform_vector().
|
inline |
References m_transformation.
Referenced by Slic3r::compacted_tower_print_instance_hull(), Slic3r::GUI::GLCanvas3D::get_empty_cells(), Slic3r::sla::RotfinderBoilerplate< MAX_ITER >::get_mesh_to_rotate(), Slic3r::GUI::Plater::increase_instances(), Slic3r::SLAPrint::sla_trafo(), and Slic3r::GUI::GLCanvas3D::update_sequential_clearance().
|
inline |
References m_transformation.
|
inline |
References ModelObject, and object.
Referenced by Slic3r::GUI::RaycastManager::actualize(), convex_hull_2d(), get_arrange_polygon(), Slic3r::get_instance_arrange_poly(), Slic3r::GUI::OrientJob::get_orient_mesh(), intersects_bed_exclude_region(), Slic3r::orientation::orient(), and Slic3r::GUI::ArrangeJob::prepare_arrange_polygon().
|
inline |
References m_transformation.
Referenced by Slic3r::GUI::Plater::_calib_apply_belt_mode(), Slic3r::GUI::Plater::_calib_temp_belt_sectioned(), Slic3r::Model::center_instances_around_point(), Slic3r::GUI::GLGizmoCut3D::check_and_update_connectors_state(), Slic3r::duplicate(), get_arrange_polygon(), Slic3r::GUI::GLCanvas3D::get_empty_cells(), Slic3r::ModelObject::get_instance_max_z(), Slic3r::ModelObject::get_instance_min_z(), Slic3r::GUI::Plater::increase_instances(), Slic3r::invalidate_translations(), Slic3r::GUI::CalibUtils::process_and_store_3mf(), Slic3r::GUI::GLGizmoCut3D::render_connectors(), Slic3r::CLI::run(), Slic3r::sla_instances(), Slic3r::SLAPrint::sla_trafo(), Slic3r::ModelObject::split(), Slic3r::GUI::PartPlate::translate_all_instance(), Slic3r::ModelObject::translate_instance(), Slic3r::GUI::GLGizmoCut3D::unproject_on_cut_plane(), and Slic3r::GUI::GLCanvas3D::update_sequential_clearance().
|
inline |
References m_transformation.
|
inline |
References m_offset_to_assembly.
Referenced by Slic3r::GUI::GLGizmoPainterBase::gizmo_event(), Slic3r::GLVolumeCollection::load_object_volume(), Slic3r::GUI::GLGizmoPainterBase::mesh_trafo_matrices(), and Slic3r::GUI::GLGizmoPainterBase::render_cursor_height_range().
|
inline |
References m_transformation.
Referenced by Slic3r::ModelObject::bake_xy_rotation_into_meshes(), Slic3r::compacted_tower_print_instance_hull(), Slic3r::GUI::RotoptimizeJob::finalize(), get_arrange_polygon(), Slic3r::GUI::GLCanvas3D::get_empty_cells(), Slic3r::GUI::Plater::increase_instances(), rotate(), Slic3r::sla_instances(), Slic3r::SLAPrint::sla_trafo(), transform_polygon(), and Slic3r::GUI::GLCanvas3D::update_sequential_clearance().
|
inline |
References m_transformation.
|
inline |
References m_transformation.
Referenced by Slic3r::compacted_tower_print_instance_hull(), Slic3r::GUI::GLCanvas3D::get_empty_cells(), Slic3r::sla::RotfinderBoilerplate< MAX_ITER >::get_mesh_to_rotate(), Slic3r::GUI::Plater::increase_instances(), Slic3r::GUI::Plater::priv::load_model_objects(), Slic3r::SLAPrint::sla_trafo(), transform_polygon(), Slic3r::PrintBase::update_object_placeholders(), and Slic3r::GUI::GLCanvas3D::update_sequential_clearance().
|
inline |
References m_transformation.
|
inline |
References m_transformation.
Referenced by Slic3r::GUI::PartPlate::add_instance(), Slic3r::PrintObject::contour_z(), Slic3r::Model::convert_multipart_object(), Slic3r::GUI::RotoptimizeJob::finalize(), Slic3r::GUI::GLGizmoPainterBase::get_projected_height_range(), Slic3r::GUI::GLGizmoMeshBoolean::gizmo_event(), Slic3r::GUI::GLGizmoPainterBase::gizmo_event(), Slic3r::ModelObject::instance_bounding_box(), Slic3r::GUI::anonymous_namespace{GLGizmoAlignment.cpp}::instance_box_in_frame(), Slic3r::ModelObject::instance_convex_hull_bounding_box(), Slic3r::GUI::GLGizmoBrimEars::is_mesh_point_clipped(), Slic3r::lay_on_face(), Slic3r::GUI::Plater::priv::load_model_objects(), Slic3r::GLVolumeCollection::load_object_auxiliary(), Slic3r::GLVolumeCollection::load_object_volume(), Slic3r::GUI::GLGizmoPainterBase::mesh_trafo_matrices(), Slic3r::GUI::Selection::paste_objects_from_clipboard(), Slic3r::GUI::Selection::paste_volumes_from_clipboard(), Slic3r::print_objects_from_model_object(), Slic3r::GUI::GLGizmoPainterBase::render_cursor_height_range(), Slic3r::CLI::run(), Slic3r::GUI::PartPlate::set_pos_and_size(), and Slic3r::ModelObject::split().
|
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.
| bool Slic3r::ModelInstance::intersects_bed_exclude_region | ( | const BedExcludeRegion & | region, |
| indexed_triangle_set * | intersection_mesh = nullptr ) const |
References Slic3r::TriangleMesh::bounding_box(), Slic3r::BoundingBox3Base< PointType >::contains(), EPSILON, get_matrix(), Slic3r::ModelVolume::get_matrix(), get_object(), intersects_bed_exclude_region(), Slic3r::ModelVolume::is_model_part(), Slic3r::TriangleMesh::its, Slic3r::ModelVolume::mesh(), ModelObject, Slic3r::MultiPoint::points, Slic3r::BedExcludeRegion::polygon, Slic3r::ModelObject::volumes, Slic3r::BedExcludeRegion::z_max, and Slic3r::BedExcludeRegion::z_min.
Referenced by Slic3r::GUI::PartPlate::check_outside(), intersects_bed_exclude_region(), intersects_bed_exclude_regions(), and Slic3r::GUI::PartPlate::update_exclusion_volume_preview_models().
| bool Slic3r::ModelInstance::intersects_bed_exclude_regions | ( | const std::vector< BedExcludeRegion > & | regions, |
| indexed_triangle_set * | intersection_mesh = nullptr ) const |
References ModelInstance(), convex_hull_2d(), Slic3r::intersection(), intersects_bed_exclude_region(), intersects_bed_exclude_regions(), and Slic3r::its_merge().
Referenced by Slic3r::GLVolumeCollection::check_outside_state(), and intersects_bed_exclude_regions().
| void Slic3r::ModelInstance::invalidate_convex_hull_2d | ( | ) |
References convex_hull, and invalidate_convex_hull_2d().
Referenced by invalidate_convex_hull_2d().
|
inline |
References m_assemble_initialized.
|
inline |
References m_transformation.
Referenced by Slic3r::SlicingAdaptive::prepare(), and Slic3r::SLAPrint::sla_trafo().
|
inline |
References Slic3r::ModelInstancePVS_Inside, print_volume_state, and printable.
Referenced by Slic3r::print_objects_from_model_object(), Slic3r::Model::propose_export_file_name_and_path(), Slic3r::sla_instances(), and Slic3r::PrintBase::update_object_placeholders().
|
inlinestaticprivateinherited |
|
privatedelete |
|
privatedelete |
|
inline |
References get_rotation(), m_transformation, and set_rotation().
Referenced by Slic3r::GUI::Plater::_calib_apply_belt_mode(), Slic3r::GUI::OrientJob::get_orient_mesh(), and Slic3r::orientation::orient().
|
inline |
References Slic3r::angle(), Slic3r::Geometry::extract_euler_angles(), and m_assemble_transformation.
|
inlineprivate |
References m_assemble_initialized, m_assemble_transformation, m_offset_to_assembly, m_transformation, print_volume_state, and printable.
|
inline |
References m_assemble_initialized, m_assemble_transformation, and Slic3r::transform().
Referenced by Slic3r::ModelObject::split().
|
inline |
References m_assemble_transformation, and Slic3r::offset().
|
inline |
References m_assemble_transformation.
|
inline |
References m_assemble_initialized, and m_assemble_transformation.
Referenced by Slic3r::GUI::Selection::paste_objects_from_clipboard().
|
inlineprotectedinherited |
References m_id.
Referenced by Slic3r::CutObjectBase::invalidate().
|
inline |
References m_transformation.
|
inline |
References m_transformation.
Referenced by Slic3r::ModelObject::bake_xy_rotation_into_meshes(), and Slic3r::AMFParserContext::endDocument().
|
inlineprotected |
References ModelObject.
Referenced by Slic3r::Model::update_links_bottom_up_recursive().
|
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().
|
inline |
|
inline |
References m_transformation, and Slic3r::offset().
Referenced by Slic3r::GUI::Plater::_calib_apply_belt_mode(), Slic3r::GUI::Plater::_calib_temp_belt_sectioned(), Slic3r::GUI::PartPlate::add_instance(), apply_arrange_result(), Slic3r::Model::center_instances_around_point(), Slic3r::duplicate(), Slic3r::Model::duplicate_objects_grid(), Slic3r::AMFParserContext::endDocument(), Slic3r::GUI::Plater::priv::load_model_objects(), Slic3r::GUI::Selection::paste_objects_from_clipboard(), Slic3r::GUI::CalibUtils::process_and_store_3mf(), Slic3r::CLI::run(), Slic3r::GUI::PartPlate::set_pos_and_size(), Slic3r::ModelObject::split(), Slic3r::GUI::PartPlate::translate_all_instance(), and Slic3r::ModelObject::translate_instance().
|
inline |
References m_offset_to_assembly, and Slic3r::offset().
Referenced by Slic3r::ModelObject::split().
|
inline |
References m_transformation.
|
inline |
References m_transformation.
Referenced by apply_arrange_result(), Slic3r::ModelObject::bake_xy_rotation_into_meshes(), Slic3r::AMFParserContext::endDocument(), Slic3r::GUI::RotoptimizeJob::finalize(), and rotate().
|
inline |
References m_transformation.
|
inline |
References m_transformation.
Referenced by Slic3r::ModelObject::bake_xy_rotation_into_meshes(), Slic3r::AMFParserContext::endDocument(), and Slic3r::GUI::Plater::priv::load_model_objects().
|
inline |
References m_transformation.
Referenced by Slic3r::_3MF_Importer::_apply_transform(), Slic3r::_BBS_3MF_Importer::_apply_transform(), and Slic3r::lay_on_face().
|
inlinevirtualinherited |
Reimplemented in Slic3r::ModelConfigObject, and Slic3r::ObjectWithTimestamp.
| BoundingBoxf3 Slic3r::ModelInstance::transform_bounding_box | ( | const BoundingBoxf3 & | bbox, |
| bool | dont_translate = false ) const |
References get_matrix(), get_matrix_no_offset(), transform_bounding_box(), and Slic3r::BoundingBoxf3::transformed().
Referenced by get_auto_brim_width(), and transform_bounding_box().
| void Slic3r::ModelInstance::transform_mesh | ( | TriangleMesh * | mesh, |
| bool | dont_translate = false ) const |
References get_matrix(), get_matrix_no_offset(), Slic3r::TriangleMesh::transform(), and transform_mesh().
Referenced by transform_mesh().
| void Slic3r::ModelInstance::transform_polygon | ( | Polygon * | polygon | ) | const |
References get_rotation(), get_scaling_factor(), Slic3r::MultiPoint::rotate(), Slic3r::MultiPoint::scale(), transform_polygon(), Slic3r::X, Slic3r::Y, and Slic3r::Z.
Referenced by transform_polygon().
| Vec3d Slic3r::ModelInstance::transform_vector | ( | const Vec3d & | v, |
| bool | dont_translate = false ) const |
References get_matrix(), get_matrix_no_offset(), and transform_vector().
Referenced by transform_vector().
|
inlineprotected |
References calc_print_volume_state(), and print_volume_state.
|
friend |
References cereal::access.
Referenced by cereal::access.
|
friend |
References ModelObject.
Referenced by ModelInstance(), ModelInstance(), get_object(), intersects_bed_exclude_region(), ModelObject, and set_model_object().
|
friend |
| int Slic3r::ModelInstance::arrange_order = 0 |
|
private |
Referenced by convex_hull_2d(), and invalidate_convex_hull_2d().
| size_t Slic3r::ModelInstance::loaded_id = 0 |
Referenced by Slic3r::_BBS_3MF_Exporter::_add_model_config_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_slice_info_config_file_to_archive(), Slic3r::GUI::PartPlate::duplicate_all_instance(), Slic3r::Print::export_cached_data(), get_labeled_id(), Slic3r::Print::load_cached_data(), Slic3r::GLVolumeCollection::load_object_volume(), and Slic3r::CLI::run().
|
private |
|
private |
|
privateinherited |
Referenced by ObjectBase(), ObjectBase(), ObjectBase(), copy_id(), id(), serialize(), set_invalid_id(), and set_new_unique_id().
|
private |
Referenced by ModelInstance(), get_offset_to_assembly(), serialize(), and set_offset_to_assembly().
|
private |
Referenced by ModelInstance(), get_arrange_polygon(), get_matrix(), get_matrix_no_offset(), get_mirror(), get_mirror(), get_offset(), get_offset(), get_rotation(), get_rotation(), get_scaling_factor(), get_scaling_factor(), get_transformation(), is_left_handed(), rotate(), serialize(), set_mirror(), set_mirror(), set_offset(), set_offset(), set_rotation(), set_rotation(), set_scaling_factor(), set_scaling_factor(), and set_transformation().
|
private |
Referenced by ModelInstance(), ModelInstance(), ModelInstance(), get_arrange_polygon(), get_auto_brim_width(), get_auto_brim_width(), and get_object().
| ModelInstanceEPrintVolumeState Slic3r::ModelInstance::print_volume_state |
Referenced by ModelInstance(), ModelInstance(), is_printable(), Slic3r::CLI::run(), serialize(), and update_print_volume_state().
| bool Slic3r::ModelInstance::printable |
Referenced by ModelInstance(), ModelInstance(), Slic3r::_3MF_Importer::_create_object_instance(), Slic3r::_BBS_3MF_Importer::_create_object_instance(), Slic3r::GUI::PartPlate::duplicate_all_instance(), Slic3r::AMFParserContext::endDocument(), Slic3r::GUI::PartPlate::exclusion_volume_preview_cache_key(), Slic3r::GUI::PartPlate::get_extruders_under_cli(), Slic3r::GUI::PartPlate::has_printable_instances(), Slic3r::GUI::PartPlate::is_all_instances_unprintable(), is_printable(), Slic3r::GUI::PartPlate::max_broad_phase_intersecting_object_height(), Slic3r::GUI::PartPlate::printable_instance_size(), Slic3r::GUI::ObjectList::printable_state_changed(), Slic3r::CLI::run(), serialize(), Slic3r::GUI::PartPlate::update_exclusion_volume_preview_models(), Slic3r::GUI::GLCanvas3D::update_instance_printable_state_for_object(), and Slic3r::GUI::PartPlate::wipe_tower_obstacles().
|
staticprivateinherited |
Referenced by generate_new_id().
| bool Slic3r::ModelInstance::use_loaded_id_for_label {false} |
Referenced by get_labeled_id(), and Slic3r::CLI::run().