![]() |
Prusa Slicer 2.6.0
|
#include <src/slic3r/GUI/Selection.hpp>
Collaboration diagram for Slic3r::GUI::Selection:Classes | |
| struct | Cache |
| class | Clipboard |
| struct | Planes |
| struct | VolumeCache |
Public Types | |
| enum | EMode : unsigned char { Volume , Instance } |
| enum | EType : unsigned char { Invalid , Empty , WipeTower , SingleModifier , MultipleModifier , SingleVolume , MultipleVolume , SingleFullObject , MultipleFullObject , SingleFullInstance , MultipleFullInstance , Mixed } |
| enum class | EUniformScaleRequiredReason : unsigned char { NotRequired , InstanceNotAxisAligned_World , VolumeNotAxisAligned_World , VolumeNotAxisAligned_Instance , MultipleSelection } |
| enum class | SyncRotationType { NONE = 0 , GENERAL = 1 , RESET = 2 } |
| typedef std::set< unsigned int > | IndicesList |
| typedef std::map< unsigned int, VolumeCache > | VolumesCache |
| typedef std::set< int > | InstanceIdxsList |
| typedef std::map< int, InstanceIdxsList > | ObjectIdxsToInstanceIdxsMap |
Private Attributes | |
| GLVolumePtrs * | m_volumes |
| Model * | m_model |
| bool | m_enabled |
| bool | m_valid |
| EMode | m_mode |
| EType | m_type |
| IndicesList | m_list |
| Cache | m_cache |
| Clipboard | m_clipboard |
| std::optional< BoundingBoxf3 > | m_bounding_box |
| std::optional< BoundingBoxf3 > | m_unscaled_instance_bounding_box |
| std::optional< BoundingBoxf3 > | m_scaled_instance_bounding_box |
| std::optional< BoundingBoxf3 > | m_full_unscaled_instance_bounding_box |
| std::optional< BoundingBoxf3 > | m_full_scaled_instance_bounding_box |
| std::optional< BoundingBoxf3 > | m_full_unscaled_instance_local_bounding_box |
| std::optional< std::pair< BoundingBoxf3, Transform3d > > | m_bounding_box_in_current_reference_system |
| CoordAxes | m_axes |
| GLModel | m_arrow |
| GLModel | m_curved_arrow |
| GLModel | m_box |
| Planes | m_planes |
| float | m_scale_factor |
| struct Slic3r::GUI::Selection::Cache |
Collaboration diagram for Slic3r::GUI::Selection::Cache:| Class Members | ||
|---|---|---|
| ObjectIdxsToInstanceIdxsMap | content | |
| Vec3d | dragging_center | |
| vector< unsigned int > | sinking_volumes | |
| VolumesCache | volumes_data | |
| struct Slic3r::GUI::Selection::Planes |
| typedef std::set<unsigned int> Slic3r::GUI::Selection::IndicesList |
| typedef std::set<int> Slic3r::GUI::Selection::InstanceIdxsList |
| typedef std::map<int, InstanceIdxsList> Slic3r::GUI::Selection::ObjectIdxsToInstanceIdxsMap |
| typedef std::map<unsigned int, VolumeCache> Slic3r::GUI::Selection::VolumesCache |
| enum Slic3r::GUI::Selection::EMode : unsigned char |
| enum Slic3r::GUI::Selection::EType : unsigned char |
| Enumerator | |
|---|---|
| Invalid | |
| Empty | |
| WipeTower | |
| SingleModifier | |
| MultipleModifier | |
| SingleVolume | |
| MultipleVolume | |
| SingleFullObject | |
| MultipleFullObject | |
| SingleFullInstance | |
| MultipleFullInstance | |
| Mixed | |
|
strong |
| Enumerator | |
|---|---|
| NotRequired | |
| InstanceNotAxisAligned_World | |
| VolumeNotAxisAligned_World | |
| VolumeNotAxisAligned_Instance | |
| MultipleSelection | |
|
strong |
| Slic3r::GUI::Selection::Selection | ( | ) |
References m_axes, set_bounding_boxes_dirty(), Slic3r::GUI::CoordAxes::set_stem_length(), Slic3r::GUI::CoordAxes::set_stem_radius(), Slic3r::GUI::CoordAxes::set_tip_length(), and Slic3r::GUI::CoordAxes::set_tip_radius().
Here is the call graph for this function:| void Slic3r::GUI::Selection::add | ( | unsigned int | volume_idx, |
| bool | as_single_selection = true, |
||
| bool | check_for_already_contained = false |
||
| ) |
References _L, add_instance(), clear(), contains_volume(), do_add_volume(), get_instance_idx(), Instance, is_any_modifier(), is_empty(), is_wipe_tower(), m_mode, m_model, m_valid, m_volumes, Slic3r::Model::objects, Slic3r::GUI::plater(), Slic3r::GUI::printer_technology(), Slic3r::ptSLA, Slic3r::UndoRedo::Selection, set_bounding_boxes_dirty(), update_type(), and Volume.
Referenced by Slic3r::GUI::GLCanvas3D::on_mouse(), and Slic3r::GUI::Plater::priv::reload_all_from_disk().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::add_all | ( | ) |
References _, clear(), do_add_volume(), Instance, L, m_list, m_mode, m_valid, m_volumes, Slic3r::UndoRedo::Selection, set_bounding_boxes_dirty(), and update_type().
Referenced by Slic3r::GUI::GLCanvas3D::select_all().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::add_instance | ( | unsigned int | object_idx, |
| unsigned int | instance_idx, | ||
| bool | as_single_selection = true |
||
| ) |
References _L, clear(), contains_all_volumes(), do_add_volumes(), get_volume_idxs_from_instance(), Instance, m_mode, m_valid, matches(), Slic3r::UndoRedo::Selection, set_bounding_boxes_dirty(), and update_type().
Referenced by add(), Slic3r::GUI::GLCanvas3D::SLAView::render_switch_button(), and Slic3r::GUI::GLCanvas3D::SLAView::select_full_instance().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::add_object | ( | unsigned int | object_idx, |
| bool | as_single_selection = true |
||
| ) |
References _L, clear(), contains_all_volumes(), do_add_volumes(), get_volume_idxs_from_object(), Instance, m_mode, m_valid, matches(), Slic3r::UndoRedo::Selection, set_bounding_boxes_dirty(), and update_type().
Referenced by Slic3r::GUI::GLGizmoSimplify::add_simplify_suggestion_notification(), Slic3r::GUI::Plater::convert_unit(), Slic3r::GUI::Plater::cut(), Slic3r::GUI::Plater::priv::load_files(), and Slic3r::GUI::Plater::priv::split_object().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::add_volume | ( | unsigned int | object_idx, |
| unsigned int | volume_idx, | ||
| int | instance_idx, | ||
| bool | as_single_selection = true |
||
| ) |
References clear(), contains_all_volumes(), do_add_volumes(), get_volume_idxs_from_volume(), m_mode, m_valid, matches(), set_bounding_boxes_dirty(), update_type(), and Volume.
Referenced by Slic3r::GUI::Plater::convert_unit().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::add_volumes | ( | EMode | mode, |
| const std::vector< unsigned int > & | volume_idxs, | ||
| bool | as_single_selection = true |
||
| ) |
References clear(), contains_all_volumes(), do_add_volume(), m_mode, m_valid, m_volumes, matches(), set_bounding_boxes_dirty(), and update_type().
Referenced by Slic3r::GUI::GLCanvas3D::on_mouse(), Slic3r::GUI::GLCanvas3D::SLAView::render_switch_button(), and Slic3r::GUI::ObjectList::update_selections_on_canvas().
Here is the call graph for this function:
Here is the caller graph for this function:| int Slic3r::GUI::Selection::bake_transform_if_needed | ( | ) | const |
References _, _L, get_first_volume(), get_volume(), get_volume_idxs(), Slic3r::Geometry::is_rotation_ninety_degrees(), is_single_full_instance(), and is_single_volume_or_modifier().
Here is the call graph for this function:| void Slic3r::GUI::Selection::clear | ( | ) |
References m_list, m_valid, set_bounding_boxes_dirty(), and update_type().
Referenced by add(), add_all(), add_instance(), add_object(), Slic3r::GUI::GLGizmoSimplify::add_simplify_suggestion_notification(), add_volume(), add_volumes(), Slic3r::GUI::Plater::priv::load_files(), Slic3r::GUI::Plater::priv::reload_all_from_disk(), remove_all(), Slic3r::GUI::GLCanvas3D::reset_volumes(), Slic3r::GUI::Plater::priv::split_object(), and Slic3r::GUI::ObjectList::update_selections_on_canvas().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Slic3r::GUI::Selection::contains_all_volumes | ( | const std::vector< unsigned int > & | volume_idxs | ) | const |
References m_list.
Referenced by add_instance(), add_object(), add_volume(), add_volumes(), and Slic3r::GUI::ObjectList::update_selections_on_canvas().
Here is the caller graph for this function:| bool Slic3r::GUI::Selection::contains_any_volume | ( | const std::vector< unsigned int > & | volume_idxs | ) | const |
| bool Slic3r::GUI::Selection::contains_sinking_volumes | ( | bool | ignore_modifiers = true | ) | const |
References m_volumes.
Referenced by Slic3r::GUI::GLGizmoMeasure::on_is_activable().
Here is the caller graph for this function:
|
inline |
References m_list.
Referenced by add(), Slic3r::GUI::GLGizmoMeasure::on_mouse(), Slic3r::GUI::GLCanvas3D::on_mouse(), Slic3r::GUI::GLCanvas3D::reload_scene(), and remove().
Here is the caller graph for this function:| void Slic3r::GUI::Selection::copy_to_clipboard | ( | ) |
References Slic3r::ModelObject::add_instance(), Slic3r::GUI::Selection::Clipboard::add_object(), Slic3r::ModelObject::add_volume(), Slic3r::LayerHeightProfile::assign(), Slic3r::ModelConfig::assign_config(), Slic3r::ModelObject::config, Slic3r::GUI::Selection::Cache::content, Slic3r::ModelObject::input_file, Slic3r::ModelObject::instances, Slic3r::ModelObject::layer_config_ranges, Slic3r::ModelObject::layer_height_profile, m_cache, m_clipboard, m_list, m_mode, m_model, m_valid, Slic3r::ModelObject::name, Slic3r::Model::objects, Slic3r::ModelObject::origin_translation, Slic3r::GUI::Selection::Clipboard::reset(), Slic3r::GUI::Selection::Clipboard::set_mode(), Slic3r::ModelVolume::set_new_unique_id(), Slic3r::ModelObject::sla_drain_holes, Slic3r::ModelObject::sla_points_status, Slic3r::ModelObject::sla_support_points, and Slic3r::ModelObject::volumes.
Here is the call graph for this function:
|
private |
References Slic3r::GLVolume::hover, Slic3r::GLVolume::HS_Deselect, Slic3r::GLVolume::HS_Hover, Slic3r::GLVolume::HS_Select, and m_list.
Referenced by add(), add_all(), add_volumes(), do_add_volumes(), instances_changed(), and set_deserialized().
Here is the caller graph for this function:
|
private |
References do_add_volume(), and m_volumes.
Referenced by add_instance(), add_object(), and add_volume().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References do_remove_volume(), Slic3r::GLVolume::instance_idx(), m_volumes, and Slic3r::GLVolume::object_idx().
Referenced by remove(), and remove_instance().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References do_remove_volume(), m_volumes, and Slic3r::GLVolume::object_idx().
Referenced by remove_object().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References m_list.
Referenced by do_remove_instance(), do_remove_object(), remove(), remove_volume(), and remove_volumes().
Here is the caller graph for this function:
|
private |
References is_any_volume(), m_list, m_volumes, Slic3r::SINKING_MIN_Z_THRESHOLD, and Slic3r::Z.
Referenced by erase(), and translate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References m_cache, m_volumes, Slic3r::GUI::Selection::Cache::sinking_volumes, and Slic3r::Z.
Referenced by reset_skew(), and scale_and_translate().
Here is the caller graph for this function:| void Slic3r::GUI::Selection::erase | ( | ) |
References Slic3r::GUI::Selection::Cache::content, ensure_not_below_bed(), get_instance_idx(), get_object_idx(), is_mixed(), is_multiple_full_instance(), is_multiple_full_object(), is_single_full_instance(), is_single_full_object(), Slic3r::GUI::itInstance, Slic3r::GUI::itObject, Slic3r::GUI::itVolume, m_cache, m_list, m_model, m_valid, Slic3r::GLVolume::object_idx(), Slic3r::Model::objects, Slic3r::GUI::GLCanvas3D::request_extra_frame(), Slic3r::GUI::GLCanvas3D::set_as_dirty(), Slic3r::GUI::GLCanvas3D::set_sequential_clearance_as_evaluating(), and Slic3r::GLVolume::volume_idx().
Referenced by Slic3r::GUI::GLCanvas3D::delete_selected().
Here is the call graph for this function:
Here is the caller graph for this function:References GENERAL, Slic3r::GLVolume::get_instance_transformation(), Slic3r::Geometry::Transformation::get_matrix(), Slic3r::Geometry::Transformation::get_matrix_no_offset(), Slic3r::Geometry::Transformation::get_offset_matrix(), Instance, Slic3r::is_approx(), m_list, m_mode, m_valid, Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::matrix(), set_bounding_boxes_dirty(), Slic3r::GLVolume::set_instance_transformation(), and synchronize_unselected_instances().
Referenced by Slic3r::GUI::GLGizmoFlatten::on_mouse().
Here is the call graph for this function:
Here is the caller graph for this function:| const BoundingBoxf3 & Slic3r::GUI::Selection::get_bounding_box | ( | ) | const |
References m_bounding_box, m_list, m_valid, and m_volumes.
Referenced by Slic3r::GUI::GLCanvas3D::_max_bounding_box(), Slic3r::GUI::GLGizmoMeasure::render_dimensioning(), render_sidebar_hints(), render_sidebar_layers_hints(), scale_to_fit_print_volume(), set_caches(), Slic3r::GUI::ObjectManipulation::update_settings_value(), and Slic3r::GUI::GLCanvas3D::zoom_to_selection().
Here is the caller graph for this function:| const std::pair< BoundingBoxf3, Transform3d > & Slic3r::GUI::Selection::get_bounding_box_in_current_reference_system | ( | ) | const |
References get_bounding_box_in_reference_system(), Instance, is_empty(), Slic3r::GUI::Local, m_bounding_box_in_current_reference_system, m_mode, and Slic3r::GUI::World.
Referenced by get_screen_space_bounding_box(), Slic3r::GUI::GLGizmoRotate::init_data_from_selection(), Slic3r::GUI::GLGizmoMove3D::on_render(), render(), render_sidebar_hints(), scale_and_translate(), Slic3r::GUI::GLGizmoScale3D::update_render_data(), and Slic3r::GUI::ObjectManipulation::update_settings_value().
Here is the call graph for this function:
Here is the caller graph for this function:| std::pair< BoundingBoxf3, Transform3d > Slic3r::GUI::Selection::get_bounding_box_in_reference_system | ( | ECoordinatesType | type | ) | const |
References Slic3r::GUI::axes, Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::cast(), Slic3r::GLVolume::convex_hull(), get_first_volume(), Slic3r::GLVolume::get_instance_transformation(), Slic3r::Geometry::Transformation::get_matrix(), Slic3r::Geometry::Transformation::get_matrix_no_offset(), Slic3r::Geometry::Transformation::get_matrix_no_scaling_factor(), get_volume(), Eigen::Transform< double, 3, Eigen::Affine, Eigen::DontAlign >::Identity(), Slic3r::GUI::Instance, Slic3r::TriangleMesh::its, Slic3r::GUI::Local, m_list, m_model, Slic3r::GLVolume::object_idx(), Slic3r::Model::objects, Slic3r::Geometry::Transformation::reset_scaling_factor(), Slic3r::Geometry::Transformation::set_offset(), indexed_triangle_set::vertices, Slic3r::GLVolume::volume_idx(), Slic3r::GUI::World, and Slic3r::GLVolume::world_matrix().
Referenced by get_bounding_box_in_current_reference_system(), and Slic3r::GUI::GLGizmoRotate::init_data_from_selection().
Here is the call graph for this function:
Here is the caller graph for this function:References m_clipboard.
Referenced by Slic3r::GUI::Plater::can_paste_from_clipboard().
Here is the caller graph for this function:
|
inline |
References Slic3r::GUI::Selection::Cache::content, and m_cache.
Referenced by Slic3r::GUI::RotoptimizeJob::prepare(), Slic3r::GUI::ArrangeJob::prepare_selected(), Slic3r::GUI::GLCanvas3D::SLAView::select_full_instance(), and Slic3r::GUI::ObjectList::update_selections().
Here is the caller graph for this function:References get_volume(), and m_list.
Referenced by Slic3r::GUI::ObjectManipulation::ObjectManipulation(), Slic3r::GUI::MenuFactory::append_menu_item_edit_text(), bake_transform_if_needed(), Slic3r::GUI::GLGizmoEmboss::calculate_scale(), get_bounding_box_in_reference_system(), Slic3r::GUI::GLGizmoCut3D::get_cut_matrix(), Slic3r::GUI::SceneRaycaster::hit(), Slic3r::GUI::ObjectList::load_generic_subobject(), Slic3r::GUI::ObjectList::load_modifier(), Slic3r::GUI::GLGizmoMove3D::local_transform(), Slic3r::GUI::GLGizmoFlatten::on_register_raycasters_for_picking(), Slic3r::GUI::GLGizmoFlatten::on_render(), Slic3r::GUI::CommonGizmosDataObjects::SelectionInfo::on_update(), Slic3r::GUI::GLGizmoCut3D::process_cut_line(), Slic3r::GUI::Plater::priv::replace_with_stl(), Slic3r::GUI::GLGizmoCut3D::transformed_bounding_box(), Slic3r::GUI::GLGizmoHollow::update_hole_raycasters_for_picking_transform(), Slic3r::GUI::GLGizmoMeasure::update_if_needed(), Slic3r::GUI::GLGizmoSlaSupports::update_point_raycasters_for_picking_transform(), Slic3r::GUI::GLGizmoScale3D::update_render_data(), Slic3r::GUI::ObjectManipulation::update_reset_buttons_visibility(), Slic3r::GUI::ObjectList::update_selections(), and Slic3r::GUI::ObjectManipulation::update_settings_value().
Here is the call graph for this function:
Here is the caller graph for this function:| const BoundingBoxf3 & Slic3r::GUI::Selection::get_full_scaled_instance_bounding_box | ( | ) | const |
References is_single_full_instance(), m_full_scaled_instance_bounding_box, m_list, m_valid, and Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::translation().
Here is the call graph for this function:| const BoundingBoxf3 & Slic3r::GUI::Selection::get_full_unscaled_instance_bounding_box | ( | ) | const |
References is_single_full_instance(), m_full_unscaled_instance_bounding_box, m_list, m_valid, and Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::translation().
Referenced by Slic3r::GUI::ObjectManipulation::change_size_value(), and scale_and_translate().
Here is the call graph for this function:
Here is the caller graph for this function:| const BoundingBoxf3 & Slic3r::GUI::Selection::get_full_unscaled_instance_local_bounding_box | ( | ) | const |
References is_single_full_instance(), m_full_unscaled_instance_local_bounding_box, m_list, m_valid, and Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::translation().
Referenced by Slic3r::GUI::ObjectManipulation::change_size_value(), scale_and_translate(), and Slic3r::GUI::ObjectManipulation::update_settings_value().
Here is the call graph for this function:
Here is the caller graph for this function:| int Slic3r::GUI::Selection::get_instance_idx | ( | ) | const |
References Slic3r::GUI::Selection::Cache::content, and m_cache.
Referenced by add(), Slic3r::GUI::GLGizmoFlatten::data_changed(), erase(), Slic3r::GUI::CommonGizmosDataObjects::SelectionInfo::get_active_instance(), Slic3r::GUI::GLGizmoCut3D::get_cut_matrix(), Slic3r::GUI::Plater::priv::get_selected_instance_idx(), Slic3r::GUI::GLGizmoPainterBase::gizmo_event(), Slic3r::GUI::Plater::increase_instances(), is_from_single_instance(), is_single_full_instance(), Slic3r::GUI::GLGizmoHollow::on_render(), Slic3r::GUI::GLGizmoSlaSupports::on_render(), paste_volumes_from_clipboard(), Slic3r::GUI::GLGizmoCut3D::perform_cut(), Slic3r::GUI::FillBedJob::prepare(), Slic3r::GUI::GLGizmoCut3D::process_contours(), Slic3r::GUI::GLGizmoPainterBase::render_cursor(), Slic3r::GUI::GLCanvas3D::SLAView::render_switch_button(), Slic3r::GUI::GLGizmoPainterBase::render_triangles(), Slic3r::GUI::GLGizmoMmuSegmentation::render_triangles(), Slic3r::GUI::GLGizmoCut3D::reset_cut_by_contours(), Slic3r::GUI::GLGizmoFdmSupports::select_facets_by_angle(), Slic3r::GUI::Sidebar::show_info_sizer(), Slic3r::GUI::ObjectList::split_instances(), Slic3r::GUI::ObjectList::update_selections(), Slic3r::GUI::ObjectList::update_selections_on_canvas(), update_type(), and Slic3r::GUI::GLGizmoSlaBase::update_volumes().
Here is the caller graph for this function:| const Selection::InstanceIdxsList & Slic3r::GUI::Selection::get_instance_idxs | ( | ) | const |
References Slic3r::GUI::Selection::Cache::content, and m_cache.
Referenced by Slic3r::GUI::ObjectList::load_generic_subobject(), Slic3r::GUI::ObjectList::load_modifier(), Slic3r::GUI::ObjectList::split_instances(), and Slic3r::GUI::ObjectList::update_selections().
Here is the caller graph for this function:| std::vector< unsigned int > Slic3r::GUI::Selection::get_missing_volume_idxs_from | ( | const std::vector< unsigned int > & | volume_idxs | ) | const |
References m_list.
Referenced by Slic3r::GUI::ObjectList::update_selections_on_canvas().
Here is the caller graph for this function:
|
inline |
References m_mode.
Referenced by Slic3r::GUI::Plater::can_paste_from_clipboard(), Slic3r::GUI::GLCanvas3D::do_mirror(), Slic3r::GUI::GLCanvas3D::do_move(), Slic3r::GUI::GLCanvas3D::do_reset_skew(), Slic3r::GUI::GLCanvas3D::do_rotate(), Slic3r::GUI::GLCanvas3D::do_scale(), Slic3r::GUI::GLCanvas3D::reload_scene(), Slic3r::GUI::GLCanvas3D::SLAView::render_switch_button(), Slic3r::GUI::ObjectManipulation::Show(), Slic3r::UndoRedo::StackImpl::take_snapshot(), and Slic3r::GUI::ObjectList::update_selections_on_canvas().
Here is the caller graph for this function:
|
inline |
References m_model.
Referenced by priv::apply_camera_dir(), Slic3r::GUI::calc_surface_offset(), Slic3r::GUI::GLGizmoEmboss::create_volume(), Slic3r::GUI::GLGizmoFlatten::data_changed(), Slic3r::GUI::GLGizmoCut3D::get_cut_matrix(), Slic3r::GUI::get_selected_volume(), Slic3r::GUI::get_volume(), Slic3r::GUI::get_volume_ids(), Slic3r::GUI::GLGizmoSimplify::init_model(), Slic3r::GUI::GLGizmoEmboss::on_mouse(), Slic3r::GUI::GLGizmoEmboss::on_render(), Slic3r::GUI::GLGizmoHollow::on_render(), Slic3r::GUI::GLGizmoSimplify::on_render(), Slic3r::GUI::GLGizmoSlaSupports::on_render(), Slic3r::GUI::GLGizmoEmboss::on_render_input_window(), Slic3r::GUI::CommonGizmosDataObjects::SelectionInfo::on_update(), Slic3r::GUI::GLGizmoCut3D::process_contours(), Slic3r::GUI::GLGizmoCut3D::reset_cut_by_contours(), Slic3r::GUI::GLGizmoMeasure::update_if_needed(), and Slic3r::GUI::world_matrix_fixed().
Here is the caller graph for this function:| int Slic3r::GUI::Selection::get_object_idx | ( | ) | const |
References Slic3r::GUI::Selection::Cache::content, and m_cache.
Referenced by Slic3r::GUI::MenuFactory::append_menu_item_settings(), Slic3r::GUI::GLGizmoSimplify::apply_simplify(), Slic3r::GUI::GLGizmoEmboss::close(), Slic3r::GUI::GLGizmoEmboss::create_volume(), Slic3r::GUI::GLGizmoFlatten::data_changed(), Slic3r::GUI::GLCanvas3D::do_rotate(), erase(), Slic3r::GUI::GLGizmoCut3D::get_cut_matrix(), Slic3r::GUI::Plater::priv::get_export_file_path(), Slic3r::GUI::get_selected_gl_volume(), Slic3r::GUI::Plater::priv::get_selected_object_idx(), is_any_connector(), is_any_cut_volume(), is_from_single_object(), Slic3r::GUI::ObjectList::is_selected_object_cut(), is_single_full_instance(), Slic3r::GUI::ObjectList::layers_editing(), Slic3r::GUI::ObjectList::load_generic_subobject(), Slic3r::GUI::ObjectList::load_modifier(), Slic3r::GUI::ObjectList::load_shape_object(), Slic3r::GUI::GLGizmoCut3D::on_is_activable(), Slic3r::GUI::GLGizmoCut3D::on_mouse(), Slic3r::GUI::GLGizmoHollow::on_mouse(), Slic3r::GUI::GLGizmoPainterBase::on_mouse(), Slic3r::GUI::GLGizmoSlaSupports::on_mouse(), Slic3r::GUI::GLCanvas3D::on_mouse(), Slic3r::GUI::GLCanvas3D::on_mouse_wheel(), Slic3r::GUI::GLGizmoHollow::on_render(), Slic3r::GUI::GLGizmoSlaSupports::on_render(), Slic3r::GUI::CommonGizmosDataObjects::SelectionInfo::on_update(), Slic3r::GUI::ObjectList::part_selection_changed(), paste_volumes_from_clipboard(), Slic3r::GUI::GLGizmoCut3D::perform_cut(), Slic3r::GUI::GLGizmoCut3D::process_contours(), Slic3r::GUI::GLCanvas3D::SLAView::render_switch_button(), Slic3r::GUI::GLGizmoCut3D::reset_cut_by_contours(), Slic3r::GUI::GLGizmoSlaBase::reslice_until_step(), scale_to_fit_print_volume(), Slic3r::GUI::Sidebar::show_info_sizer(), Slic3r::GUI::ObjectList::split_instances(), Slic3r::GUI::ObjectList::update_selections(), Slic3r::GUI::ObjectList::update_selections_on_canvas(), update_type(), and Slic3r::GUI::GLGizmoSlaBase::update_volumes().
Here is the caller graph for this function:| std::set< unsigned int > Slic3r::GUI::Selection::get_object_idxs | ( | ) | const |
References m_list, and m_volumes.
Referenced by Slic3r::GUI::Plater::priv::can_increase_instances(), and Slic3r::GUI::Plater::set_number_of_copies().
Here is the caller graph for this function:| const BoundingBoxf3 & Slic3r::GUI::Selection::get_scaled_instance_bounding_box | ( | ) | const |
References is_single_full_instance(), m_list, m_scaled_instance_bounding_box, m_valid, and Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::translation().
Referenced by Slic3r::GUI::ObjectManipulation::ObjectManipulation(), and Slic3r::GUI::ObjectManipulation::update_reset_buttons_visibility().
Here is the call graph for this function:
Here is the caller graph for this function:| BoundingBoxf Slic3r::GUI::Selection::get_screen_space_bounding_box | ( | ) |
References get_bounding_box_in_current_reference_system(), Slic3r::GUI::Camera::get_projection_matrix(), Slic3r::GUI::Camera::get_view_matrix(), Slic3r::GUI::Camera::get_viewport(), is_empty(), Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::matrix(), and Slic3r::BoundingBoxBase< PointType, APointsType >::merge().
Referenced by Slic3r::GUI::GLCanvas3D::SLAView::render_switch_button().
Here is the call graph for this function:
Here is the caller graph for this function:| const BoundingBoxf3 & Slic3r::GUI::Selection::get_unscaled_instance_bounding_box | ( | ) | const |
References is_single_full_instance(), m_list, m_unscaled_instance_bounding_box, m_valid, and Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::translation().
Referenced by Slic3r::GUI::ObjectManipulation::update_settings_value().
Here is the call graph for this function:
Here is the caller graph for this function:| std::vector< unsigned int > Slic3r::GUI::Selection::get_unselected_volume_idxs_from | ( | const std::vector< unsigned int > & | volume_idxs | ) | const |
References m_list.
Referenced by Slic3r::GUI::ObjectList::update_selections_on_canvas().
Here is the caller graph for this function:| GLVolume * Slic3r::GUI::Selection::get_volume | ( | unsigned int | volume_idx | ) |
References m_valid, and m_volumes.
Referenced by Slic3r::GUI::ObjectManipulation::ObjectManipulation(), priv::apply_camera_dir(), bake_transform_if_needed(), Slic3r::GUI::GLGizmoCut3D::bounding_box(), priv::calc_fine_position(), priv::find_closest_volume(), get_bounding_box_in_reference_system(), get_first_volume(), Slic3r::GUI::get_selected_gl_volume(), Slic3r::GUI::get_volume(), Slic3r::GUI::get_volume_ids(), Slic3r::GUI::GLGizmoSimplify::init_model(), Slic3r::GUI::GLGizmoHollow::on_is_activable(), Slic3r::GUI::GLGizmoSlaSupports::on_is_activable(), Slic3r::GUI::GLGizmoSimplify::on_render(), Slic3r::GUI::reloadable_volumes(), Slic3r::GUI::GLGizmoCut3D::set_volumes_picking_state(), Slic3r::UndoRedo::StackImpl::take_snapshot(), Slic3r::GUI::GLGizmoCut3D::transformed_bounding_box(), Slic3r::GUI::GLGizmoMeasure::update_if_needed(), Slic3r::GUI::ObjectList::update_selections(), and Slic3r::GUI::GLGizmoSlaBase::update_volumes().
Here is the caller graph for this function:
|
inline |
References m_list.
Referenced by Slic3r::GUI::ObjectManipulation::ObjectManipulation(), priv::apply_camera_dir(), bake_transform_if_needed(), Slic3r::GUI::GLGizmoCut3D::bounding_box(), priv::calc_fine_position(), Slic3r::GUI::Plater::priv::can_replace_with_stl(), Slic3r::GUI::GLCanvas3D::check_volumes_outside_state(), priv::find_closest_volume(), Slic3r::GUI::get_selected_gl_volume(), Slic3r::GUI::get_volume(), Slic3r::GUI::get_volume_ids(), Slic3r::GUI::SceneRaycaster::hit(), Slic3r::GUI::GLGizmoSimplify::init_model(), Slic3r::GUI::GLGizmoHollow::on_is_activable(), Slic3r::GUI::GLGizmoPainterBase::on_is_activable(), Slic3r::GUI::GLGizmoSlaSupports::on_is_activable(), Slic3r::GUI::GLCanvas3D::on_mouse(), Slic3r::GUI::GLGizmoSimplify::on_render(), Slic3r::GUI::Plater::priv::reload_all_from_disk(), Slic3r::GUI::reloadable_volumes(), Slic3r::GUI::GLCanvas3D::SLAView::render_switch_button(), Slic3r::GUI::GLGizmoCut3D::set_volumes_picking_state(), Slic3r::UndoRedo::StackImpl::take_snapshot(), Slic3r::GUI::GLGizmoCut3D::transformed_bounding_box(), Slic3r::GUI::GLGizmoMeasure::update_if_needed(), Slic3r::GUI::ObjectList::update_selections(), and Slic3r::GUI::GLGizmoSlaBase::update_volumes().
Here is the caller graph for this function:| std::vector< unsigned int > Slic3r::GUI::Selection::get_volume_idxs_from_instance | ( | unsigned int | object_idx, |
| unsigned int | instance_idx | ||
| ) | const |
References Slic3r::GLVolume::instance_idx(), m_volumes, and Slic3r::GLVolume::object_idx().
Referenced by add_instance(), and Slic3r::GUI::ObjectList::update_selections_on_canvas().
Here is the call graph for this function:
Here is the caller graph for this function:| std::vector< unsigned int > Slic3r::GUI::Selection::get_volume_idxs_from_object | ( | unsigned int | object_idx | ) | const |
References m_model, m_volumes, Slic3r::GLVolume::object_idx(), Slic3r::Model::objects, Slic3r::ptSLA, and Slic3r::GLVolume::volume_idx().
Referenced by add_object(), and Slic3r::GUI::ObjectList::update_selections_on_canvas().
Here is the call graph for this function:
Here is the caller graph for this function:| std::vector< unsigned int > Slic3r::GUI::Selection::get_volume_idxs_from_volume | ( | unsigned int | object_idx, |
| unsigned int | instance_idx, | ||
| unsigned int | volume_idx | ||
| ) | const |
References Slic3r::GLVolume::instance_idx(), m_volumes, Slic3r::GLVolume::object_idx(), and Slic3r::GLVolume::volume_idx().
Referenced by add_volume(), and Slic3r::GUI::ObjectList::update_selections_on_canvas().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Slic3r::GUI::Selection::init | ( | ) |
References Slic3r::GUI::circular_arrow(), Slic3r::GUI::GLModel::init_from(), Slic3r::its_make_sphere(), m_arrow, m_curved_arrow, PI, and Slic3r::GUI::straight_arrow().
Referenced by Slic3r::GUI::GLCanvas3D::init().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::instances_changed | ( | const std::vector< size_t > & | instance_ids_selected | ) |
References do_add_volume(), Instance, m_list, m_mode, m_model, m_valid, m_volumes, Slic3r::Model::objects, Slic3r::ptSLA, set_bounding_boxes_dirty(), and update_type().
Referenced by Slic3r::GUI::GLCanvas3D::reload_scene().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Slic3r::GUI::Selection::is_any_connector | ( | ) | const |
References get_object_idx(), is_any_modifier(), is_any_volume(), is_mixed(), m_model, m_volumes, and Slic3r::Model::objects.
Referenced by Slic3r::GUI::GLGizmoMove3D::on_is_activable(), Slic3r::GUI::GLGizmoRotate3D::on_is_activable(), Slic3r::GUI::GLGizmoScale3D::on_is_activable(), Slic3r::GUI::GLCanvas3D::on_mouse(), and Slic3r::GUI::Plater::priv::on_right_click().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Slic3r::GUI::Selection::is_any_cut_volume | ( | ) | const |
References get_object_idx(), is_any_volume(), m_model, and Slic3r::Model::objects.
Referenced by Slic3r::GUI::GLGizmoMove3D::on_is_activable(), Slic3r::GUI::GLGizmoRotate3D::on_is_activable(), and Slic3r::GUI::GLGizmoScale3D::on_is_activable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References is_multiple_modifier(), and is_single_modifier().
Referenced by add(), is_any_connector(), Slic3r::GUI::ObjectList::part_selection_changed(), and Slic3r::GUI::ObjectList::update_selections().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References is_multiple_volume(), and is_single_volume().
Referenced by ensure_not_below_bed(), is_any_connector(), is_any_cut_volume(), Slic3r::GUI::ObjectList::part_selection_changed(), and Slic3r::GUI::ObjectList::update_selections().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Referenced by add(), priv::apply_camera_dir(), Slic3r::GUI::Plater::priv::can_delete(), Slic3r::GUI::GLCanvas3D::check_volumes_outside_state(), Slic3r::GUI::GLGizmoEmboss::create_volume(), Slic3r::GUI::GLCanvas3D::deselect_all(), Slic3r::GUI::GLGizmoEmboss::do_rotate(), Slic3r::GUI::GLGizmoEmboss::do_translate(), get_bounding_box_in_current_reference_system(), get_screen_space_bounding_box(), Slic3r::GUI::GLGizmosManager::handle_shortcut(), Slic3r::GUI::GLCanvas3D::on_char(), Slic3r::GUI::GLGizmoMove3D::on_is_activable(), Slic3r::GUI::GLGizmoRotate3D::on_is_activable(), Slic3r::GUI::GLGizmoScale3D::on_is_activable(), Slic3r::GUI::GLGizmoSimplify::on_is_activable(), Slic3r::GUI::GLCanvas3D::on_key(), Slic3r::GUI::GLCanvas3D::on_mouse(), Slic3r::GUI::GLGizmoEmboss::on_render(), Slic3r::GUI::GLCanvas3D::reload_scene(), remove_all(), render(), scale_to_fit_print_volume(), Slic3r::GUI::GLGizmoMeasure::update_if_needed(), Slic3r::GUI::ObjectManipulation::update_settings_value(), Slic3r::GUI::GLGizmoBase::use_grabbers(), and Slic3r::GUI::GLCanvas3D::zoom_to_selection().
Here is the caller graph for this function:
|
inline |
References m_enabled.
Referenced by Slic3r::GUI::GLCanvas3D::init().
Here is the caller graph for this function:
|
private |
References m_list, m_model, m_volumes, Slic3r::Model::objects, and Slic3r::ptFFF.
Referenced by rotate(), and translate().
Here is the caller graph for this function:
|
inline |
References get_instance_idx().
Referenced by Slic3r::GUI::Plater::can_paste_from_clipboard(), Slic3r::GUI::GLGizmoPainterBase::data_changed(), paste_from_clipboard(), requires_local_axes(), transform_instance_relative(), and Slic3r::GUI::ObjectList::update_selections().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Slic3r::GUI::Selection::is_from_single_object | ( | ) | const |
References get_object_idx(), m_model, and Slic3r::Model::objects.
Referenced by Slic3r::GUI::GLGizmoFlatten::data_changed().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
Referenced by Slic3r::GUI::MenuFactory::append_menu_item_settings(), erase(), is_any_connector(), Slic3r::GUI::ObjectList::part_selection_changed(), and Slic3r::GUI::ObjectList::update_selections().
Here is the caller graph for this function:
|
inline |
References m_type, and MultipleFullInstance.
Referenced by Slic3r::GUI::MenuFactory::append_menu_item_settings(), Slic3r::GUI::ObjectList::can_split_instances(), erase(), Slic3r::GUI::Plater::priv::on_right_click(), Slic3r::GUI::ObjectList::part_selection_changed(), and Slic3r::GUI::ObjectList::update_selections().
Here is the caller graph for this function:
|
inline |
References m_type, and MultipleFullObject.
Referenced by erase(), Slic3r::GUI::ObjectList::part_selection_changed(), and Slic3r::GUI::ObjectList::update_selections().
Here is the caller graph for this function:
|
inline |
References m_type, and MultipleModifier.
Referenced by is_any_modifier().
Here is the caller graph for this function:
|
inline |
References m_type, and MultipleVolume.
Referenced by Slic3r::GUI::MenuFactory::append_menu_item_settings(), and is_any_volume().
Here is the caller graph for this function:| bool Slic3r::GUI::Selection::is_single_full_instance | ( | ) | const |
References get_instance_idx(), get_object_idx(), Slic3r::GLVolume::instance_idx(), m_list, m_model, m_type, m_valid, m_volumes, Slic3r::GLVolume::object_idx(), Slic3r::Model::objects, SingleFullInstance, SingleFullObject, and Slic3r::GLVolume::volume_idx().
Referenced by Slic3r::GUI::ObjectManipulation::ObjectManipulation(), Slic3r::GUI::MenuFactory::append_menu_item_export_stl(), bake_transform_if_needed(), Slic3r::GUI::ObjectList::can_split_instances(), Slic3r::GUI::ObjectManipulation::change_rotation_value(), Slic3r::GUI::ObjectManipulation::change_scale_value(), Slic3r::GUI::ObjectManipulation::change_size_value(), Slic3r::GUI::GLGizmoFlatten::data_changed(), erase(), get_full_scaled_instance_bounding_box(), get_full_unscaled_instance_bounding_box(), get_full_unscaled_instance_local_bounding_box(), get_scaled_instance_bounding_box(), get_unscaled_instance_bounding_box(), Slic3r::GUI::ObjectList::is_instance_or_object_selected(), is_single_volume_instance(), Slic3r::GUI::GLGizmoCut3D::on_is_activable(), Slic3r::GUI::GLGizmoFlatten::on_is_activable(), Slic3r::GUI::GLGizmoHollow::on_is_activable(), Slic3r::GUI::GLGizmoMeasure::on_is_activable(), Slic3r::GUI::GLGizmoPainterBase::on_is_activable(), Slic3r::GUI::GLGizmoSlaSupports::on_is_activable(), Slic3r::GUI::GLGizmoFlatten::on_mouse(), Slic3r::GUI::GLGizmoFlatten::on_render(), Slic3r::GUI::Plater::priv::on_right_click(), Slic3r::GUI::CommonGizmosDataObjects::SelectionInfo::on_update(), Slic3r::GUI::ObjectList::part_selection_changed(), render_sidebar_hints(), scale_and_translate(), scale_to_fit_print_volume(), Slic3r::GUI::ObjectManipulation::Show(), Slic3r::GUI::Sidebar::show_info_sizer(), Slic3r::GUI::GLGizmoScale3D::update_render_data(), Slic3r::GUI::ObjectManipulation::update_reset_buttons_visibility(), Slic3r::GUI::ObjectList::update_selections(), and Slic3r::GUI::ObjectManipulation::update_settings_value().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_type, and SingleFullObject.
Referenced by Slic3r::GUI::MenuFactory::append_menu_item_export_stl(), Slic3r::GUI::MenuFactory::append_menu_item_instance_to_object(), Slic3r::GUI::MenuFactory::append_menu_item_settings(), erase(), anonymous_namespace{GLGizmoEmboss.cpp}::get_transformation_type(), Slic3r::GUI::ObjectList::is_instance_or_object_selected(), Slic3r::GUI::ObjectList::layers_editing(), Slic3r::GUI::Plater::priv::on_right_click(), Slic3r::GUI::ObjectList::part_selection_changed(), Slic3r::GUI::Sidebar::show_info_sizer(), Slic3r::GUI::ObjectList::split_instances(), Slic3r::GUI::ObjectList::update_selections(), and Slic3r::GUI::ObjectManipulation::update_settings_value().
Here is the caller graph for this function:
|
inline |
References m_type, and SingleModifier.
Referenced by Slic3r::GUI::MenuFactory::append_menu_item_export_stl(), Slic3r::GUI::SceneRaycaster::hit(), is_any_modifier(), is_single_volume_or_modifier(), and Slic3r::GUI::GLGizmoMeasure::on_is_activable().
Here is the caller graph for this function:| bool Slic3r::GUI::Selection::is_single_text | ( | ) | const |
References is_single_volume_or_modifier(), m_list, m_model, Slic3r::GLVolume::object_idx(), Slic3r::Model::objects, Slic3r::ModelVolume::text_configuration, and Slic3r::GLVolume::volume_idx().
Referenced by Slic3r::GUI::Plater::priv::on_right_click().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_type, and SingleVolume.
Referenced by Slic3r::GUI::MenuFactory::append_menu_item_export_stl(), Slic3r::GUI::MenuFactory::append_menu_item_settings(), anonymous_namespace{GLGizmoEmboss.cpp}::get_transformation_type(), Slic3r::GUI::SceneRaycaster::hit(), is_any_volume(), is_single_volume_or_modifier(), Slic3r::GUI::GLGizmoMeasure::on_is_activable(), Slic3r::GUI::GLGizmoSimplify::on_render_input_window(), and Slic3r::GUI::Sidebar::show_info_sizer().
Here is the caller graph for this function:
|
inline |
References is_single_full_instance(), and m_list.
Referenced by Slic3r::GUI::GLGizmoEmboss::on_render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References is_single_modifier(), and is_single_volume().
Referenced by Slic3r::GUI::ObjectManipulation::ObjectManipulation(), bake_transform_if_needed(), Slic3r::GUI::ObjectManipulation::change_scale_value(), Slic3r::GUI::ObjectManipulation::change_size_value(), Slic3r::GUI::ObjectManipulation::do_scale(), is_single_text(), Slic3r::GUI::GLGizmoMove3D::local_transform(), Slic3r::GUI::GLGizmoEmboss::on_render(), Slic3r::GUI::Plater::priv::on_right_click(), render_sidebar_hints(), rotate(), scale_and_translate(), Slic3r::GUI::ObjectManipulation::Show(), Slic3r::GUI::GLGizmoScale3D::update_render_data(), Slic3r::GUI::ObjectManipulation::update_reset_buttons_visibility(), Slic3r::GUI::ObjectList::update_selections(), and Slic3r::GUI::ObjectManipulation::update_settings_value().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Slic3r::GUI::Selection::is_sla_compliant | ( | ) | const |
Referenced by Slic3r::GUI::Plater::can_copy_to_clipboard().
Here is the caller graph for this function:
|
inline |
References m_type, and WipeTower.
Referenced by add(), Slic3r::GUI::Plater::priv::can_delete(), Slic3r::GUI::Plater::priv::can_increase_instances(), Slic3r::GUI::GLGizmoMove3D::data_changed(), Slic3r::GUI::GLGizmoRotate3D::data_changed(), Slic3r::GUI::GLGizmoCut3D::on_is_activable(), Slic3r::GUI::GLGizmoScale3D::on_is_activable(), Slic3r::GUI::GLGizmoRotate3D::on_mouse(), Slic3r::GUI::ArrangeJob::prepare_selected(), Slic3r::GUI::Plater::priv::replace_with_stl(), Slic3r::GUI::GLGizmoSlaBase::reslice_until_step(), rotate(), and translate().
Here is the caller graph for this function:| bool Slic3r::GUI::Selection::matches | ( | const std::vector< unsigned int > & | volume_idxs | ) | const |
References m_list.
Referenced by add_instance(), add_object(), add_volume(), and add_volumes().
Here is the caller graph for this function:| void Slic3r::GUI::Selection::mirror | ( | Axis | axis, |
| TransformationType | transformation_type | ||
| ) |
References mirror(), scale_and_translate(), Slic3r::X, Slic3r::Y, and Slic3r::Z.
Referenced by Slic3r::GUI::ObjectManipulation::ObjectManipulation(), mirror(), and Slic3r::GUI::GLCanvas3D::mirror_selection().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::paste_from_clipboard | ( | ) |
References Slic3r::GUI::Selection::Clipboard::get_mode(), Instance, Slic3r::GUI::Selection::Clipboard::is_empty(), is_from_single_instance(), m_clipboard, m_mode, m_valid, paste_objects_from_clipboard(), paste_volumes_from_clipboard(), and Volume.
Here is the call graph for this function:
|
private |
References Slic3r::Model::add_object(), Slic3r::check_model_ids_validity(), Slic3r::GUI::Selection::Clipboard::get_objects(), Slic3r::ModelObject::instances, m_clipboard, m_model, Slic3r::Model::objects, and Slic3r::offset().
Referenced by paste_from_clipboard().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References Slic3r::ModelObject::add_volume(), Slic3r::TriangleMesh::bounding_box(), Slic3r::BoundingBox3Base< PointType >::center(), Slic3r::check_model_ids_validity(), get_instance_idx(), Slic3r::Geometry::Transformation::get_matrix_no_offset(), Slic3r::GUI::Selection::Clipboard::get_object(), get_object_idx(), Slic3r::Geometry::Transformation::get_offset(), Slic3r::ModelInstance::get_transformation(), Slic3r::ModelObject::input_file, Slic3r::ModelObject::instance_bounding_box(), Slic3r::ModelObject::instances, Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::inverse(), Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::isApprox(), m_clipboard, m_model, Slic3r::BoundingBoxBase< PointType, APointsType >::max, Slic3r::BoundingBox3Base< PointType >::merge(), Slic3r::ModelVolume::mesh(), Slic3r::BoundingBoxBase< PointType, APointsType >::min, Slic3r::Model::objects, Slic3r::ModelVolume::set_new_unique_id(), Slic3r::BoundingBox3Base< PointType >::size(), Slic3r::BoundingBoxf3::transformed(), and Slic3r::ModelObject::volumes.
Referenced by paste_from_clipboard().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::remove | ( | unsigned int | volume_idx | ) |
References _L, contains_volume(), do_remove_instance(), do_remove_volume(), Instance, m_mode, m_valid, m_volumes, Slic3r::UndoRedo::Selection, set_bounding_boxes_dirty(), update_type(), and Volume.
Referenced by Slic3r::GUI::GLCanvas3D::on_mouse().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::remove_all | ( | ) |
References _L, clear(), Instance, is_empty(), m_mode, m_valid, and Slic3r::UndoRedo::Selection.
Referenced by Slic3r::GUI::GLCanvas3D::deselect_all(), and Slic3r::GUI::ObjectList::update_selections_on_canvas().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::remove_instance | ( | unsigned int | object_idx, |
| unsigned int | instance_idx | ||
| ) |
References _L, do_remove_instance(), m_valid, Slic3r::UndoRedo::Selection, set_bounding_boxes_dirty(), and update_type().
Here is the call graph for this function:| void Slic3r::GUI::Selection::remove_object | ( | unsigned int | object_idx | ) |
References _L, do_remove_object(), m_valid, Slic3r::UndoRedo::Selection, set_bounding_boxes_dirty(), and update_type().
Here is the call graph for this function:| void Slic3r::GUI::Selection::remove_volume | ( | unsigned int | object_idx, |
| unsigned int | volume_idx | ||
| ) |
References do_remove_volume(), m_valid, m_volumes, Slic3r::GLVolume::object_idx(), set_bounding_boxes_dirty(), update_type(), and Slic3r::GLVolume::volume_idx().
Here is the call graph for this function:| void Slic3r::GUI::Selection::remove_volumes | ( | EMode | mode, |
| const std::vector< unsigned int > & | volume_idxs | ||
| ) |
References do_remove_volume(), m_mode, m_valid, m_volumes, set_bounding_boxes_dirty(), and update_type().
Referenced by scale_to_fit_print_volume(), and Slic3r::GUI::ObjectList::update_selections_on_canvas().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::render | ( | float | scale_factor = 1.0 | ) |
References get_bounding_box_in_current_reference_system(), is_empty(), m_scale_factor, m_valid, render_bounding_box(), render_synchronized_volumes(), and Slic3r::ColorRGB::WHITE().
Here is the call graph for this function:
|
private |
References Slic3r::GUI::GLModel::Geometry::format, Slic3r::GUI::GLModel::get_bounding_box(), Slic3r::GUI::OpenGLManager::get_gl_info(), Slic3r::GUI::Camera::get_projection_matrix(), Slic3r::GUI::Camera::get_view_matrix(), Slic3r::GUI::Camera::get_viewport(), glsafe, Slic3r::GUI::GLModel::init_from(), Slic3r::is_approx(), Slic3r::GUI::OpenGLManager::GLInfo::is_core_profile(), Slic3r::GUI::GLModel::is_initialized(), Slic3r::GUI::GLModel::Geometry::Lines, m_box, m_scale_factor, Slic3r::BoundingBoxBase< PointType, APointsType >::max, Slic3r::BoundingBoxBase< PointType, APointsType >::min, Slic3r::GUI::GLModel::Geometry::P3, Slic3r::GUI::GLModel::render(), Slic3r::GUI::GLModel::reset(), Slic3r::GUI::GLModel::set_color(), Slic3r::GLShaderProgram::set_uniform(), Slic3r::BoundingBox3Base< PointType >::size(), Slic3r::GLShaderProgram::start_using(), Slic3r::GLShaderProgram::stop_using(), and Slic3r::to_rgba().
Referenced by render(), and render_synchronized_volumes().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
|
private |
References Slic3r::BoundingBox3Base< PointType >::center(), get_bounding_box(), get_bounding_box_in_current_reference_system(), glsafe, Eigen::Transform< double, 3, Eigen::Affine, Eigen::DontAlign >::Identity(), is_single_full_instance(), is_single_volume_or_modifier(), m_axes, m_list, Slic3r::GUI::CoordAxes::render(), render_sidebar_layers_hints(), render_sidebar_position_hints(), render_sidebar_rotation_hints(), render_sidebar_scale_hints(), requires_local_axes(), Slic3r::GLShaderProgram::set_uniform(), Slic3r::GLShaderProgram::start_using(), Slic3r::GLShaderProgram::stop_using(), Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::translation(), and Slic3r::Geometry::translation_transform().
Here is the call graph for this function:
|
private |
References Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), Slic3r::GUI::Selection::Planes::check_points, Slic3r::GUI::GLModel::Geometry::format, get_bounding_box(), Slic3r::GUI::Camera::get_projection_matrix(), Slic3r::GUI::Camera::get_view_matrix(), glsafe, Slic3r::is_approx(), m_planes, Slic3r::BoundingBoxBase< PointType, APointsType >::max, Slic3r::BoundingBoxBase< PointType, APointsType >::min, Slic3r::GUI::Selection::Planes::models, Slic3r::GUI::GLModel::Geometry::P3, Slic3r::GUI::GLModel::Geometry::reserve_indices(), Slic3r::GUI::GLModel::Geometry::reserve_vertices(), Slic3r::GLShaderProgram::set_uniform(), SOLID_PLANE_COLOR, Slic3r::string_to_double_decimal_point(), TRANSPARENT_PLANE_COLOR, and Slic3r::GUI::GLModel::Geometry::Triangles.
Referenced by render_sidebar_hints().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References Slic3r::GUI::get_color(), Slic3r::GUI::Camera::get_projection_matrix(), Slic3r::GUI::Camera::get_view_matrix(), m_arrow, Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::matrix(), PI, Slic3r::GUI::GLModel::render(), Slic3r::Geometry::rotation_transform(), Slic3r::GUI::GLModel::set_color(), Slic3r::GLShaderProgram::set_uniform(), Slic3r::X, Slic3r::Y, and Slic3r::Z.
Referenced by render_sidebar_hints().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References Slic3r::GUI::get_color(), Slic3r::GUI::Camera::get_projection_matrix(), Slic3r::GUI::Camera::get_view_matrix(), m_curved_arrow, Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::matrix(), PI, Slic3r::GUI::GLModel::render(), Slic3r::Geometry::rotation_transform(), Slic3r::GUI::GLModel::set_color(), Slic3r::GLShaderProgram::set_uniform(), Slic3r::X, Slic3r::Y, and Slic3r::Z.
Referenced by render_sidebar_hints().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References Slic3r::GUI::get_color(), Slic3r::GUI::Camera::get_projection_matrix(), Slic3r::GUI::Camera::get_view_matrix(), m_arrow, Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::matrix(), PI, Slic3r::GUI::GLModel::render(), Slic3r::Geometry::rotation_transform(), Slic3r::GUI::GLModel::set_color(), Slic3r::GLShaderProgram::set_uniform(), Slic3r::Geometry::translation_transform(), UNIFORM_SCALE_COLOR, Slic3r::X, Slic3r::Y, and Slic3r::Z.
Referenced by render_sidebar_hints().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References Slic3r::GLVolume::bounding_box(), Slic3r::GLVolume::get_instance_transformation(), Slic3r::Geometry::Transformation::get_matrix(), Slic3r::GLVolume::get_volume_transformation(), Eigen::Transform< double, 3, Eigen::Affine, Eigen::DontAlign >::Identity(), Instance, Slic3r::GUI::Local, m_list, m_mode, m_volumes, Slic3r::GLVolume::object_idx(), render_bounding_box(), Slic3r::GLVolume::transformed_convex_hull_bounding_box(), Slic3r::GLVolume::volume_idx(), Slic3r::GUI::World, Slic3r::GLVolume::world_matrix(), and Slic3r::ColorRGB::YELLOW().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Slic3r::GUI::Selection::requires_local_axes | ( | ) | const |
References is_from_single_instance(), m_mode, and Volume.
Referenced by render_sidebar_hints().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::reset_skew | ( | ) |
References ensure_on_bed(), GENERAL, Slic3r::GUI::Selection::VolumeCache::get_instance_transform(), Slic3r::Geometry::Transformation::get_matrix(), Slic3r::Geometry::Transformation::get_matrix_no_offset(), Slic3r::Geometry::Transformation::get_offset_matrix(), Slic3r::GUI::Selection::VolumeCache::get_volume_transform(), Slic3r::Geometry::Transformation::has_skew(), Instance, Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::inverse(), m_cache, m_list, m_mode, m_valid, Slic3r::Geometry::Transformation::reset_offset(), Slic3r::Geometry::Transformation::reset_skew(), set_bounding_boxes_dirty(), Slic3r::GLVolume::set_instance_transformation(), Slic3r::GLVolume::set_volume_transformation(), synchronize_unselected_instances(), synchronize_unselected_volumes(), Volume, and Slic3r::GUI::Selection::Cache::volumes_data.
Referenced by Slic3r::GUI::ObjectManipulation::ObjectManipulation().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::rotate | ( | const Vec3d & | rotation, |
| TransformationType | transformation_type | ||
| ) |
References Slic3r::GUI::TransformationType::absolute(), Slic3r::GUI::Selection::Cache::dragging_center, GENERAL, Slic3r::GUI::Selection::VolumeCache::get_instance_transform(), Slic3r::Geometry::Transformation::get_matrix_no_offset(), Slic3r::Geometry::Transformation::get_offset(), Slic3r::Geometry::Transformation::get_rotation_matrix(), Slic3r::Geometry::Transformation::get_scaling_factor_matrix(), Slic3r::GUI::Selection::VolumeCache::get_volume_transform(), Slic3r::GUI::TransformationType::instance(), Instance, Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::inverse(), is_from_fully_selected_instance(), Slic3r::Geometry::Transformation::is_left_handed(), is_single_volume_or_modifier(), is_wipe_tower(), Slic3r::GUI::TransformationType::local(), m_cache, m_list, m_mode, m_valid, NONE, Slic3r::GUI::TransformationType::relative(), Slic3r::Geometry::rotation_transform(), set_bounding_boxes_dirty(), synchronize_unselected_instances(), synchronize_unselected_volumes(), transform_instance_relative(), transform_volume_relative(), Slic3r::Geometry::translation_transform(), Slic3r::Geometry::TransformationSVD::u, Slic3r::Geometry::TransformationSVD::v, Volume, Slic3r::GUI::Selection::Cache::volumes_data, and Slic3r::GUI::TransformationType::world().
Referenced by Slic3r::GUI::ObjectManipulation::change_rotation_value(), Slic3r::GUI::GLGizmoEmboss::do_rotate(), Slic3r::GUI::GLCanvas3D::on_key(), Slic3r::GUI::GLGizmoRotate3D::on_mouse(), and Slic3r::GUI::GLGizmoEmboss::on_mouse_for_rotation().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::scale | ( | const Vec3d & | scale, |
| TransformationType | transformation_type | ||
| ) |
References scale(), and scale_and_translate().
Referenced by Slic3r::GUI::ObjectManipulation::do_scale(), Slic3r::GUI::ObjectManipulation::do_size(), Slic3r::GUI::GLGizmoScale3D::on_mouse(), Slic3r::GUI::GLGizmoMeasure::render_dimensioning(), scale(), scale_and_translate(), and scale_to_fit_print_volume().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::scale_and_translate | ( | const Vec3d & | scale, |
| const Vec3d & | world_translation, | ||
| TransformationType | transformation_type | ||
| ) |
References Slic3r::GUI::TransformationType::absolute(), Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::computeRotationScaling(), Slic3r::GUI::Selection::Cache::dragging_center, ensure_on_bed(), GENERAL, get_bounding_box_in_current_reference_system(), get_full_unscaled_instance_bounding_box(), get_full_unscaled_instance_local_bounding_box(), Slic3r::GUI::Selection::VolumeCache::get_instance_transform(), Slic3r::Geometry::Transformation::get_matrix(), Slic3r::Geometry::Transformation::get_matrix_no_offset(), Slic3r::Geometry::Transformation::get_offset(), Slic3r::GUI::Selection::VolumeCache::get_volume_transform(), Slic3r::GUI::TransformationType::instance(), Instance, Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::inverse(), is_single_full_instance(), is_single_volume_or_modifier(), Slic3r::GUI::TransformationType::local(), m_cache, m_list, m_mode, m_valid, scale(), Slic3r::Geometry::scale_transform(), set_bounding_boxes_dirty(), Slic3r::GUI::TransformationType::set_independent(), Slic3r::GLVolume::set_instance_transformation(), Slic3r::GUI::TransformationType::set_relative(), Slic3r::BoundingBox3Base< PointType >::size(), synchronize_unselected_instances(), synchronize_unselected_volumes(), transform_instance_relative(), transform_volume_relative(), Slic3r::Geometry::translation_transform(), Volume, Slic3r::GUI::Selection::Cache::volumes_data, and Slic3r::GUI::TransformationType::world().
Referenced by mirror(), Slic3r::GUI::GLGizmoScale3D::on_mouse(), and scale().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::scale_to_fit_print_volume | ( | const BuildVolume & | volume | ) |
References _L, Slic3r::MultiPoint::begin(), Slic3r::TriangleMesh::bounding_box(), Slic3r::BoundingBox3Base< PointType >::center(), Slic3r::Geometry::Circle< Vector >::center, Slic3r::BuildVolume::Circle, Slic3r::TriangleMesh::convex_hull(), Slic3r::GLVolume::convex_hull(), Slic3r::MultiPoint::end(), Slic3r::generate_object_layers(), get_bounding_box(), get_object_idx(), is_empty(), is_single_full_instance(), m_list, m_mode, m_volumes, Slic3r::BoundingBoxBase< PointType, APointsType >::min, Slic3r::offset(), Slic3r::GUI::plater(), Slic3r::GUI::printer_technology(), Slic3r::ptFFF, Slic3r::ptSLA, Slic3r::Geometry::Circle< Vector >::radius, Slic3r::BuildVolume::Rectangle, remove_volumes(), scale(), Slic3r::GUI::TransformationType::set_joint(), Slic3r::GUI::TransformationType::set_relative(), Slic3r::GUI::TransformationType::set_world(), setup_cache(), Slic3r::BoundingBox3Base< PointType >::size(), Slic3r::Geometry::smallest_enclosing_circle_welzl(), Slic3r::TriangleMesh::transform(), translate(), Volume, and Slic3r::GLVolume::world_matrix().
Here is the call graph for this function:
|
inlineprivate |
References m_bounding_box, m_bounding_box_in_current_reference_system, m_full_scaled_instance_bounding_box, m_full_unscaled_instance_bounding_box, m_full_unscaled_instance_local_bounding_box, m_scaled_instance_bounding_box, and m_unscaled_instance_bounding_box.
Referenced by Selection(), add(), add_all(), add_instance(), add_object(), add_volume(), add_volumes(), clear(), flattening_rotate(), instances_changed(), remove(), remove_instance(), remove_object(), remove_volume(), remove_volumes(), reset_skew(), rotate(), scale_and_translate(), set_deserialized(), translate(), translate(), and volumes_changed().
Here is the caller graph for this function:
|
private |
References Slic3r::BoundingBox3Base< PointType >::center(), Slic3r::GUI::Selection::Cache::dragging_center, get_bounding_box(), Slic3r::GLVolume::get_instance_transformation(), Slic3r::GLVolume::get_volume_transformation(), Slic3r::GLVolume::is_sinking(), m_cache, m_volumes, Slic3r::GUI::Selection::Cache::sinking_volumes, and Slic3r::GUI::Selection::Cache::volumes_data.
Referenced by setup_cache().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::set_deserialized | ( | EMode | mode, |
| const std::vector< std::pair< size_t, size_t > > & | volumes_and_instances | ||
| ) |
References do_add_volume(), m_list, m_mode, m_valid, m_volumes, set_bounding_boxes_dirty(), and update_type().
Here is the call graph for this function:
|
inline |
References m_enabled.
Referenced by Slic3r::GUI::GLCanvas3D::enable_selection().
Here is the caller graph for this function:References m_mode.
Referenced by Slic3r::GUI::View3D::init().
Here is the caller graph for this function:References m_model, and update_valid().
Referenced by Slic3r::GUI::GLCanvas3D::set_model().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::set_volumes | ( | GLVolumePtrs * | volumes | ) |
References m_volumes, and update_valid().
Referenced by Slic3r::GUI::GLCanvas3D::GLCanvas3D().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::setup_cache | ( | ) |
References m_valid, and set_caches().
Referenced by Slic3r::GUI::ObjectManipulation::ObjectManipulation(), Slic3r::GUI::ObjectManipulation::change_position_value(), Slic3r::GUI::ObjectManipulation::change_rotation_value(), Slic3r::GUI::GLGizmoEmboss::do_rotate(), Slic3r::GUI::ObjectManipulation::do_scale(), Slic3r::GUI::ObjectManipulation::do_size(), Slic3r::GUI::GLGizmoEmboss::do_translate(), Slic3r::GUI::GLCanvas3D::mirror_selection(), Slic3r::GUI::GLCanvas3D::on_key(), Slic3r::GUI::GLCanvas3D::on_mouse(), Slic3r::GUI::GLGizmoMeasure::render_dimensioning(), scale_to_fit_print_volume(), and Slic3r::GUI::GLGizmoBase::use_grabbers().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::synchronize_unselected_instances | ( | SyncRotationType | sync_rotation_type | ) |
References done, Slic3r::GLVolume::get_instance_transformation(), Slic3r::Geometry::Transformation::get_matrix(), Slic3r::GLVolume::instance_idx(), Slic3r::GUI::is_left_handed(), Slic3r::GUI::is_rotation_xy_synchronized(), Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::linear(), m_cache, m_list, m_model, m_volumes, NONE, Slic3r::GLVolume::object_idx(), Slic3r::ptSLA, RESET, Slic3r::Geometry::Transformation::reset_rotation(), Slic3r::GLVolume::set_instance_transformation(), Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::translation(), Slic3r::GUI::verify_instances_rotation_synchronized(), and Slic3r::GUI::Selection::Cache::volumes_data.
Referenced by Slic3r::GUI::ObjectManipulation::ObjectManipulation(), flattening_rotate(), reset_skew(), rotate(), scale_and_translate(), and translate().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::synchronize_unselected_volumes | ( | ) |
References m_list, m_volumes, Slic3r::GLVolume::object_idx(), Slic3r::GLVolume::set_volume_transformation(), and Slic3r::GLVolume::volume_idx().
Referenced by Slic3r::GUI::ObjectManipulation::ObjectManipulation(), reset_skew(), rotate(), scale_and_translate(), and translate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References Slic3r::GUI::Selection::VolumeCache::get_instance_transform(), Slic3r::Geometry::Transformation::get_matrix(), Slic3r::Geometry::Transformation::get_offset(), Slic3r::GUI::TransformationType::independent(), Slic3r::GUI::TransformationType::instance(), is_from_single_instance(), Slic3r::GUI::TransformationType::relative(), Slic3r::transform(), Slic3r::Geometry::translation_transform(), and Slic3r::GUI::TransformationType::world().
Referenced by rotate(), scale_and_translate(), and translate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References Slic3r::GUI::Selection::VolumeCache::get_instance_transform(), Slic3r::Geometry::Transformation::get_matrix(), Slic3r::Geometry::Transformation::get_matrix_no_offset(), Slic3r::Geometry::Transformation::get_offset(), Slic3r::GUI::Selection::VolumeCache::get_volume_transform(), Slic3r::GUI::TransformationType::independent(), Slic3r::GUI::TransformationType::instance(), Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::inverse(), Slic3r::GUI::TransformationType::local(), Slic3r::GUI::TransformationType::relative(), Slic3r::transform(), Slic3r::Geometry::translation_transform(), and Slic3r::GUI::TransformationType::world().
Referenced by rotate(), scale_and_translate(), and translate().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::translate | ( | const Vec3d & | displacement, |
| TransformationType | transformation_type | ||
| ) |
References Slic3r::GUI::TransformationType::absolute(), Slic3r::GUI::Selection::Cache::dragging_center, ensure_not_below_bed(), Slic3r::GUI::Selection::VolumeCache::get_instance_scale_matrix(), Slic3r::GUI::Selection::VolumeCache::get_instance_transform(), Slic3r::Geometry::Transformation::get_offset(), Slic3r::Geometry::Transformation::get_rotation_matrix(), Slic3r::Geometry::Transformation::get_scaling_factor_matrix(), Slic3r::GUI::Selection::VolumeCache::get_volume_transform(), Slic3r::GUI::TransformationType::instance(), Instance, Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::inverse(), is_from_fully_selected_instance(), is_wipe_tower(), Slic3r::GUI::TransformationType::local(), m_cache, m_list, m_mode, m_valid, NONE, Slic3r::GUI::TransformationType::relative(), set_bounding_boxes_dirty(), Slic3r::GLVolume::set_instance_offset(), Slic3r::GLVolume::set_volume_offset(), synchronize_unselected_instances(), synchronize_unselected_volumes(), transform_instance_relative(), transform_volume_relative(), Slic3r::Geometry::translation_transform(), Volume, and Slic3r::GUI::Selection::Cache::volumes_data.
Referenced by Slic3r::GUI::ObjectManipulation::change_position_value(), Slic3r::GUI::GLCanvas3D::do_mirror(), Slic3r::GUI::GLCanvas3D::do_move(), Slic3r::GUI::GLCanvas3D::do_reset_skew(), Slic3r::GUI::GLCanvas3D::do_rotate(), Slic3r::GUI::GLCanvas3D::do_scale(), Slic3r::GUI::GLGizmoEmboss::do_translate(), Slic3r::GUI::GLGizmoMove3D::on_dragging(), Slic3r::GUI::GLCanvas3D::on_key(), Slic3r::GUI::GLCanvas3D::on_mouse(), and scale_to_fit_print_volume().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::GUI::Selection::translate | ( | unsigned int | object_idx, |
| unsigned int | instance_idx, | ||
| const Vec3d & | displacement | ||
| ) |
References done, Slic3r::GLVolume::get_instance_transformation(), Slic3r::Geometry::Transformation::get_matrix(), Slic3r::GLVolume::instance_idx(), m_list, m_valid, m_volumes, Slic3r::GLVolume::object_idx(), set_bounding_boxes_dirty(), Slic3r::GLVolume::set_instance_transformation(), and Slic3r::Geometry::translation_transform().
Here is the call graph for this function:
|
private |
References Slic3r::GUI::Selection::Cache::content, Empty, get_instance_idx(), get_object_idx(), Instance, Slic3r::ModelObject::instances, Invalid, m_cache, m_list, m_mode, m_model, m_type, m_valid, m_volumes, Mixed, MultipleFullInstance, MultipleFullObject, MultipleModifier, MultipleVolume, Slic3r::GLVolume::object_idx(), Slic3r::Model::objects, SingleFullInstance, SingleFullObject, SingleModifier, SingleVolume, Volume, Slic3r::ModelObject::volumes, volumes_count(), and WipeTower.
Referenced by add(), add_all(), add_instance(), add_object(), add_volume(), add_volumes(), clear(), instances_changed(), remove(), remove_instance(), remove_object(), remove_volume(), remove_volumes(), set_deserialized(), and volumes_changed().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References m_model, m_valid, and m_volumes.
Referenced by set_model(), and set_volumes().
Here is the caller graph for this function:References m_list, m_mode, m_valid, set_bounding_boxes_dirty(), update_type(), and Volume.
Referenced by Slic3r::GUI::GLCanvas3D::reload_scene().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_list.
Referenced by Slic3r::GUI::MenuFactory::append_menu_item_edit_text(), and update_type().
Here is the caller graph for this function:
|
private |
Referenced by init(), render_sidebar_position_hints(), and render_sidebar_scale_hints().
|
private |
Referenced by Selection(), and render_sidebar_hints().
|
private |
Referenced by get_bounding_box(), and set_bounding_boxes_dirty().
|
private |
Referenced by get_bounding_box_in_current_reference_system(), and set_bounding_boxes_dirty().
|
private |
Referenced by render_bounding_box().
|
private |
|
private |
|
private |
Referenced by init(), and render_sidebar_rotation_hints().
|
private |
Referenced by is_enabled(), and set_enabled().
|
private |
Referenced by get_full_scaled_instance_bounding_box(), and set_bounding_boxes_dirty().
|
private |
Referenced by get_full_unscaled_instance_bounding_box(), and set_bounding_boxes_dirty().
|
private |
Referenced by get_full_unscaled_instance_local_bounding_box(), and set_bounding_boxes_dirty().
|
private |
Referenced by add_all(), clear(), contains_all_volumes(), contains_any_volume(), contains_volume(), copy_to_clipboard(), do_add_volume(), do_remove_volume(), ensure_not_below_bed(), erase(), flattening_rotate(), get_bounding_box(), get_bounding_box_in_reference_system(), get_first_volume(), get_full_scaled_instance_bounding_box(), get_full_unscaled_instance_bounding_box(), get_full_unscaled_instance_local_bounding_box(), get_missing_volume_idxs_from(), get_object_idxs(), get_scaled_instance_bounding_box(), get_unscaled_instance_bounding_box(), get_unselected_volume_idxs_from(), get_volume_idxs(), instances_changed(), is_from_fully_selected_instance(), is_single_full_instance(), is_single_text(), is_single_volume_instance(), matches(), render_sidebar_hints(), render_synchronized_volumes(), reset_skew(), rotate(), scale_and_translate(), scale_to_fit_print_volume(), set_deserialized(), synchronize_unselected_instances(), synchronize_unselected_volumes(), translate(), translate(), update_type(), volumes_changed(), and volumes_count().
|
private |
Referenced by add(), add_all(), add_instance(), add_object(), add_volume(), add_volumes(), copy_to_clipboard(), flattening_rotate(), get_bounding_box_in_current_reference_system(), get_mode(), instances_changed(), is_instance_mode(), paste_from_clipboard(), remove(), remove_all(), remove_volumes(), render_synchronized_volumes(), requires_local_axes(), reset_skew(), rotate(), scale_and_translate(), scale_to_fit_print_volume(), set_deserialized(), set_mode(), translate(), update_type(), and volumes_changed().
|
private |
Referenced by Slic3r::GUI::Selection::Clipboard::Clipboard(), add(), Slic3r::GUI::Selection::Clipboard::add_object(), copy_to_clipboard(), erase(), get_bounding_box_in_reference_system(), get_model(), Slic3r::GUI::Selection::Clipboard::get_object(), Slic3r::GUI::Selection::Clipboard::get_objects(), get_volume_idxs_from_object(), instances_changed(), is_any_connector(), is_any_cut_volume(), Slic3r::GUI::Selection::Clipboard::is_empty(), is_from_fully_selected_instance(), is_from_single_object(), is_single_full_instance(), is_single_text(), paste_objects_from_clipboard(), paste_volumes_from_clipboard(), Slic3r::GUI::Selection::Clipboard::reset(), set_model(), synchronize_unselected_instances(), update_type(), and update_valid().
|
private |
Referenced by render_sidebar_layers_hints().
|
private |
Referenced by render(), and render_bounding_box().
|
private |
Referenced by get_scaled_instance_bounding_box(), and set_bounding_boxes_dirty().
|
private |
|
private |
Referenced by get_unscaled_instance_bounding_box(), and set_bounding_boxes_dirty().
|
private |
Referenced by add(), add_all(), add_instance(), add_object(), add_volume(), add_volumes(), clear(), copy_to_clipboard(), erase(), flattening_rotate(), get_bounding_box(), get_full_scaled_instance_bounding_box(), get_full_unscaled_instance_bounding_box(), get_full_unscaled_instance_local_bounding_box(), get_scaled_instance_bounding_box(), get_unscaled_instance_bounding_box(), get_volume(), get_volume(), instances_changed(), is_single_full_instance(), paste_from_clipboard(), remove(), remove_all(), remove_instance(), remove_object(), remove_volume(), remove_volumes(), render(), reset_skew(), rotate(), scale_and_translate(), set_deserialized(), setup_cache(), translate(), translate(), update_type(), update_valid(), and volumes_changed().
|
private |
Referenced by add(), add_all(), add_volumes(), contains_sinking_volumes(), do_add_volumes(), do_remove_instance(), do_remove_object(), ensure_not_below_bed(), ensure_on_bed(), get_bounding_box(), get_object_idxs(), get_volume(), get_volume(), get_volume_idxs_from_instance(), get_volume_idxs_from_object(), get_volume_idxs_from_volume(), instances_changed(), is_any_connector(), is_from_fully_selected_instance(), is_single_full_instance(), remove(), remove_volume(), remove_volumes(), render_synchronized_volumes(), scale_to_fit_print_volume(), set_caches(), set_deserialized(), set_volumes(), synchronize_unselected_instances(), synchronize_unselected_volumes(), translate(), update_type(), and update_valid().