![]() |
Prusa Slicer 2.6.0
|
#include <src/slic3r/GUI/3DScene.hpp>
Collaboration diagram for Slic3r::GLVolume:Classes | |
| struct | CompositeID |
| class | NonManifoldEdges |
| class | SinkingContours |
Public Types | |
| enum | EHoverState : unsigned char { HS_None , HS_Hover , HS_Select , HS_Deselect } |
Public Attributes | ||
| ColorRGBA | color | |
| ColorRGBA | render_color | |
| CompositeID | composite_id | |
| std::pair< size_t, size_t > | geometry_id | |
| int | extruder_id | |
| struct { | ||
| bool | selected: 1 | |
| bool | disabled: 1 | |
| bool | printable: 1 | |
| bool | is_active: 1 | |
| bool | zoom_to_volumes: 1 | |
| bool | shader_outside_printer_detection_enabled: 1 | |
| bool | is_outside: 1 | |
| bool | is_modifier: 1 | |
| bool | is_wipe_tower: 1 | |
| bool | is_extrusion_path: 1 | |
| bool | force_native_color: 1 | |
| bool | force_neutral_color: 1 | |
| bool | force_sinking_contours: 1 | |
| }; | ||
| EHoverState | hover | |
| GUI::GLModel | model | |
| std::unique_ptr< GUI::MeshRaycaster > | mesh_raycaster | |
| std::pair< size_t, size_t > | tverts_range | |
| std::vector< coordf_t > | print_zs | |
| std::vector< size_t > | offsets | |
Static Public Attributes | |
| static const ColorRGBA | SELECTED_COLOR = ColorRGBA::GREEN() |
| static const ColorRGBA | HOVER_SELECT_COLOR = { 0.4f, 0.9f, 0.1f, 1.0f } |
| static const ColorRGBA | HOVER_DESELECT_COLOR = { 1.0f, 0.75f, 0.75f, 1.0f } |
| static const ColorRGBA | OUTSIDE_COLOR = { 0.0f, 0.38f, 0.8f, 1.0f } |
| static const ColorRGBA | SELECTED_OUTSIDE_COLOR = { 0.19f, 0.58f, 1.0f, 1.0f } |
| static const ColorRGBA | DISABLED_COLOR = ColorRGBA::DARK_GRAY() |
| static const ColorRGBA | SLA_SUPPORT_COLOR = ColorRGBA::LIGHT_GRAY() |
| static const ColorRGBA | SLA_PAD_COLOR = { 0.0f, 0.2f, 0.0f, 1.0f } |
| static const ColorRGBA | NEUTRAL_COLOR = { 0.9f, 0.9f, 0.9f, 1.0f } |
| static const std::array< ColorRGBA, 4 > | MODEL_COLOR |
Private Attributes | |
| Geometry::Transformation | m_instance_transformation |
| Geometry::Transformation | m_volume_transformation |
| double | m_sla_shift_z |
| std::optional< BoundingBoxf3 > | m_transformed_bounding_box |
| std::shared_ptr< const TriangleMesh > | m_convex_hull |
| std::optional< BoundingBoxf3 > | m_transformed_convex_hull_bounding_box |
| std::optional< BoundingBoxf3 > | m_transformed_non_sinking_bounding_box |
| SinkingContours | m_sinking_contours |
| NonManifoldEdges | m_non_manifold_edges |
| enum Slic3r::GLVolume::EHoverState : unsigned char |
| Enumerator | |
|---|---|
| HS_None | |
| HS_Hover | |
| HS_Select | |
| HS_Deselect | |
| Slic3r::GLVolume::GLVolume | ( | float | r = 1.0f, |
| float | g = 1.0f, |
||
| float | b = 1.0f, |
||
| float | a = 1.0f |
||
| ) |
References color, and set_render_color().
Here is the call graph for this function:
|
inline |
References Slic3r::GUI::GLModel::get_bounding_box().
Referenced by Slic3r::GUI::Selection::render_synchronized_volumes(), transformed_bounding_box(), and transformed_convex_hull_bounding_box().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_convex_hull.
Referenced by Slic3r::GUI::Selection::get_bounding_box_in_reference_system(), Slic3r::GUI::Selection::scale_to_fit_print_volume(), set_convex_hull(), set_convex_hull(), and set_convex_hull().
Here is the caller graph for this function:
|
inline |
References Slic3r::GUI::GLModel::cpu_memory_used().
Referenced by total_memory_used().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
References Slic3r::Geometry::Transformation::get_mirror(), and m_instance_transformation.
Here is the call graph for this function:
|
inline |
References Slic3r::Geometry::Transformation::get_mirror(), and m_instance_transformation.
Here is the call graph for this function:
|
inline |
References Slic3r::Geometry::Transformation::get_offset(), and m_instance_transformation.
Referenced by Slic3r::GUI::ObjectList::load_generic_subobject(), Slic3r::GUI::ObjectList::load_modifier(), Slic3r::GUI::GLGizmoCut3D::process_cut_line(), and Slic3r::GUI::GLGizmoScale3D::update_render_data().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References Slic3r::Geometry::Transformation::get_offset(), and m_instance_transformation.
Here is the call graph for this function:
|
inline |
References Slic3r::Geometry::Transformation::get_rotation(), and m_instance_transformation.
Here is the call graph for this function:
|
inline |
References Slic3r::Geometry::Transformation::get_rotation(), and m_instance_transformation.
Here is the call graph for this function:
|
inline |
References Slic3r::Geometry::Transformation::get_scaling_factor(), and m_instance_transformation.
Here is the call graph for this function:
|
inline |
References Slic3r::Geometry::Transformation::get_scaling_factor(), and m_instance_transformation.
Here is the call graph for this function:
|
inline |
References m_instance_transformation.
Referenced by Slic3r::GUI::ObjectManipulation::ObjectManipulation(), Slic3r::GUI::GLGizmoEmboss::create_volume(), Slic3r::GUI::Selection::flattening_rotate(), Slic3r::GUI::Selection::get_bounding_box_in_reference_system(), 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::Selection::render_synchronized_volumes(), Slic3r::GUI::Selection::set_caches(), priv::start_create_volume_on_surface_job(), Slic3r::GUI::Selection::synchronize_unselected_instances(), Slic3r::GUI::Selection::translate(), Slic3r::GUI::GLGizmoHollow::update_hole_raycasters_for_picking_transform(), and Slic3r::GUI::GLGizmoSlaBase::update_volumes().
Here is the caller graph for this function:
|
inline |
References m_sla_shift_z.
Referenced by Slic3r::GUI::GLGizmoCut3D::get_cut_matrix(), Slic3r::GUI::on_mouse_surface_drag(), 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::GLGizmoMeasure::update_if_needed(), and Slic3r::GUI::GLGizmoSlaBase::update_volumes().
Here is the caller graph for this function:
|
inline |
References Slic3r::Geometry::Transformation::get_mirror(), and m_volume_transformation.
Here is the call graph for this function:
|
inline |
References Slic3r::Geometry::Transformation::get_mirror(), and m_volume_transformation.
Here is the call graph for this function:
|
inline |
References Slic3r::Geometry::Transformation::get_offset(), and m_volume_transformation.
Referenced by Slic3r::GUI::GCodeViewer::load_shells().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References Slic3r::Geometry::Transformation::get_offset(), and m_volume_transformation.
Here is the call graph for this function:
|
inline |
References Slic3r::Geometry::Transformation::get_rotation(), and m_volume_transformation.
Here is the call graph for this function:
|
inline |
References Slic3r::Geometry::Transformation::get_rotation(), and m_volume_transformation.
Here is the call graph for this function:
|
inline |
References Slic3r::Geometry::Transformation::get_scaling_factor(), and m_volume_transformation.
Here is the call graph for this function:
|
inline |
References Slic3r::Geometry::Transformation::get_scaling_factor(), and m_volume_transformation.
Here is the call graph for this function:
|
inline |
References m_volume_transformation.
Referenced by Slic3r::GUI::ObjectManipulation::ObjectManipulation(), priv::apply_camera_dir(), Slic3r::GUI::GLGizmoMove3D::local_transform(), Slic3r::GUI::on_mouse_surface_drag(), Slic3r::GUI::Selection::render_synchronized_volumes(), Slic3r::GUI::Selection::set_caches(), and Slic3r::GUI::GLGizmoSlaBase::update_volumes().
Here is the caller graph for this function:
|
inline |
References Slic3r::GUI::GLModel::gpu_memory_used().
Referenced by total_memory_used().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References Slic3r::GLVolume::CompositeID::instance_id.
Referenced by Slic3r::GUI::GLCanvas3D::_update_selection_from_hover(), Slic3r::GUI::GLCanvas3D::_update_volumes_hover_state(), Slic3r::GUI::GLGizmoEmboss::create_volume(), Slic3r::GUI::Selection::do_remove_instance(), Slic3r::GUI::get_model_instance(), Slic3r::GUI::get_model_instance(), Slic3r::GUI::Selection::get_volume_idxs_from_instance(), Slic3r::GUI::Selection::get_volume_idxs_from_volume(), Slic3r::GUI::Selection::is_single_full_instance(), Slic3r::GUI::processed_objects_idxs(), Slic3r::GUI::Selection::synchronize_unselected_instances(), Slic3r::GUI::Selection::translate(), and Slic3r::GUI::GLGizmoMeasure::update_if_needed().
Here is the caller graph for this function:| bool Slic3r::GLVolume::is_below_printbed | ( | ) | const |
References Slic3r::BoundingBoxBase< PointType, APointsType >::max, and transformed_convex_hull_bounding_box().
Referenced by set_render_color().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Slic3r::GLVolume::is_left_handed | ( | ) | const |
References Slic3r::Geometry::Transformation::get_mirror(), m_instance_transformation, and m_volume_transformation.
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Slic3r::GLVolume::is_sinking | ( | ) | const |
References Slic3r::BoundingBoxBase< PointType, APointsType >::max, Slic3r::BoundingBoxBase< PointType, APointsType >::min, Slic3r::ptSLA, Slic3r::SINKING_Z_THRESHOLD, and transformed_convex_hull_bounding_box().
Referenced by Slic3r::GUI::Selection::set_caches().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Slic3r::GLVolume::is_sla_pad | ( | ) | const |
References composite_id, Slic3r::slaposPad, and Slic3r::GLVolume::CompositeID::volume_id.
Referenced by Slic3r::GUI::GLGizmoSlaBase::register_volume_raycasters_for_picking().
Here is the caller graph for this function:| bool Slic3r::GLVolume::is_sla_support | ( | ) | const |
References composite_id, Slic3r::slaposSupportTree, and Slic3r::GLVolume::CompositeID::volume_id.
Referenced by Slic3r::GUI::GLGizmoSlaBase::register_volume_raycasters_for_picking().
Here is the caller graph for this function:
|
inline |
References Slic3r::GLVolume::CompositeID::object_id.
Referenced by Slic3r::GUI::GLCanvas3D::_update_selection_from_hover(), Slic3r::GUI::GLCanvas3D::_update_volumes_hover_state(), Slic3r::GUI::MenuFactory::append_menu_item_edit_text(), Slic3r::GUI::GLGizmoEmboss::create_volume(), Slic3r::GUI::Selection::do_remove_instance(), Slic3r::GUI::Selection::do_remove_object(), Slic3r::GUI::Selection::erase(), Slic3r::GUI::Selection::get_bounding_box_in_reference_system(), Slic3r::GUI::get_model_object(), Slic3r::GUI::get_model_volume(), Slic3r::GUI::get_model_volume(), Slic3r::GUI::Selection::get_volume_idxs_from_instance(), Slic3r::GUI::Selection::get_volume_idxs_from_object(), Slic3r::GUI::Selection::get_volume_idxs_from_volume(), Slic3r::GUI::Selection::is_single_full_instance(), Slic3r::GUI::Selection::is_single_text(), Slic3r::GUI::GLCanvas3D::on_mouse(), Slic3r::GUI::processed_objects_idxs(), Slic3r::GUI::reloadable_volumes(), Slic3r::GUI::Selection::remove_volume(), Slic3r::GUI::Selection::render_synchronized_volumes(), Slic3r::GUI::Plater::priv::replace_with_stl(), priv::start_create_volume_on_surface_job(), Slic3r::GUI::Selection::synchronize_unselected_instances(), Slic3r::GUI::Selection::synchronize_unselected_volumes(), transformed_non_sinking_bounding_box(), Slic3r::GUI::Selection::translate(), Slic3r::GLVolume::SinkingContours::update(), Slic3r::GLVolume::NonManifoldEdges::update(), Slic3r::GUI::GLGizmoMeasure::update_if_needed(), Slic3r::GUI::ObjectList::update_selections(), and Slic3r::GUI::Selection::update_type().
Here is the caller graph for this function:| void Slic3r::GLVolume::render | ( | ) |
References glsafe, is_left_handed(), model, Slic3r::GUI::GLModel::render(), and tverts_range.
Here is the call graph for this function:| void Slic3r::GLVolume::render_non_manifold_edges | ( | ) |
References m_non_manifold_edges, and Slic3r::GLVolume::NonManifoldEdges::render().
Here is the call graph for this function:| void Slic3r::GLVolume::render_sinking_contours | ( | ) |
References m_sinking_contours, and Slic3r::GLVolume::SinkingContours::render().
Here is the call graph for this function:
|
inline |
References m_transformed_bounding_box, m_transformed_convex_hull_bounding_box, and m_transformed_non_sinking_bounding_box.
Referenced by set_instance_mirror(), set_instance_mirror(), set_instance_offset(), set_instance_offset(), set_instance_rotation(), set_instance_rotation(), set_instance_scaling_factor(), set_instance_scaling_factor(), set_instance_transformation(), set_instance_transformation(), set_volume_mirror(), set_volume_mirror(), set_volume_offset(), set_volume_offset(), set_volume_rotation(), set_volume_rotation(), set_volume_scaling_factor(), set_volume_scaling_factor(), set_volume_transformation(), and set_volume_transformation().
Here is the caller graph for this function:References color.
Referenced by Slic3r::GLVolumeCollection::load_object_volume(), and Slic3r::GUI::GLGizmoSlaBase::update_volumes().
Here is the caller graph for this function:| void Slic3r::GLVolume::set_color_from_model_volume | ( | const ModelVolume & | model_volume | ) |
|
inline |
|
inline |
References convex_hull(), and m_convex_hull.
Referenced by Slic3r::GUI::GLCanvas3D::_load_sla_shells(), Slic3r::GLVolumeCollection::load_object_auxiliary(), Slic3r::GLVolumeCollection::load_object_volume(), and Slic3r::GLVolumeCollection::load_wipe_tower_preview().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_instance_transformation, set_bounding_boxes_as_dirty(), and Slic3r::Geometry::Transformation::set_mirror().
Here is the call graph for this function:References m_instance_transformation, set_bounding_boxes_as_dirty(), and Slic3r::Geometry::Transformation::set_mirror().
Referenced by Slic3r::GUI::GLCanvas3D::_load_sla_shells().
Here is the call graph for this function:
Here is the caller graph for this function:References m_instance_transformation, Slic3r::offset(), set_bounding_boxes_as_dirty(), and Slic3r::Geometry::Transformation::set_offset().
Here is the call graph for this function:References m_instance_transformation, Slic3r::offset(), set_bounding_boxes_as_dirty(), and Slic3r::Geometry::Transformation::set_offset().
Referenced by Slic3r::GUI::GLCanvas3D::_load_sla_shells(), and Slic3r::GUI::Selection::translate().
Here is the call graph for this function:
Here is the caller graph for this function:References m_instance_transformation, set_bounding_boxes_as_dirty(), and Slic3r::Geometry::Transformation::set_rotation().
Here is the call graph for this function:References m_instance_transformation, set_bounding_boxes_as_dirty(), and Slic3r::Geometry::Transformation::set_rotation().
Referenced by Slic3r::GUI::GLCanvas3D::_load_sla_shells().
Here is the call graph for this function:
Here is the caller graph for this function:References m_instance_transformation, set_bounding_boxes_as_dirty(), and Slic3r::Geometry::Transformation::set_scaling_factor().
Here is the call graph for this function:References m_instance_transformation, set_bounding_boxes_as_dirty(), and Slic3r::Geometry::Transformation::set_scaling_factor().
Here is the call graph for this function:
|
inline |
References m_instance_transformation, and set_bounding_boxes_as_dirty().
Referenced by Slic3r::GUI::Selection::flattening_rotate(), Slic3r::GLVolumeCollection::load_object_auxiliary(), Slic3r::GLVolumeCollection::load_object_volume(), Slic3r::GUI::Selection::reset_skew(), Slic3r::GUI::Selection::scale_and_translate(), Slic3r::GUI::Selection::synchronize_unselected_instances(), Slic3r::GUI::Selection::translate(), and Slic3r::GUI::GLGizmoSlaBase::update_volumes().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_instance_transformation, set_bounding_boxes_as_dirty(), Slic3r::Geometry::Transformation::set_matrix(), and Slic3r::transform().
Here is the call graph for this function:| void Slic3r::GLVolume::set_range | ( | double | low, |
| double | high | ||
| ) |
References Slic3r::GUI::GLModel::indices_count(), model, offsets, print_zs, and tverts_range.
Here is the call graph for this function:| void Slic3r::GLVolume::set_render_color | ( | bool | force_transparent | ) |
References Slic3r::ColorRGBA::a(), color, DISABLED_COLOR, hover, HOVER_DESELECT_COLOR, HOVER_SELECT_COLOR, HS_Deselect, HS_Select, is_below_printbed(), NEUTRAL_COLOR, OUTSIDE_COLOR, render_color, Slic3r::saturate(), SELECTED_COLOR, SELECTED_OUTSIDE_COLOR, and set_render_color().
Here is the call graph for this function:References render_color.
Referenced by GLVolume(), and set_render_color().
Here is the caller graph for this function:
|
inline |
References m_sla_shift_z.
Referenced by Slic3r::GUI::GLGizmoSlaBase::update_volumes().
Here is the caller graph for this function:References m_volume_transformation, set_bounding_boxes_as_dirty(), and Slic3r::Geometry::Transformation::set_mirror().
Here is the call graph for this function:References m_volume_transformation, set_bounding_boxes_as_dirty(), and Slic3r::Geometry::Transformation::set_mirror().
Here is the call graph for this function:References m_volume_transformation, Slic3r::offset(), set_bounding_boxes_as_dirty(), and Slic3r::Geometry::Transformation::set_offset().
Here is the call graph for this function:References m_volume_transformation, Slic3r::offset(), set_bounding_boxes_as_dirty(), and Slic3r::Geometry::Transformation::set_offset().
Referenced by Slic3r::GUI::GCodeViewer::load_shells(), Slic3r::GLVolumeCollection::load_wipe_tower_preview(), and Slic3r::GUI::Selection::translate().
Here is the call graph for this function:
Here is the caller graph for this function:References m_volume_transformation, set_bounding_boxes_as_dirty(), and Slic3r::Geometry::Transformation::set_rotation().
Here is the call graph for this function:References m_volume_transformation, set_bounding_boxes_as_dirty(), and Slic3r::Geometry::Transformation::set_rotation().
Referenced by Slic3r::GLVolumeCollection::load_wipe_tower_preview().
Here is the call graph for this function:
Here is the caller graph for this function:References m_volume_transformation, set_bounding_boxes_as_dirty(), and Slic3r::Geometry::Transformation::set_scaling_factor().
Here is the call graph for this function:References m_volume_transformation, set_bounding_boxes_as_dirty(), and Slic3r::Geometry::Transformation::set_scaling_factor().
Here is the call graph for this function:
|
inline |
References m_volume_transformation, and set_bounding_boxes_as_dirty().
Referenced by Slic3r::GUI::ObjectManipulation::ObjectManipulation(), priv::apply_camera_dir(), Slic3r::GLVolumeCollection::load_object_volume(), Slic3r::GUI::Selection::reset_skew(), Slic3r::GUI::Selection::synchronize_unselected_volumes(), and Slic3r::GUI::GLGizmoSlaBase::update_volumes().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_volume_transformation, set_bounding_boxes_as_dirty(), Slic3r::Geometry::Transformation::set_matrix(), and Slic3r::transform().
Here is the call graph for this function:
|
inline |
| const BoundingBoxf3 & Slic3r::GLVolume::transformed_bounding_box | ( | ) | const |
References bounding_box(), Slic3r::BoundingBoxBase< PointType, APointsType >::defined, m_transformed_bounding_box, Slic3r::BoundingBoxBase< PointType, APointsType >::max, Slic3r::BoundingBoxBase< PointType, APointsType >::min, Slic3r::BoundingBoxf3::transformed(), and world_matrix().
Here is the call graph for this function:| const BoundingBoxf3 & Slic3r::GLVolume::transformed_convex_hull_bounding_box | ( | ) | const |
References m_transformed_convex_hull_bounding_box, transformed_convex_hull_bounding_box(), and world_matrix().
Referenced by is_below_printbed(), is_sinking(), and transformed_convex_hull_bounding_box().
Here is the call graph for this function:
Here is the caller graph for this function:| BoundingBoxf3 Slic3r::GLVolume::transformed_convex_hull_bounding_box | ( | const Transform3d & | trafo | ) | const |
References bounding_box(), m_convex_hull, and Slic3r::BoundingBoxf3::transformed().
Referenced by Slic3r::GUI::Selection::render_synchronized_volumes().
Here is the call graph for this function:
Here is the caller graph for this function:| const BoundingBoxf3 & Slic3r::GLVolume::transformed_non_sinking_bounding_box | ( | ) | const |
References m_transformed_non_sinking_bounding_box, transformed_non_sinking_bounding_box(), and world_matrix().
Referenced by transformed_non_sinking_bounding_box().
Here is the call graph for this function:
Here is the caller graph for this function:| BoundingBoxf3 Slic3r::GLVolume::transformed_non_sinking_bounding_box | ( | const Transform3d & | trafo | ) | const |
References object_idx(), and volume_idx().
Here is the call graph for this function:
|
inline |
References Slic3r::GLVolume::CompositeID::volume_id.
Referenced by Slic3r::GUI::GLCanvas3D::_update_selection_from_hover(), Slic3r::GUI::MenuFactory::append_menu_item_edit_text(), Slic3r::GUI::Selection::erase(), Slic3r::GUI::Selection::get_bounding_box_in_reference_system(), Slic3r::GUI::get_model_volume(), Slic3r::GUI::get_model_volume(), Slic3r::GUI::Plater::priv::get_selected_volume_idx(), Slic3r::GUI::Selection::get_volume_idxs_from_object(), Slic3r::GUI::Selection::get_volume_idxs_from_volume(), Slic3r::GUI::Selection::is_single_full_instance(), Slic3r::GUI::Selection::is_single_text(), Slic3r::GUI::GLCanvas3D::on_mouse(), Slic3r::GUI::reloadable_volumes(), Slic3r::GUI::Selection::remove_volume(), Slic3r::GUI::Selection::render_synchronized_volumes(), Slic3r::GUI::Plater::priv::replace_with_stl(), priv::start_create_volume_on_surface_job(), Slic3r::GUI::Selection::synchronize_unselected_volumes(), transformed_non_sinking_bounding_box(), Slic3r::GLVolume::NonManifoldEdges::update(), Slic3r::GUI::GLGizmoMeasure::update_if_needed(), and Slic3r::GUI::GLGizmoSlaBase::update_volumes().
Here is the caller graph for this function:| Transform3d Slic3r::GLVolume::world_matrix | ( | ) | const |
References Slic3r::Geometry::Transformation::get_matrix(), m_instance_transformation, m_sla_shift_z, m_volume_transformation, and Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::translation().
Referenced by Slic3r::GUI::GLGizmoEmboss::calculate_scale(), Slic3r::GUI::GLGizmoEmboss::draw_advanced(), Slic3r::GUI::Selection::get_bounding_box_in_reference_system(), Slic3r::GUI::GLGizmoEmboss::on_mouse_for_translate(), Slic3r::GUI::GLGizmoSimplify::on_render(), Slic3r::GUI::GLGizmoEmboss::on_stop_dragging(), Slic3r::GUI::GLGizmoSlaBase::register_volume_raycasters_for_picking(), Slic3r::GUI::GLCanvas3D::reload_scene(), Slic3r::GUI::Selection::render_synchronized_volumes(), Slic3r::GUI::Selection::scale_to_fit_print_volume(), Slic3r::GUI::GLGizmoEmboss::set_volume_by_selection(), transformed_bounding_box(), transformed_convex_hull_bounding_box(), transformed_non_sinking_bounding_box(), Slic3r::GUI::GLGizmoSlaSupports::update_point_raycasters_for_picking_transform(), and Slic3r::GUI::world_matrix_fixed().
Here is the call graph for this function:
Here is the caller graph for this function:| struct { ... } Slic3r::GLVolume |
| ColorRGBA Slic3r::GLVolume::color |
| CompositeID Slic3r::GLVolume::composite_id |
Referenced by Slic3r::GUI::GLCanvas3D::_load_sla_shells(), Slic3r::GUI::get_selected_gl_volume(), Slic3r::GUI::get_volume(), Slic3r::GUI::get_volume_ids(), Slic3r::GUI::GLGizmoSimplify::init_model(), is_sla_pad(), is_sla_support(), Slic3r::GLVolumeCollection::load_object_auxiliary(), Slic3r::GLVolumeCollection::load_object_volume(), Slic3r::GLVolumeCollection::load_wipe_tower_preview(), Slic3r::GUI::GLGizmoHollow::on_is_activable(), Slic3r::GUI::GLGizmoSlaSupports::on_is_activable(), Slic3r::GUI::GLGizmoSimplify::on_render(), and Slic3r::GUI::GLCanvas3D::reload_scene().
|
static |
Referenced by set_render_color().
| int Slic3r::GLVolume::extruder_id |
Referenced by Slic3r::GLVolumeCollection::load_object_volume().
| std::pair<size_t, size_t> Slic3r::GLVolume::geometry_id |
| EHoverState Slic3r::GLVolume::hover |
Referenced by Slic3r::GUI::Selection::do_add_volume(), and set_render_color().
Referenced by set_render_color().
Referenced by set_render_color().
|
private |
Referenced by convex_hull(), set_convex_hull(), set_convex_hull(), set_convex_hull(), and transformed_convex_hull_bounding_box().
|
private |
Referenced by get_instance_mirror(), get_instance_mirror(), get_instance_offset(), get_instance_offset(), get_instance_rotation(), get_instance_rotation(), get_instance_scaling_factor(), get_instance_scaling_factor(), get_instance_transformation(), is_left_handed(), set_instance_mirror(), set_instance_mirror(), set_instance_offset(), set_instance_offset(), set_instance_rotation(), set_instance_rotation(), set_instance_scaling_factor(), set_instance_scaling_factor(), set_instance_transformation(), set_instance_transformation(), and world_matrix().
|
private |
Referenced by render_non_manifold_edges().
|
private |
Referenced by render_sinking_contours().
|
private |
Referenced by get_sla_shift_z(), set_sla_shift_z(), and world_matrix().
|
private |
Referenced by set_bounding_boxes_as_dirty(), and transformed_bounding_box().
|
private |
Referenced by set_bounding_boxes_as_dirty(), and transformed_convex_hull_bounding_box().
|
private |
Referenced by set_bounding_boxes_as_dirty(), and transformed_non_sinking_bounding_box().
|
private |
Referenced by get_volume_mirror(), get_volume_mirror(), get_volume_offset(), get_volume_offset(), get_volume_rotation(), get_volume_rotation(), get_volume_scaling_factor(), get_volume_scaling_factor(), get_volume_transformation(), is_left_handed(), set_volume_mirror(), set_volume_mirror(), set_volume_offset(), set_volume_offset(), set_volume_rotation(), set_volume_rotation(), set_volume_scaling_factor(), set_volume_scaling_factor(), set_volume_transformation(), set_volume_transformation(), and world_matrix().
| std::unique_ptr<GUI::MeshRaycaster> Slic3r::GLVolume::mesh_raycaster |
Referenced by Slic3r::GLVolumeCollection::load_object_auxiliary(), Slic3r::GLVolumeCollection::load_object_volume(), Slic3r::GLVolumeCollection::load_wipe_tower_preview(), Slic3r::GUI::GLGizmoSlaBase::register_volume_raycasters_for_picking(), Slic3r::GUI::GLCanvas3D::reload_scene(), and Slic3r::GUI::GLGizmoSlaBase::update_volumes().
| GUI::GLModel Slic3r::GLVolume::model |
Referenced by Slic3r::GUI::GLCanvas3D::_load_print_object_toolpaths(), Slic3r::GUI::GLCanvas3D::_load_sla_shells(), Slic3r::GUI::GLCanvas3D::_load_wipe_tower_toolpaths(), Slic3r::GLVolumeCollection::load_object_auxiliary(), Slic3r::GLVolumeCollection::load_object_volume(), Slic3r::GLVolumeCollection::load_wipe_tower_preview(), render(), set_range(), Slic3r::GLVolume::SinkingContours::update(), Slic3r::GLVolume::NonManifoldEdges::update(), and Slic3r::GUI::GLGizmoSlaBase::update_volumes().
Referenced by Slic3r::GLVolumeCollection::load_object_auxiliary().
Referenced by Slic3r::GUI::TriangleSelectorGUI::render(), and set_render_color().
| std::vector<size_t> Slic3r::GLVolume::offsets |
Referenced by set_render_color().
| std::vector<coordf_t> Slic3r::GLVolume::print_zs |
| ColorRGBA Slic3r::GLVolume::render_color |
Referenced by set_render_color(), and set_render_color().
|
static |
Referenced by Slic3r::GUI::GLGizmoMeasure::on_render(), and set_render_color().
Referenced by set_render_color().
Referenced by Slic3r::GLVolumeCollection::load_object_auxiliary().
|
static |
Referenced by Slic3r::GLVolumeCollection::load_object_auxiliary().
| std::pair<size_t, size_t> Slic3r::GLVolume::tverts_range |
Referenced by render(), and set_range().