#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/GLCanvas3D.hpp>
Classes | |
| class | LayersEditing |
| struct | Mouse |
| struct | SlaCap |
| class | RenderStats |
| class | Labels |
| class | CenterOfMass |
| class | Tooltip |
| class | Slope |
| class | RenderTimer |
| class | ToolbarHighlighterTimer |
| class | GizmoHighlighterTimer |
| struct | ArrangeSettings |
| struct | OrientSettings |
| struct | SectionView |
| struct | KeyDown |
| struct | SelectionEdit |
| class | SequentialPrintClearance |
| struct | ToolbarHighlighter |
| struct | GizmoHighlighter |
| class | WipeTowerInfo |
Public Types | |
| enum | ECursorType : unsigned char { Standard , Cross } |
| enum | ECanvasType { CanvasView3D = 0 , CanvasPreview = 1 , CanvasAssembleView = 2 } |
| enum class | MouseButton { None , Left , Middle , Right } |
| enum class | MouseAction { None , Pan , Rotation } |
Static Public Member Functions | |
| static bool | is_frame_in_progress () |
| static void | render_thumbnail_internal (ThumbnailData &thumbnail_data, const ThumbnailsParams &thumbnail_params, PartPlateList &partplate_list, ModelObjectPtrs &model_objects, const GLVolumeCollection &volumes, std::vector< ColorRGBA > &extruder_colors, GLShaderProgram *shader, Camera::EType camera_type, Camera::ViewAngleType camera_view_angle_type=Camera::ViewAngleType::Iso, bool for_picking=false, bool ban_light=false) |
| static void | render_thumbnail_framebuffer (ThumbnailData &thumbnail_data, unsigned int w, unsigned int h, const ThumbnailsParams &thumbnail_params, PartPlateList &partplate_list, ModelObjectPtrs &model_objects, const GLVolumeCollection &volumes, std::vector< ColorRGBA > &extruder_colors, GLShaderProgram *shader, Camera::EType camera_type, Camera::ViewAngleType camera_view_angle_type=Camera::ViewAngleType::Iso, bool for_picking=false, bool ban_light=false) |
| static void | render_thumbnail_framebuffer_ext (ThumbnailData &thumbnail_data, unsigned int w, unsigned int h, const ThumbnailsParams &thumbnail_params, PartPlateList &partplate_list, ModelObjectPtrs &model_objects, const GLVolumeCollection &volumes, std::vector< ColorRGBA > &extruder_colors, GLShaderProgram *shader, Camera::EType camera_type, Camera::ViewAngleType camera_view_angle_type=Camera::ViewAngleType::Iso, bool for_picking=false, bool ban_light=false) |
| static void | render_thumbnail_legacy (ThumbnailData &thumbnail_data, unsigned int w, unsigned int h, const ThumbnailsParams &thumbnail_params, PartPlateList &partplate_list, ModelObjectPtrs &model_objects, const GLVolumeCollection &volumes, std::vector< ColorRGBA > &extruder_colors, GLShaderProgram *shader, Camera::EType camera_type, Camera::ViewAngleType camera_view_angle_type=Camera::ViewAngleType::Iso, bool for_picking=false, bool ban_light=false) |
| static int64_t | timestamp_now () |
Private Types | |
| enum class | EWarning { ObjectOutside , ToolpathOutside , SlaSupportsOutside , SomethingNotShown , ObjectClashed , ObjectLimited , GCodeConflict , ToolHeightOutside , TPUPrintableError , FilamentPrintableError , LeftExtruderPrintableError , RightExtruderPrintableError , MultiExtruderPrintableError , MultiExtruderHeightOutside , FilamentUnPrintableOnFirstLayer , MixUsePLAAndPETG , PrimeTowerOutside , NozzleFilamentIncompatible , MixtureFilamentIncompatible , SingleExtruderMixedFilament , FlushingVolumeZero } |
| enum class | EShadowMode { Off , Static , Orbit } |
| enum class | ECameraNavigationType : unsigned char { Mouse , Gesture } |
Static Private Member Functions | |
| static void | update_render_colors () |
| static void | load_render_colors () |
Static Private Attributes | |
| static const double | DefaultCameraZoomToBoxMarginFactor = 1.25 |
| static const double | DefaultCameraZoomToBedMarginFactor = 2.00 |
| static const double | DefaultCameraZoomToPlateMarginFactor = 1.25 |
| static int | s_frames_in_progress = 0 |
| struct Slic3r::GUI::GLCanvas3D::ArrangeSettings |
| struct Slic3r::GUI::GLCanvas3D::OrientSettings |
| Class Members | ||
|---|---|---|
| bool | enable_rotation = false | |
| bool | min_area = true | |
| float | overhang_angle = 60.f | |
|
strongprivate |
| Enumerator | |
|---|---|
| Mouse | |
| Gesture | |
| Enumerator | |
|---|---|
| CanvasView3D | |
| CanvasPreview | |
| CanvasAssembleView | |
| enum Slic3r::GUI::GLCanvas3D::ECursorType : unsigned char |
|
strongprivate |
|
strongprivate |
|
strong |
| Enumerator | |
|---|---|
| None | |
| Pan | |
| Rotation | |
|
strong |
|
explicit |
References GLCanvas3D(), _L, CanvasView3D, ENABLE_RETINA_GL, load_arrange_settings(), m_apply_zoom_to_volumes_filter, m_assemble_view_toolbar, m_bed, m_camera_movement, m_canvas, m_canvas_type, m_color_by, m_config, m_context, m_cursor_type, m_dirty, m_dynamic_background_enabled, m_extra_frame_requested, m_fps_overlay_timer, m_gizmos, m_in_render, m_initialized, m_labels, m_main_toolbar, m_model, m_moving, m_moving_enabled, m_multisample_allowed, m_picking_enabled, m_process, m_reload_delayed, m_render_sla_auxiliaries, m_render_timer, m_return_toolbar, m_selection, m_separator_toolbar, m_shortcuts_assembly_view, m_sidebar_field, m_slope, m_timer, m_timer_set_color, m_use_clipping_planes, m_volumes, Slic3r::GUI::Normal, on_fps_overlay_timer(), on_set_color_timer(), Slic3r::GUI::shortkey_alt_prefix(), and Standard.
Referenced by GLCanvas3D(), Slic3r::GUI::GLCanvas3D::Labels::Labels(), Slic3r::GUI::GLCanvas3D::SectionView::SectionView(), _get_section_view_plane(), _render_background(), Slic3r::GUI::GLCanvas3D::LayersEditing::accept_changes(), Slic3r::GUI::GLCanvas3D::LayersEditing::adaptive_layer_height_profile(), Slic3r::GUI::GLCanvas3D::LayersEditing::bar_rect_contains(), Slic3r::GUI::GLCanvas3D::LayersEditing::get_bar_rect_screen(), Slic3r::GUI::GLCanvas3D::LayersEditing::get_cursor_z_relative(), Slic3r::GUI::GLCanvas3D::LayersEditing::get_tooltip(), Slic3r::GUI::GLCanvas3D::GizmoHighlighter::init(), Slic3r::GUI::GLCanvas3D::ToolbarHighlighter::init(), Slic3r::GUI::GLCanvas3D::CenterOfMass::model_markers(), Slic3r::GUI::GLCanvas3D::CenterOfMass::on_left_down(), Slic3r::GUI::GLCanvas3D::CenterOfMass::render(), Slic3r::GUI::GLCanvas3D::Tooltip::render(), Slic3r::GUI::GLCanvas3D::LayersEditing::render_active_object_annotations(), Slic3r::GUI::GLCanvas3D::CenterOfMass::render_details(), Slic3r::GUI::GLCanvas3D::LayersEditing::render_overlay(), Slic3r::GUI::GLCanvas3D::LayersEditing::render_profile(), Slic3r::GUI::GLCanvas3D::LayersEditing::render_variable_layer_height_dialog(), Slic3r::GUI::GLCanvas3D::LayersEditing::render_volumes(), Slic3r::GUI::GLCanvas3D::LayersEditing::reset_layer_height_profile(), share_section_view(), Slic3r::GUI::GLCanvas3D::LayersEditing::smooth_layer_height_profile(), and Slic3r::GUI::GLCanvas3D::LayersEditing::thickness_bar_width().
| Slic3r::GUI::GLCanvas3D::~GLCanvas3D | ( | ) |
References _set_current(), glDeleteFramebuffers, glDeleteTextures, glsafe, m_frame_profiler, m_fxaa_texture_id, m_plate_shadow_mask, m_plate_shadow_mask_key, m_plate_switcher_items, m_scene_cache, m_section_view, m_section_view_caps, m_sel_plate_toolbar, m_shadow_map_fbo, m_shadow_map_texture_id, m_ssao_color_texture_id, m_ssao_depth_texture_id, and reset_volumes().
|
private |
References _bind_gcode_shadow_map(), GL_TEXTURE0, GL_TEXTURE4, GL_TEXTURE_2D, glActiveTexture, glBindTexture, glsafe, m_shadow_map_size, m_shadow_map_texture_id, and m_shadow_map_valid.
Referenced by _bind_gcode_shadow_map(), _render_gcode(), and _render_gcode_translucent().
|
private |
References _can_reuse_cached_scene(), _is_scene_cacheable(), _scene_cache_key(), camera, and m_scene_cache.
Referenced by _can_reuse_cached_scene(), and _render_frame().
|
private |
References _capture_scene_cache(), _is_scene_cache_enabled(), _is_scene_cacheable(), _scene_cache_key(), camera, and m_scene_cache.
Referenced by _capture_scene_cache(), and _render_scene().
|
private |
References _check_and_update_toolbar_icon_scale(), CanvasPreview, collapse_side(), collapse_toolbar(), Slic3r::GUI::GLGizmosManager::Default_Icons_Size, Slic3r::GUI::GLToolbar::Default_Icons_Size, Slic3r::GUI::DPI_DEFAULT, Slic3r::GUI::GCODE_VIEWER_SLIDER_SCALE, get_canvas_size(), Slic3r::GUI::get_dpi_for_window(), get_gcode_viewer(), Slic3r::GUI::Size::get_height(), get_scale(), Slic3r::GUI::Size::get_width(), m_assemble_view_toolbar, m_canvas_type, m_gcode_viewer, m_gizmos, m_main_toolbar, m_separator_toolbar, Slic3r::GUI::None, scale(), and Slic3r::GUI::IMSlider::set_scale().
Referenced by _check_and_update_toolbar_icon_scale(), and _render_overlays().
|
private |
References _current_plate_box(), Slic3r::BuildVolume::bounding_volume2d(), Slic3r::GUI::PartPlate::get_bounding_box(), m_bed, m_design_canvas, Slic3r::BoundingBoxBase< PointType, APointsType >::max, Slic3r::BoundingBox3Base< PointType >::merge(), Slic3r::BoundingBoxBase< PointType, APointsType >::min, and Slic3r::BuildVolume::valid().
Referenced by _current_plate_box(), get_camera_orbit_target(), and volumes_bounding_box().
|
private |
References _deactivate_arrange_menu(), and m_main_toolbar.
Referenced by _deactivate_arrange_menu(), on_char(), and on_mouse().
|
private |
References _deactivate_collapse_toolbar_items(), and collapse_toolbar().
Referenced by _deactivate_collapse_toolbar_items().
|
private |
References _deactivate_layersediting_menu(), and m_main_toolbar.
Referenced by _deactivate_layersediting_menu(), and on_mouse().
|
private |
References _deactivate_orient_menu(), and m_main_toolbar.
Referenced by _deactivate_orient_menu(), on_char(), and on_mouse().
|
private |
References Slic3r::BuildVolume::BedEpsilon, m_config, m_process, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::max, and Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::min.
Referenced by _render_background().
|
private |
References _get_effective_fps_cap(), and SETTING_OPENGL_FPS_CAP.
Referenced by _get_effective_fps_cap(), and on_idle().
|
private |
References GLCanvas3D(), _get_section_view_plane(), Slic3r::BoundingBox3Base< PointType >::center(), Slic3r::GUI::ClippingPlane::ClipsNothing(), Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::defined, m_gcode_viewer, m_section_view, Slic3r::BoundingBox3Base< PointType >::merge(), Slic3r::GUI::GLCanvas3D::SectionView::normal, Slic3r::GUI::GLCanvas3D::SectionView::owner, Slic3r::BoundingBox3Base< PointType >::radius(), Slic3r::GUI::GLCanvas3D::SectionView::ratio, and volumes_bounding_box().
Referenced by _get_section_view_plane(), _get_volumes_clipping_plane(), _render_scene(), and _render_section_view_caps().
|
private |
References _get_section_view_plane(), _get_volumes_clipping_plane(), and m_gizmos.
Referenced by _get_volumes_clipping_plane(), _render_objects(), and get_raycaster_clipping_plane().
|
private |
References _hides_inactive_plates(), CanvasView3D, m_canvas_type, and m_design_canvas.
Referenced by _hides_inactive_plates(), _render_bed(), _render_plate_switcher(), _render_platelist(), _update_inactive_plates_visibility(), and zoom_to_plate().
|
private |
References _utf8, Slic3r::GUI::GLToolbarItem::Data::Option::action_callback, Slic3r::GUI::BackgroundTexture::Metadata::bottom, Slic3r::GUI::GLToolbarItem::Default_Render_Callback, Slic3r::GUI::GLToolbarItem::Data::enabling_callback, Slic3r::GUI::BackgroundTexture::Metadata::filename, Slic3r::GUI::GLToolbar::Layout::HO_Left, Slic3r::GUI::GLToolbar::Layout::Horizontal, Slic3r::GUI::GLToolbarItem::Data::icon_filename, L, Slic3r::GUI::BackgroundTexture::Metadata::left, Slic3r::GUI::GLToolbarItem::Data::left, m_assemble_view_toolbar, m_canvas, m_is_dark, Slic3r::GUI::GLToolbarItem::Data::name, Slic3r::GUI::GLToolbarItem::Data::Option::render_callback, Slic3r::GUI::BackgroundTexture::Metadata::right, Slic3r::GUI::GLToolbarItem::Data::sprite_id, Slic3r::GUI::GLToolbarItem::Data::Option::toggable, Slic3r::GUI::GLToolbarItem::Data::tooltip, Slic3r::GUI::BackgroundTexture::Metadata::top, Slic3r::GUI::GLToolbarItem::Data::visibility_callback, Slic3r::GUI::GLToolbarItem::Data::visible, and Slic3r::GUI::GLToolbar::Layout::VO_Top.
Referenced by _init_toolbars().
|
private |
References Slic3r::GUI::BackgroundTexture::Metadata::bottom, Slic3r::GUI::BackgroundTexture::Metadata::filename, Slic3r::GUI::BackgroundTexture::Metadata::left, m_collapse_toolbar, m_is_dark, Slic3r::GUI::BackgroundTexture::Metadata::right, and Slic3r::GUI::BackgroundTexture::Metadata::top.
Referenced by _init_toolbars().
|
private |
References _render_arrange_menu(), _utf8, Slic3r::GUI::GLToolbarItem::Data::Option::action_callback, auto_orient_count, Slic3r::GUI::BackgroundTexture::Metadata::bottom, current_printer_technology(), Slic3r::GUI::GLToolbarItem::Default_Render_Callback, Slic3r::GUI::GLToolbarItem::Default_Visibility_Callback, Slic3r::GUI::GLToolbarItem::Data::enabling_callback, Slic3r::GUI::BackgroundTexture::Metadata::filename, force_main_toolbar_left_action(), get_main_toolbar_item_id(), Slic3r::GUI::GLToolbar::Layout::HO_Right, Slic3r::GUI::GLToolbar::Layout::Horizontal, Slic3r::GUI::GLToolbarItem::Data::icon_filename, L, Slic3r::GUI::BackgroundTexture::Metadata::left, Slic3r::GUI::GLToolbarItem::Data::left, m_canvas, m_gizmos, m_is_dark, m_main_toolbar, Slic3r::GUI::GLToolbarItem::Data::name, Slic3r::GUI::Job::PREPARE_STATE_DEFAULT, Slic3r::ptFFF, Slic3r::GUI::GLToolbarItem::Data::Option::render_callback, Slic3r::GUI::BackgroundTexture::Metadata::right, Slic3r::GUI::GLToolbarItem::Data::right, Slic3r::GUI::GLToolbarItem::Data::sprite_id, Slic3r::GUI::GLToolbarItem::Data::Option::toggable, Slic3r::GUI::GLToolbarItem::Data::tooltip, Slic3r::GUI::BackgroundTexture::Metadata::top, Slic3r::NetworkAgent::track_update_property(), update_shortcut_tooltips(), Slic3r::GUI::GLToolbarItem::Data::visibility_callback, and Slic3r::GUI::GLToolbar::Layout::VO_Top.
Referenced by _init_toolbars().
|
private |
References m_return_toolbar.
Referenced by _init_toolbars().
|
private |
References Slic3r::GUI::IMToolbarItem::image_failed, Slic3r::GUI::IMToolbarItem::image_idle, Slic3r::GUI::IMToolbarItem::image_slicing, Slic3r::GUI::IMToolbarItem::image_stats, Slic3r::GUI::GLTexture::load_from_svg_file(), m_is_dark, m_sel_plate_toolbar, and Slic3r::resources_dir().
Referenced by _init_toolbars(), and on_change_color_mode().
|
private |
References Slic3r::GUI::GLToolbarItem::Data::Option::action_callback, Slic3r::GUI::BackgroundTexture::Metadata::bottom, Slic3r::GUI::GLToolbarItem::Data::enabling_callback, Slic3r::GUI::BackgroundTexture::Metadata::filename, Slic3r::GUI::GLToolbar::Layout::HO_Left, Slic3r::GUI::GLToolbar::Layout::Horizontal, Slic3r::GUI::GLToolbarItem::Data::icon_filename, Slic3r::GUI::BackgroundTexture::Metadata::left, Slic3r::GUI::GLToolbarItem::Data::left, m_is_dark, m_separator_toolbar, Slic3r::GUI::GLToolbarItem::Data::name, Slic3r::GUI::BackgroundTexture::Metadata::right, Slic3r::GUI::GLToolbarItem::Data::sprite_id, Slic3r::GUI::BackgroundTexture::Metadata::top, Slic3r::GUI::GLToolbarItem::Data::visibility_callback, and Slic3r::GUI::GLToolbar::Layout::VO_Top.
Referenced by _init_toolbars().
|
private |
References _init_assemble_view_toolbar(), _init_collapse_toolbar(), _init_main_toolbar(), _init_return_toolbar(), _init_select_plate_toolbar(), and _init_separator_toolbar().
Referenced by init().
|
private |
References _is_any_volume_outside(), and m_volumes.
Referenced by _is_any_volume_outside(), _render_background(), and _set_warning_notification_if_needed().
|
private |
References _is_below_plate_view_active(), and m_gizmos.
Referenced by _is_below_plate_view_active(), _render_below_plate_volumes(), _render_scene(), and is_bed_visible().
|
private |
References _is_fps_overlay_enabled(), m_benchmarking, and SETTING_OPENGL_SHOW_FPS_OVERLAY.
Referenced by _is_fps_overlay_enabled(), _render_fps_overlay(), and _render_frame().
|
private |
References _is_frame_skipping_enabled(), and SETTING_OPENGL_SKIP_IDENTICAL_FRAMES.
Referenced by _is_frame_skipping_enabled(), and _render_frame().
|
private |
References _is_fxaa_enabled(), and SETTING_OPENGL_FXAA_ENABLED.
Referenced by _is_fxaa_enabled(), and _render_scene().
|
private |
References _is_realistic_view_enabled(), CanvasPreview, Slic3r::AppConfig::get_bool(), m_canvas_type, SETTING_OPENGL_REALISTIC_MODE, and SETTING_OPENGL_REALISTIC_PREVIEW.
Referenced by _is_realistic_view_enabled(), _is_ssao_enabled(), _render_gcode(), _render_objects(), _render_shadows(), and _static_light_dir_eye().
|
private |
References _is_render_timings_enabled(), m_benchmarking, and SETTING_OPENGL_SHOW_RENDER_TIMINGS.
Referenced by _is_render_timings_enabled(), _render_fps_overlay(), and _render_frame().
|
private |
References _is_scene_cache_enabled(), and SETTING_OPENGL_SCENE_CACHE.
Referenced by _capture_scene_cache(), _is_scene_cache_enabled(), and _is_scene_cacheable().
|
private |
References _is_scene_cache_enabled(), _is_scene_cacheable(), is_layers_editing_enabled(), m_gizmos, m_layers_editing, m_mouse, m_rectangle_selection, and Slic3r::GUI::GLGizmoBase::render_follows_cursor().
Referenced by _can_reuse_cached_scene(), _capture_scene_cache(), and _is_scene_cacheable().
|
private |
References m_canvas.
Referenced by _refresh_if_shown_on_screen(), _render_frame(), and on_idle().
|
private |
References _is_realistic_view_enabled(), _is_ssao_enabled(), and SETTING_OPENGL_PHONG_SSAO.
Referenced by _is_ssao_enabled(), and _render_scene().
|
private |
References _is_xray_view_active(), CanvasPreview, m_canvas_type, m_gizmos, m_layers_editing, m_picking_enabled, and Slic3r::GUI::plater().
Referenced by _is_xray_view_active(), and _render_objects().
|
private |
References _load_sla_shells(), Slic3r::GLVolume::composite_id, Slic3r::GUI::GLModel::init_from(), Slic3r::GUI::is_left_handed(), m_volumes, Slic3r::GLVolume::model, Slic3r::GLVolume::MODEL_COLOR, Slic3r::SLAPrint::objects(), Slic3r::GLVolume::set_convex_hull(), Slic3r::GLVolume::set_instance_mirror(), Slic3r::GLVolume::set_instance_offset(), Slic3r::GLVolume::set_instance_rotation(), Slic3r::GLVolume::SLA_PAD_COLOR, sla_print(), Slic3r::GLVolume::SLA_SUPPORT_COLOR, Slic3r::slaposPad, Slic3r::slaposSliceSupports, Slic3r::slaposSupportTree, Slic3r::unscale(), update_volumes_colors_by_extruder(), Slic3r::GLVolume::CompositeID::volume_id, and Slic3r::X.
Referenced by _load_sla_shells(), and load_sla_preview().
|
private |
References Slic3r::ByObject, CanvasView3D, Slic3r::BoundingBox3Base< PointType >::center(), fff_print(), m_bed, m_canvas_type, m_gcode_viewer, m_gizmos, m_main_toolbar, m_selection, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::max, Slic3r::BoundingBox3Base< PointType >::max_size(), Slic3r::BoundingBox3Base< PointType >::merge(), Slic3r::GUI::plater(), Slic3r::print_sequence(), and volumes_bounding_box().
Referenced by _render_frame().
References _mouse_to_3d(), _mouse_to_bed_3d(), camera, get_camera(), Slic3r::GUI::SceneRaycaster::HitResult::is_valid(), m_canvas, m_scene_raycaster, Slic3r::GUI::plater(), and Slic3r::GUI::SceneRaycaster::HitResult::position.
Referenced by _mouse_to_3d(), mouse_ray(), on_mouse(), and on_mouse_wheel().
References _mouse_to_bed_3d(), and mouse_ray().
Referenced by _mouse_to_3d(), and _mouse_to_bed_3d().
|
private |
References m_gizmos, request_extra_frame(), and set_as_dirty().
Referenced by align_section_view_to_camera(), and set_section_view_ratio().
|
private |
References _overlay_signature(), collapse_toolbar(), Slic3r::GUI::ImGuiWrapper::draw_data_signature(), m_assemble_view_toolbar, m_gizmos, m_main_toolbar, and m_separator_toolbar.
Referenced by _overlay_signature(), and _render_frame().
| void Slic3r::GUI::GLCanvas3D::_perform_layer_editing_action | ( | wxMouseEvent * | evt = nullptr | ) |
References _perform_layer_editing_action(), _refresh_if_shown_on_screen(), _start_timer(), Slic3r::GUI::GLCanvas3D::LayersEditing::get_bar_rect_screen(), Slic3r::GUI::Rect::get_bottom(), Slic3r::GUI::Rect::get_top(), Slic3r::LAYER_HEIGHT_EDIT_ACTION_DECREASE, Slic3r::LAYER_HEIGHT_EDIT_ACTION_INCREASE, Slic3r::LAYER_HEIGHT_EDIT_ACTION_REDUCE, Slic3r::LAYER_HEIGHT_EDIT_ACTION_SMOOTH, m_layers_editing, and Slic3r::GUI::wxMouseEvent.
Referenced by _perform_layer_editing_action(), on_mouse(), and on_timer().
|
private |
References _picking_pass_imex_ghosts(), _update_volumes_hover_state(), Slic3r::GUI::add_strings_row_to_table(), Slic3r::GUI::SceneRaycaster::Bed, Slic3r::GUI::ImGuiWrapper::begin(), Slic3r::GUI::ImGuiWrapper::COL_ORANGE_LIGHT, Slic3r::GLVolume::composite_id, Slic3r::GUI::SceneRaycaster::decode_id(), Slic3r::GUI::ImGuiWrapper::end(), Slic3r::GUI::SceneRaycaster::FallbackGizmo, get_camera(), get_canvas_size(), Slic3r::GUI::Size::get_height(), get_raycaster_clipping_plane(), Slic3r::GUI::Size::get_width(), Slic3r::GUI::SceneRaycaster::Gizmo, Slic3r::GUI::PartPlate::GRABBER_COUNT, Slic3r::GUI::SceneRaycaster::HitResult::is_valid(), m_gizmos, m_hover_plate_idxs, m_hover_volume_idxs, m_mouse, m_picking_enabled, m_render_sla_auxiliaries, m_scene_raycaster, m_volumes, Slic3r::GUI::PartPlateList::MAX_PLATES_COUNT, Slic3r::GUI::SceneRaycaster::None, Slic3r::GUI::SceneRaycaster::HitResult::normal, Slic3r::GUI::plater(), Slic3r::GUI::SceneRaycaster::HitResult::position, Slic3r::GUI::SceneRaycaster::HitResult::raycaster_id, Slic3r::slaposPad, Slic3r::slaposSupportTree, Slic3r::GUI::ImGuiWrapper::text(), Slic3r::GUI::ImGuiWrapper::text_colored(), Slic3r::GUI::to_string(), Slic3r::GUI::SceneRaycaster::HitResult::type, Slic3r::GUI::SceneRaycaster::Volume, and Slic3r::GLVolume::CompositeID::volume_id.
Referenced by _render_frame().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::GUI::PartPlateList::get_curr_plate(), Slic3r::GUI::PartPlateList::get_curr_plate_index(), Slic3r::GUI::PartPlate::get_imex_ghost_volumes(), Slic3r::GUI::PartPlate::imex_ghost_head_from_composite_id(), m_gizmos, m_hover_ghost_head, m_hover_ghost_plate, m_mouse, m_picking_enabled, and mouse_ray().
Referenced by _picking_pass().
|
private |
References _render_volumes_for_picking(), Slic3r::GUI::Camera::apply_projection(), Slic3r::GUI::Camera::apply_viewport(), Slic3r::GUI::OpenGLManager::Arb, camera, Slic3r::GUI::OpenGLManager::Ext, get_canvas_size(), Slic3r::GUI::OpenGLManager::get_framebuffers_type(), Slic3r::GUI::Size::get_height(), GL_BLEND, GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT0_EXT, GL_COLOR_BUFFER_BIT, GL_DEPTH_ATTACHMENT, GL_DEPTH_ATTACHMENT_EXT, GL_DEPTH_BUFFER_BIT, GL_DEPTH_COMPONENT, GL_DEPTH_TEST, GL_FRAMEBUFFER, GL_FRAMEBUFFER_COMPLETE, GL_FRAMEBUFFER_COMPLETE_EXT, GL_FRAMEBUFFER_EXT, GL_MULTISAMPLE, GL_NEAREST, GL_RENDERBUFFER, GL_RENDERBUFFER_EXT, GL_RGBA, GL_RGBA8, GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_UNSIGNED_BYTE, glBindFramebuffer, glBindFramebufferEXT, glBindRenderbuffer, glBindRenderbufferEXT, glBindTexture, glCheckFramebufferStatus, glCheckFramebufferStatusEXT, glClear, glDeleteFramebuffers, glDeleteFramebuffersEXT, glDeleteRenderbuffers, glDeleteRenderbuffersEXT, glDeleteTextures, glDisable, glDrawBuffers, glEnable, glFramebufferRenderbuffer, glFramebufferRenderbufferEXT, glFramebufferTexture2D, glFramebufferTexture2DEXT, glGenFramebuffers, glGenFramebuffersEXT, glGenRenderbuffers, glGenRenderbuffersEXT, glGenTextures, glReadPixels, glRenderbufferStorage, glRenderbufferStorageEXT, glsafe, glTexImage2D, glTexParameteri, Slic3r::GUI::Camera::look_at(), m_gizmos, m_multisample_allowed, m_picking_enabled, m_rectangle_selection, m_volumes, Slic3r::picking_checksum_alpha_channel(), Slic3r::range(), Slic3r::GUI::Camera::set_type(), Slic3r::GUI::Camera::set_viewport(), and Slic3r::GUI::OpenGLManager::Unknown.
Referenced by _render_frame().
|
private |
References _is_shown_on_screen(), _render_frame(), _resize(), get_canvas_size(), Slic3r::GUI::Size::get_height(), and Slic3r::GUI::Size::get_width().
Referenced by _perform_layer_editing_action(), on_idle(), on_mouse(), on_paint(), on_set_focus(), and update_ui_from_settings().
|
private |
References _u8L_CONTEXT, camera, Slic3r::GUI::cameraProjection, Slic3r::GUI::DPI_DEFAULT, Slic3r::GUI::GLCanvas3D::LayersEditing::Editing, Slic3r::GUI::get_dpi_for_window(), get_scale(), m_canvas_toolbar_pos, m_gizmos, m_is_dark, m_layers_editing, m_moving, m_navigator_dragging, m_rectangle_selection, Slic3r::GUI::NAVIGATOR_SIZE, Slic3r::GUI::Camera::Ortho, Slic3r::GUI::Camera::Perspective, PI, request_extra_frame(), Slic3r::Geometry::rotation_transform(), style, Slic3r::GUI::ImGuiWrapper::to_ImVec4(), Slic3r::ColorRGBA::X(), Slic3r::ColorRGBA::Y(), and Slic3r::ColorRGBA::Z().
Referenced by _render_overlays().
|
private |
References _L, Slic3r::GUI::GLCanvas3D::ArrangeSettings::align_to_y_axis, Slic3r::GUI::GLCanvas3D::ArrangeSettings::allow_multi_materials_on_same_plate, Slic3r::GUI::GLCanvas3D::ArrangeSettings::avoid_extrusion_cali_region, Slic3r::GUI::ImGuiWrapper::bbl_checkbox(), Slic3r::GUI::ImGuiWrapper::bbl_slider_float_style(), Slic3r::GUI::ImGuiWrapper::begin(), Slic3r::GUI::ImGuiWrapper::button(), Slic3r::ByObject, Slic3r::GUI::ImGuiWrapper::calc_text_size(), current_printer_technology(), Slic3r::GUI::ImGuiWrapper::disabled_begin(), Slic3r::GUI::ImGuiWrapper::disabled_end(), Slic3r::GUI::GLCanvas3D::ArrangeSettings::distance, Slic3r::GUI::GLCanvas3D::ArrangeSettings::enable_rotation, Slic3r::GUI::ImGuiWrapper::end(), Slic3r::float_to_string_decimal_point(), get_arrange_settings(), get_camera(), get_canvas_size(), get_scale(), Slic3r::GUI::GLCanvas3D::ArrangeSettings::is_seq_print, m_main_toolbar, Slic3r::ConfigBase::option(), Slic3r::GUI::plater(), Slic3r::GUI::ImGuiWrapper::pop_toolbar_style(), Slic3r::GUI::Job::PREPARE_STATE_DEFAULT, Slic3r::psI3, Slic3r::ptFFF, Slic3r::ptSLA, Slic3r::GUI::ImGuiWrapper::push_toolbar_style(), Slic3r::GUI::ImGuiWrapper::scaled(), Slic3r::GUI::ImGuiWrapper::set_next_window_pos(), and Slic3r::GUI::ImGuiWrapper::text().
Referenced by _init_main_toolbar().
|
private |
References _L, _render_assemble_control(), _render_assembly_tooltip_button(), _u8L, Slic3r::GUI::ImGuiWrapper::bbl_slider_float_style(), Slic3r::GUI::ImGuiWrapper::begin(), Slic3r::GUI::ImGuiWrapper::calc_text_size(), CanvasAssembleView, Slic3r::GUI::ImGuiWrapper::end(), Slic3r::GLVolume::explosion_ratio, get_canvas_size(), Slic3r::GUI::ImGuiWrapper::get_item_spacing(), get_scale(), Slic3r::GUI::Selection::Instance, m_canvas_type, m_explosion_ratio, m_gizmos, m_selection, m_volumes, Slic3r::GUI::GLGizmosManager::MmSegmentation, Slic3r::GUI::ImGuiWrapper::pop_combo_style(), Slic3r::GUI::ImGuiWrapper::pop_toolbar_style(), Slic3r::GUI::ImGuiWrapper::push_combo_style(), Slic3r::GUI::ImGuiWrapper::push_toolbar_style(), Slic3r::GLVolume::set_bounding_boxes_as_dirty(), Slic3r::GUI::ImGuiWrapper::set_next_window_pos(), Slic3r::GUI::ImGuiWrapper::text(), and Slic3r::GUI::Selection::Volume.
Referenced by _render_assemble_control(), and _render_overlays().
|
private |
References _L, _render_assemble_info(), Slic3r::GUI::ImGuiWrapper::begin(), Slic3r::GUI::ImGuiWrapper::calc_text_size(), CanvasAssembleView, Slic3r::GUI::ImGuiWrapper::end(), get_canvas_size(), get_scale(), Slic3r::GUI::ImGuiWrapper::get_style_scaling(), m_canvas_type, m_selection, Slic3r::GUI::ImGuiWrapper::pop_common_window_style(), Slic3r::GUI::ImGuiWrapper::push_common_window_style(), and Slic3r::GUI::ImGuiWrapper::set_next_window_pos().
Referenced by _render_assemble_info(), and _render_overlays().
|
private |
References _render_assemble_view_toolbar(), get_canvas_size(), Slic3r::GUI::Size::get_height(), get_main_toolbar_offset(), Slic3r::GUI::Size::get_width(), m_assemble_view_toolbar, m_gizmos, m_main_toolbar, and m_separator_toolbar.
Referenced by _render_assemble_view_toolbar(), and _render_overlay_toolbars().
|
private |
References _L, _render_assembly_tooltip_button(), Slic3r::GUI::ImGuiWrapper::calc_text_size(), Slic3r::GUI::ImGuiWrapper::COL_ACTIVE, Slic3r::GUI::DPI_DEFAULT, Slic3r::GUI::get_dpi_for_window(), get_scale(), m_shortcuts_assembly_view, Slic3r::GUI::GLGizmoUtils::render_tooltip_button(), scale(), and Slic3r::GUI::ImGuiWrapper::text_colored().
Referenced by _render_assemble_control(), and _render_assembly_tooltip_button().
|
private |
References GLCanvas3D(), _get_current_partplate_print_volume(), _is_any_volume_outside(), _render_background(), Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), current_printer_technology(), DEFAULT_BG_LIGHT_COLOR, DEFAULT_BG_LIGHT_COLOR_DARK, Slic3r::empty(), ERROR_BG_LIGHT_COLOR, ERROR_BG_LIGHT_COLOR_DARK, Slic3r::GUI::GLModel::Geometry::format, GL_DEPTH_TEST, glDisable, glEnable, glsafe, m_background, m_dynamic_background_enabled, m_gcode_viewer, m_is_dark, m_toolpath_outside, m_volumes, Slic3r::GUI::GLModel::Geometry::P2T2, Slic3r::ptSLA, Slic3r::BoundingBox3Base< PointType >::radius(), Slic3r::GUI::GLModel::Geometry::reserve_indices(), Slic3r::GUI::GLModel::Geometry::reserve_vertices(), Slic3r::GLShaderProgram::set_uniform(), Slic3r::GLShaderProgram::start_using(), Slic3r::GLShaderProgram::stop_using(), and Slic3r::GUI::GLModel::Geometry::Triangles.
Referenced by _render_background(), and _render_scene().
|
private |
References _hides_inactive_plates(), _render_bed(), m_bed, m_design_canvas, and m_main_toolbar.
Referenced by _render_bed(), and _render_scene().
|
private |
References _is_below_plate_view_active(), _render_below_plate_volumes(), Slic3r::ColorRGBA::a(), camera, GL_BACK, GL_BLEND, GL_CULL_FACE, GL_DEPTH_TEST, GL_FALSE, GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA, GL_TRUE, glBlendFunc, glCullFace, glDepthMask, glDisable, glEnable, glIsEnabled, glsafe, Slic3r::GLVolume::instance_idx(), m_selection, m_volumes, Slic3r::GLVolume::model, Slic3r::GLVolume::object_idx(), Slic3r::GLVolume::render_color, Slic3r::GUI::GLModel::set_color(), Slic3r::GLVolume::set_render_color(), Slic3r::GLShaderProgram::set_uniform(), Slic3r::GLVolume::simple_render(), Slic3r::SINKING_Z_THRESHOLD, Slic3r::GLShaderProgram::start_using(), Slic3r::GLShaderProgram::stop_using(), Slic3r::GLVolume::volume_idx(), and Slic3r::GLVolume::world_matrix().
Referenced by _render_below_plate_volumes(), and _render_scene().
|
private |
References _render_cad_grid(), Slic3r::GUI::GLModel::Geometry::add_line(), Slic3r::GUI::GLModel::Geometry::add_vertex(), Slic3r::BuildVolume::bed_center(), Slic3r::BuildVolume::bounding_volume2d(), Slic3r::center(), Slic3r::GUI::GLModel::Geometry::format, GL_BLEND, GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA, glBlendFunc, glDisable, glEnable, glLineWidth, glsafe, Slic3r::GUI::GLModel::Geometry::Lines, m_bed, m_cad_grid_bb, m_cad_grid_center, m_cad_grid_major, m_cad_grid_minor, m_cad_grid_valid, Slic3r::BoundingBoxBase< PointType, APointsType >::max, Slic3r::BoundingBoxBase< PointType, APointsType >::min, Slic3r::GUI::GLModel::Geometry::P3, Slic3r::GUI::GLModel::Geometry::reserve_indices(), Slic3r::GUI::GLModel::Geometry::reserve_vertices(), Slic3r::GLShaderProgram::set_uniform(), Slic3r::GLShaderProgram::start_using(), Slic3r::BuildVolume::valid(), and Slic3r::GUI::GLModel::Geometry::vertices_count().
Referenced by _render_cad_grid(), and _render_scene().
|
private |
References _L, _render_canvas_toolbar(), _u8L, _utf8, _zoom_to_box(), align_section_view_to_camera(), Slic3r::GUI::Plater::are_view3D_labels_shown(), Slic3r::GUI::ImGuiWrapper::begin(), Slic3r::GUI::CANVAS_TOOLBAR_BUTTON, Slic3r::GUI::CANVAS_TOOLBAR_MARGIN, Slic3r::GUI::CANVAS_TOOLBAR_PADDING, Slic3r::GUI::CANVAS_TOOLBAR_SPACING, CanvasAssembleView, CanvasPreview, CanvasView3D, Slic3r::GUI::ImGuiWrapper::COL_ORCA, Slic3r::GUI::ImGuiWrapper::COL_TOOLBAR_BG, Slic3r::GUI::ImGuiWrapper::COL_TOOLBAR_BG_DARK, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::defined, Slic3r::GUI::DPI_DEFAULT, Slic3r::AppConfig::get_bool(), get_canvas_size(), Slic3r::GUI::get_dpi_for_window(), get_scale(), get_section_view_ratio(), Slic3r::GUI::GLGizmosManager::IC_CANVAS_MENU, Slic3r::GUI::GLGizmosManager::IC_CANVAS_MENU_DARK, Slic3r::GUI::GLGizmosManager::IC_CANVAS_MENU_DARK_HOVER, Slic3r::GUI::GLGizmosManager::IC_CANVAS_MENU_HOVER, Slic3r::GUI::GLGizmosManager::IC_CANVAS_SECTION, Slic3r::GUI::GLGizmosManager::IC_CANVAS_SECTION_ACTIVE, Slic3r::GUI::GLGizmosManager::IC_CANVAS_SECTION_ACTIVE_DARK, Slic3r::GUI::GLGizmosManager::IC_CANVAS_SECTION_ACTIVE_DARK_HOVER, Slic3r::GUI::GLGizmosManager::IC_CANVAS_SECTION_ACTIVE_HOVER, Slic3r::GUI::GLGizmosManager::IC_CANVAS_SECTION_DARK, Slic3r::GUI::GLGizmosManager::IC_CANVAS_SECTION_DARK_HOVER, Slic3r::GUI::GLGizmosManager::IC_CANVAS_SECTION_HOVER, Slic3r::GUI::GLGizmosManager::IC_CANVAS_ZOOM, Slic3r::GUI::GLGizmosManager::IC_CANVAS_ZOOM_DARK, Slic3r::GUI::GLGizmosManager::IC_CANVAS_ZOOM_DARK_HOVER, Slic3r::GUI::GLGizmosManager::IC_CANVAS_ZOOM_HOVER, Slic3r::into_u8(), is_section_view_active(), Slic3r::GUI::Plater::is_show_wireframe(), Slic3r::GUI::Plater::is_show_xray(), Slic3r::GUI::Plater::is_view3D_overhang_shown(), L, m_canvas_toolbar_pos, m_canvas_type, m_design_canvas, m_dirty, m_gcode_viewer, m_gizmos, m_is_dark, m_section_view, m_selection, m_show_world_axes, m_volumes, REQUIRES_ZOOM_TO_CUR_PLATE, Slic3r::GUI::ImGuiWrapper::scaled(), select_view(), Slic3r::GUI::ImGuiWrapper::set_next_window_pos(), set_section_view_ratio(), SETTING_OPENGL_REALISTIC_MODE, toggle_section_view(), toggle_world_axes_visibility(), Slic3r::GUI::ImGuiWrapper::tooltip(), zoom_to_bed(), zoom_to_plate(), zoom_to_selection(), and zoom_to_volumes().
Referenced by _render_canvas_toolbar(), and _render_overlays().
|
private |
References _render_collapse_toolbar(), collapse_side(), collapse_toolbar(), get_canvas_size(), Slic3r::GUI::Size::get_height(), Slic3r::GUI::Size::get_width(), m_collapse_toolbar_enabled, Slic3r::GUI::None, and Slic3r::GUI::Right.
Referenced by _render_collapse_toolbar(), and _render_overlay_toolbars().
|
private |
References _render_current_gizmo(), Slic3r::GUI::GLGizmoBase::INV_ZOOM, and m_gizmos.
Referenced by _render_current_gizmo(), and _render_scene().
|
private |
References _is_fps_overlay_enabled(), _is_render_timings_enabled(), _render_fps_overlay(), Slic3r::GUI::ImGuiWrapper::begin(), CanvasPreview, Slic3r::GUI::ImGuiWrapper::end(), get_main_toolbar_offset(), get_scale(), m_assemble_view_toolbar, m_canvas_type, m_frame_profiler, m_gizmos, m_main_toolbar, m_render_stats, m_separator_toolbar, and Slic3r::GUI::ImGuiWrapper::text().
Referenced by _render_fps_overlay(), and _render_frame().
|
private |
References _can_reuse_cached_scene(), _is_fps_overlay_enabled(), _is_frame_skipping_enabled(), _is_render_timings_enabled(), _is_shown_on_screen(), _max_bounding_box(), _overlay_signature(), _picking_pass(), _rectangular_selection_picking_pass(), _render_fps_overlay(), _render_gcode_overlay(), _render_imex_ghost_tooltip(), _render_overlay_toolbars(), _render_overlays(), _render_scene(), _render_style_editor(), _resize(), _set_current(), _update_inactive_plates_visibility(), Slic3r::GUI::OpenGLManager::are_compressed_textures_supported(), Slic3r::GUI::ImGuiWrapper::begin(), camera, CanvasAssembleView, CanvasPreview, CanvasView3D, collapse_toolbar(), Slic3r::comDevelop, Slic3r::GUI::DPI_DEFAULT, enable_return_toolbar(), Slic3r::GUI::ImGuiWrapper::end(), Slic3r::GUI::GCODE_VIEWER_SLIDER_SCALE, get_canvas_size(), Slic3r::GUI::get_dpi_for_window(), Slic3r::GUI::OpenGLManager::get_gl_info(), Slic3r::GUI::Size::get_height(), get_overlay_window_width(), get_scale(), Slic3r::GUI::GLToolbar::get_tooltip(), Slic3r::GUI::Size::get_width(), has_mouse_capture(), init(), is_initialized(), m_assemble_view_toolbar, m_background, m_bed, m_benchmarking, m_canvas, m_canvas_type, m_dirty, m_enable_render, m_fps_overlay_tick, m_fps_overlay_timer, m_frame_profiler, m_gcode_viewer, m_gizmos, m_hover_ghost_head, m_in_render, m_layers_editing, m_main_toolbar, m_mouse, m_picking_enabled, m_presented_signature, m_rectangle_selection, m_reload_delayed, m_render_preview, m_render_stats, m_scene_cache, m_tooltip, m_tooltip_enabled, Slic3r::GUI::plater(), post_event(), reload_scene(), REQUIRES_ZOOM_TO_PLATE_IDLE, s_frames_in_progress, set_tooltip(), Slic3r::GUI::SLIDER_BOTTOM_MARGIN, Slic3r::GUI::SLIDER_DEFAULT_BOTTOM_MARGIN, Slic3r::GUI::SLIDER_DEFAULT_RIGHT_MARGIN, Slic3r::GUI::SLIDER_RIGHT_MARGIN, Slic3r::GUI::ImGuiWrapper::text(), Slic3r::GUI::GLGizmosManager::Undefined, zoom_to_bed(), zoom_to_plate(), and zoom_to_volumes().
Referenced by _refresh_if_shown_on_screen(), on_mouse(), and render().
|
private |
References _render_fxaa_pass(), Slic3r::GUI::GLTexture::copy_from_framebuffer(), GL_BLEND, GL_COLOR_BUFFER_BIT, GL_DEPTH_TEST, GL_LINEAR, GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA, GL_TEXTURE0, GL_TEXTURE_2D, glActiveTexture, glBindTexture, glBlendFunc, glClear, glDisable, glEnable, glsafe, m_background, m_fxaa_texture_id, m_fxaa_texture_size, Slic3r::GLShaderProgram::set_uniform(), Slic3r::GLShaderProgram::start_using(), and Slic3r::GLShaderProgram::stop_using().
Referenced by _render_fxaa_pass(), and _render_scene().
|
private |
References _bind_gcode_shadow_map(), _is_realistic_view_enabled(), _render_gcode(), _shadow_mode(), _static_light_dir_eye(), Slic3r::AppConfig::get_bool(), m_gcode_viewer, m_shadow_light_vp, m_shadow_map_size, Off, SETTING_OPENGL_PHONG_SSAO, and SETTING_OPENGL_REALISTIC_GLOSS.
Referenced by _render_gcode(), and _render_scene().
|
private |
References _render_gcode_overlay(), Slic3r::GUI::GCODE_VIEWER_SLIDER_SCALE, Slic3r::GUI::IMSlider::get_post_tick_event_type(), Slic3r::GUI::IMSlider::GetHigherValue(), Slic3r::GUI::IMSlider::GetHigherValueD(), Slic3r::GUI::IMSlider::GetLowerValue(), Slic3r::GUI::IMSlider::GetLowerValueD(), Slic3r::GUI::IMSlider::is_dirty(), Slic3r::GUI::IMSlider::is_need_post_tick_event(), m_canvas, m_gcode_viewer, post_event(), Slic3r::GUI::IMSlider::reset_post_tick_event(), Slic3r::GUI::IMSlider::set_as_dirty(), set_volumes_z_range(), and Slic3r::GUI::SLIDER_RIGHT_MARGIN.
Referenced by _render_frame(), and _render_gcode_overlay().
|
private |
References _bind_gcode_shadow_map(), _render_gcode_translucent(), and m_gcode_viewer.
Referenced by _render_gcode_translucent(), and _render_scene().
|
private |
References _render_gizmos_overlay(), m_gizmo_highlighter, and m_gizmos.
Referenced by _render_gizmos_overlay(), and _render_overlay_toolbars().
|
private |
References Slic3r::GUI::ImGuiWrapper::begin(), Slic3r::GUI::ImGuiWrapper::end(), Slic3r::GUI::PartPlate::get_imex_ghost_volumes(), m_hover_ghost_head, m_hover_ghost_plate, m_mouse, Slic3r::GUI::ImGuiWrapper::scaled(), Slic3r::GUI::ImGuiWrapper::set_next_window_pos(), and Slic3r::GUI::ImGuiWrapper::text().
Referenced by _render_frame().
|
private |
References Slic3r::ColorRGBA::a(), camera, Slic3r::GLVolume::composite_id, Slic3r::GUI::PartPlateList::get_curr_plate(), Slic3r::GUI::PartPlate::get_imex_ghost_volumes(), Slic3r::GLVolume::get_instance_transformation(), Slic3r::Geometry::Transformation::get_matrix(), Slic3r::GLVolume::CompositeID::instance_id, m_volumes, Slic3r::GLVolume::CompositeID::object_id, Slic3r::GLShaderProgram::set_uniform(), Slic3r::GUI::PartPlate::update_imex_ghost_colors(), and Slic3r::GUI::PartPlate::update_imex_ghost_transforms().
Referenced by _render_imex_ghosts_xray(), and _render_objects().
|
private |
References _render_imex_ghosts(), _render_imex_ghosts_xray(), GL_BLEND, GL_CULL_FACE, GL_FALSE, GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA, GL_TRUE, glBlendFunc, glDepthMask, glDisable, glEnable, glsafe, m_volumes, Slic3r::GLShaderProgram::set_uniform(), Slic3r::GLShaderProgram::start_using(), and Slic3r::GLShaderProgram::stop_using().
Referenced by _render_imex_ghosts_xray(), and _render_objects().
|
private |
References _L, _render_imgui_select_plate_toolbar(), _u8L, _update_imgui_select_plate_toolbar(), Slic3r::GUI::ImGuiWrapper::begin(), Slic3r::GUI::PartPlate::can_slice(), Slic3r::center(), Slic3r::GUI::ImGuiWrapper::COL_ORCA, Slic3r::GUI::ImGuiWrapper::COL_ORCA_DARK, Slic3r::GUI::ImGuiWrapper::COL_ORCA_HOVER, Slic3r::GUI::ImGuiWrapper::COL_ORCA_HOVER_DARK, Slic3r::GUI::DPI_DEFAULT, Slic3r::GUI::PartPlate::empty(), Slic3r::GUI::ImGuiWrapper::end(), get_canvas_size(), get_collapse_toolbar_height(), Slic3r::GUI::PartPlateList::get_curr_plate_index(), Slic3r::GUI::get_dpi_for_window(), Slic3r::GUI::Size::get_height(), Slic3r::GUI::GLTexture::get_id(), Slic3r::GUI::PartPlateList::get_nonempty_plate_list(), Slic3r::GUI::PartPlateList::get_nonempty_plates_slice_results(), Slic3r::GUI::PartPlateList::get_plate(), Slic3r::GUI::PartPlateList::get_plate_count(), get_scale(), Slic3r::GUI::PartPlate::get_slicing_percent(), Slic3r::GUI::Size::get_width(), Slic3r::GUI::PartPlate::has_printable_instances(), Slic3r::GUI::IMToolbarItem::image_failed, Slic3r::GUI::IMToolbarItem::image_idle, Slic3r::GUI::IMToolbarItem::image_slicing, Slic3r::GUI::IMToolbarItem::image_stats, is_collapse_toolbar_on_left(), Slic3r::GUI::PartPlate::is_slice_result_ready_for_print(), Slic3r::GUI::PartPlate::is_slice_result_valid(), m_canvas, m_gcode_viewer, m_is_dark, m_process, m_render_preview, m_sel_plate_toolbar, Slic3r::GUI::IMToolbarItem::percent, Slic3r::GUI::plate_toolbar_hover_color(), Slic3r::GUI::plate_toolbar_keeps_scrollbar(), Slic3r::GUI::PLATE_TOOLBAR_SCROLLBAR, Slic3r::GUI::plater(), Slic3r::GUI::push_plate_toolbar_scrollbar_style(), Slic3r::GUI::IMToolbarItem::selected, Slic3r::GUI::ImGuiWrapper::set_next_window_pos(), Slic3r::GUI::ImGuiWrapper::set_next_window_size(), Slic3r::GUI::IMToolbarItem::SLICE_FAILED, Slic3r::GUI::IMToolbarItem::slice_state, Slic3r::GUI::IMToolbarItem::SLICED, Slic3r::GUI::IMToolbarItem::SLICING, TAB_ID_PREPARE, Slic3r::GUI::IMToolbarItem::texture_id, Slic3r::GUI::IMToolbarItem::UNSLICED, and zoom_to_bed().
Referenced by _render_imgui_select_plate_toolbar(), and _render_overlays().
|
private |
References _render_main_toolbar(), get_canvas_size(), Slic3r::GUI::Size::get_height(), get_main_toolbar_offset(), Slic3r::GUI::Size::get_width(), m_main_toolbar, and m_toolbar_highlighter.
Referenced by _render_main_toolbar(), and _render_overlay_toolbars().
|
private |
References _get_volumes_clipping_plane(), _is_realistic_view_enabled(), _is_xray_view_active(), _render_imex_ghosts(), _render_imex_ghosts_xray(), _render_objects(), _render_section_view_caps(), _render_xray_volumes(), _static_light_dir_eye(), Slic3r::GUI::GLGizmoBase::apply_clipping_plane(), camera, CanvasAssembleView, Slic3r::Circle, Slic3r::GUI::ClippingPlane::ClipsNothing(), Slic3r::Convex, Slic3r::Custom, get_canvas_size(), Slic3r::GUI::GLGizmosManager::get_current(), get_gizmos_manager(), Slic3r::GLShaderProgram::get_name(), GL_DEPTH_TEST, GL_TEXTURE0, GL_TEXTURE4, GL_TEXTURE_2D, glActiveTexture, glBindTexture, glEnable, glsafe, Slic3r::BoundingBox3Base< PointType >::inflated(), is_layers_editing_enabled(), m_bed, m_camera_clipping_plane, m_canvas_type, m_clipping_planes, m_gizmos, m_layers_editing, m_model, m_picking_enabled, m_requires_check_outside_state, m_selection, m_shadow_light_vp, m_shadow_map_size, m_shadow_map_texture_id, m_shadow_map_valid, m_sinking_contours_enabled, m_studio_lighting, m_use_clipping_planes, m_volumes, Slic3r::BoundingBoxBase< PointType, APointsType >::max, Slic3r::BoundingBoxBase< PointType, APointsType >::min, Slic3r::GLVolumeCollection::Opaque, Slic3r::Rectangle, Slic3r::GUI::GLGizmosManager::render_painter_gizmo(), Slic3r::BuildVolume::SceneEpsilon, Slic3r::GLShaderProgram::set_uniform(), SETTING_OPENGL_PHONG_SSAO, SETTING_OPENGL_REALISTIC_PHONG, Slic3r::GLShaderProgram::start_using(), Slic3r::GLShaderProgram::stop_using(), Slic3r::GLVolumeCollection::Transparent, and Slic3r::unscaled().
Referenced by _render_objects(), and _render_scene().
|
private |
References _L, Slic3r::GUI::ImGuiWrapper::begin(), Slic3r::GUI::ImGuiWrapper::button(), Slic3r::GUI::ImGuiWrapper::checkbox(), current_printer_technology(), Slic3r::GUI::GLCanvas3D::OrientSettings::enable_rotation, Slic3r::GUI::ImGuiWrapper::end(), get_camera(), get_canvas_size(), get_orient_settings(), get_scale(), m_main_toolbar, Slic3r::GUI::GLCanvas3D::OrientSettings::min_area, Slic3r::GUI::GLCanvas3D::OrientSettings::overhang_angle, Slic3r::GUI::plater(), Slic3r::GUI::ImGuiWrapper::pop_toolbar_style(), Slic3r::GUI::Job::PREPARE_STATE_DEFAULT, Slic3r::ptSLA, Slic3r::GUI::ImGuiWrapper::push_toolbar_style(), and Slic3r::GUI::ImGuiWrapper::set_next_window_pos().
|
private |
References _render_assemble_view_toolbar(), _render_collapse_toolbar(), _render_gizmos_overlay(), _render_main_toolbar(), _render_overlay_toolbars(), _render_separator_toolbar_left(), _render_separator_toolbar_right(), GL_DEPTH_TEST, glDisable, glsafe, and m_layers_editing.
Referenced by _render_frame(), and _render_overlay_toolbars().
|
private |
References _check_and_update_toolbar_icon_scale(), _render_3d_navigator(), _render_assemble_control(), _render_assemble_info(), _render_canvas_toolbar(), _render_imgui_select_plate_toolbar(), _render_overlays(), _render_paint_toolbar(), _render_plate_switcher(), _render_return_toolbar(), Slic3r::AsObjectList, Slic3r::ByObject, Slic3r::Print::config(), fff_print(), m_center_of_mass, m_gizmos, m_labels, m_layers_editing, m_main_toolbar, and Slic3r::Print::objects().
Referenced by _render_frame(), and _render_overlays().
|
private |
References _L, _render_paint_toolbar(), Slic3r::ColorRGBA::b_uchar(), Slic3r::GUI::ImGuiWrapper::begin(), CanvasAssembleView, Slic3r::GUI::ImGuiWrapper::COL_TOOLBAR_BG, Slic3r::GUI::ImGuiWrapper::COL_TOOLBAR_BG_DARK, Slic3r::decode_color(), Slic3r::GUI::ImGuiWrapper::draw_gradient_ramp(), em_unit(), Slic3r::GUI::ImGuiWrapper::end(), Slic3r::ColorRGBA::g_uchar(), get_canvas_size(), ImRect, m_canvas, m_canvas_type, m_is_dark, m_paint_toolbar_width, Slic3r::GUI::ImGuiWrapper::pop_bold_font(), Slic3r::GUI::ImGuiWrapper::push_bold_font(), Slic3r::ColorRGBA::r_uchar(), Slic3r::GUI::ImGuiWrapper::set_next_window_pos(), Slic3r::GUI::ImGuiWrapper::set_requires_extra_frame(), text_color(), Slic3r::GUI::ImGuiWrapper::to_ImVec4(), and Slic3r::GUI::ImGuiWrapper::tooltip().
Referenced by _render_overlays(), and _render_paint_toolbar().
|
private |
References _render_plane().
Referenced by _render_plane(), and _render_scene().
|
private |
References _hides_inactive_plates(), _render_plate_switcher(), _u8L, Slic3r::GUI::ImGuiWrapper::begin(), Slic3r::GUI::canvas_corner_height(), Slic3r::GUI::CANVAS_TOOLBAR_MARGIN, Slic3r::GUI::ImGuiWrapper::COL_ORCA, Slic3r::GUI::ImGuiWrapper::COL_ORCA_HOVER, Slic3r::GUI::DPI_DEFAULT, Slic3r::GUI::PartPlate::empty(), Slic3r::GUI::ImGuiWrapper::end(), get_canvas_size(), Slic3r::GUI::PartPlateList::get_curr_plate_index(), Slic3r::GUI::get_dpi_for_window(), Slic3r::GUI::PartPlateList::get_plate(), Slic3r::GUI::PartPlateList::get_plate_count(), Slic3r::GUI::PartPlate::get_plate_name(), get_scale(), m_gizmos, m_is_dark, m_main_toolbar, m_plate_switcher_items, m_plate_switcher_scrollbar, m_plate_switcher_version, Slic3r::GUI::plate_toolbar_hover_color(), Slic3r::GUI::plate_toolbar_keeps_scrollbar(), Slic3r::GUI::PLATE_TOOLBAR_SCROLLBAR, Slic3r::GUI::plater(), Slic3r::GUI::push_plate_toolbar_scrollbar_style(), Slic3r::GUI::ImGuiWrapper::set_next_window_pos(), Slic3r::GUI::ImGuiWrapper::set_next_window_size(), text_color(), Slic3r::GUI::PartPlate::thumbnail_data, Slic3r::GUI::ImGuiWrapper::tooltip(), and Slic3r::GUI::GLGizmosManager::Undefined.
Referenced by _render_overlays(), and _render_plate_switcher().
|
private |
References _hides_inactive_plates(), _render_platelist(), Slic3r::GUI::PartPlateList::get_curr_plate(), Slic3r::GUI::PartPlate::get_origin(), m_design_canvas, m_plate_chrome_enabled, Slic3r::GUI::PartPlateList::render(), and Slic3r::Geometry::translation_transform().
Referenced by _render_platelist(), and _render_scene().
|
private |
References _L, _render_return_toolbar(), _utf8, Slic3r::GUI::ImGuiWrapper::begin(), Slic3r::GUI::ImGuiWrapper::COL_TOOLBAR_BG, Slic3r::GUI::ImGuiWrapper::COL_TOOLBAR_BG_DARK, Slic3r::GUI::ImGuiWrapper::end(), get_canvas_size(), get_collapse_toolbar_width(), Slic3r::GUI::Size::get_height(), Slic3r::GUI::Size::get_width(), is_collapse_toolbar_on_left(), L, m_canvas, m_gizmos, m_is_dark, m_return_toolbar, Slic3r::GUI::plater(), Slic3r::GUI::ImGuiWrapper::scaled(), Slic3r::GUI::ImGuiWrapper::set_next_window_pos(), and Slic3r::GUI::ImGuiWrapper::set_next_window_size().
Referenced by _render_overlays(), and _render_return_toolbar().
|
private |
References _capture_scene_cache(), _get_section_view_plane(), _is_below_plate_view_active(), _is_fxaa_enabled(), _is_ssao_enabled(), _render_background(), _render_bed(), _render_below_plate_volumes(), _render_cad_grid(), _render_current_gizmo(), _render_fxaa_pass(), _render_gcode(), _render_gcode_translucent(), _render_objects(), _render_plane(), _render_platelist(), _render_selection(), _render_selection_sidebar_hints(), _render_sequential_clearance(), _render_shadows(), _render_sla_slices(), _render_ssao_pass(), _render_wireframe_overlay(), Slic3r::GUI::GLGizmosManager::BrimEars, camera, CanvasAssembleView, CanvasPreview, CanvasView3D, Slic3r::GUI::GLGizmosManager::FdmSupports, Slic3r::GUI::GLGizmosManager::FuzzySkin, Slic3r::GUI::Size::get_height(), Slic3r::GUI::Size::get_width(), GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, glClear, glsafe, is_bed_visible(), m_canvas_type, m_center_of_mass, m_design_canvas, m_frame_profiler, m_gcode_viewer, m_gizmos, m_hover_plate_idxs, m_main_toolbar, m_mouse, m_picking_enabled, m_rectangle_selection, m_render_preview, m_scene_raycaster, m_shadow_map_valid, m_show_bed, m_show_world_axes, Slic3r::GUI::GLGizmosManager::MmSegmentation, Slic3r::GLVolumeCollection::Opaque, Slic3r::GUI::GLGizmosManager::Seam, and Slic3r::GLVolumeCollection::Transparent.
Referenced by _render_frame().
|
private |
References _get_section_view_plane(), _render_section_view_caps(), CanvasAssembleView, Slic3r::BoundingBox3Base< PointType >::center(), Slic3r::GUI::ClippingPlane::ClipsNothing(), Slic3r::GUI::ClippingPlane::distance(), Slic3r::GUI::ClippingPlane::get_normal(), Slic3r::GUI::ClippingPlane::is_active(), m_canvas_type, m_gizmos, m_model, m_section_view_caps, m_volumes, Slic3r::GLVolume::object_idx(), Slic3r::GUI::MeshClipper::render_cut(), Slic3r::GUI::MeshClipper::set_limiting_plane(), Slic3r::GUI::MeshClipper::set_mesh(), Slic3r::GUI::MeshClipper::set_plane(), Slic3r::GUI::MeshClipper::set_transformation(), Slic3r::SINKING_Z_THRESHOLD, Slic3r::BoundingBox3Base< PointType >::size(), Slic3r::GLVolume::transformed_bounding_box(), Slic3r::GLVolume::volume_idx(), Slic3r::ModelObject::volumes, and Slic3r::GLVolume::world_matrix().
Referenced by _render_objects(), and _render_section_view_caps().
|
private |
References _L, _render_section_view_panel(), align_section_view_to_camera(), Slic3r::GUI::ImGuiWrapper::bbl_slider_float_style(), Slic3r::GUI::ImGuiWrapper::begin(), Slic3r::GUI::ImGuiWrapper::button(), Slic3r::GUI::ImGuiWrapper::COL_TOOLBAR_BG, Slic3r::GUI::ImGuiWrapper::COL_TOOLBAR_BG_DARK, Slic3r::GUI::ImGuiWrapper::disabled_begin(), Slic3r::GUI::ImGuiWrapper::disabled_end(), Slic3r::GUI::ImGuiWrapper::end(), get_scale(), get_section_view_ratio(), is_section_view_active(), m_is_dark, m_section_view, Slic3r::GUI::ImGuiWrapper::pop_toolbar_style(), Slic3r::GUI::ImGuiWrapper::push_toolbar_style(), Slic3r::GUI::GLGizmoUtils::render_tooltip_button(), Slic3r::GUI::ImGuiWrapper::scaled(), set_section_view_ratio(), Slic3r::GUI::shortkey_alt_prefix(), style, and Slic3r::GUI::ImGuiWrapper::text().
Referenced by _render_section_view_panel().
|
private |
References _render_selection(), m_gizmos, and m_selection.
Referenced by _render_scene(), and _render_selection().
|
inlineprivate |
References m_gizmos, m_selection, and m_sidebar_field.
Referenced by _render_scene().
|
private |
References _render_separator_toolbar_left(), get_canvas_size(), Slic3r::GUI::Size::get_height(), get_main_toolbar_offset(), Slic3r::GUI::Size::get_width(), m_main_toolbar, m_separator_toolbar, and Slic3r::GUI::GLToolbarItem::SeparatorLine.
Referenced by _render_overlay_toolbars(), and _render_separator_toolbar_left().
|
private |
References _render_separator_toolbar_right(), get_canvas_size(), Slic3r::GUI::Size::get_height(), get_main_toolbar_offset(), Slic3r::GUI::Size::get_width(), m_gizmos, m_main_toolbar, m_separator_toolbar, and Slic3r::GUI::GLToolbarItem::SeparatorLine.
Referenced by _render_overlay_toolbars(), and _render_separator_toolbar_right().
|
private |
References _render_sequential_clearance(), can_sequential_clearance_show_in_gizmo(), m_gizmos, m_sequential_print_clearance, and Slic3r::GUI::GLGizmosManager::Undefined.
Referenced by _render_scene(), and _render_sequential_clearance().
|
private |
References _is_realistic_view_enabled(), _render_shadows(), _shadow_casters_signature(), _shadow_mode(), Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), Slic3r::GUI::OpenGLManager::Arb, CanvasPreview, Slic3r::Circle, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::defined, Slic3r::GUI::GLModel::Geometry::format, Slic3r::GUI::OpenGLManager::get_framebuffers_type(), GL_BLEND, GL_CLAMP_TO_BORDER, GL_COLOR_WRITEMASK, GL_CULL_FACE, GL_DEPTH_ATTACHMENT, GL_DEPTH_BUFFER_BIT, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT24, GL_DEPTH_FUNC, GL_DEPTH_TEST, GL_DEPTH_WRITEMASK, GL_FALSE, GL_FLOAT, GL_FRAMEBUFFER, GL_FRAMEBUFFER_BINDING, GL_FRAMEBUFFER_COMPLETE, GL_LEQUAL, GL_LESS, GL_NEAREST, GL_NONE, GL_ONE_MINUS_SRC_ALPHA, GL_POLYGON_OFFSET_FILL, GL_SRC_ALPHA, GL_TEXTURE0, GL_TEXTURE4, GL_TEXTURE_2D, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TRUE, GL_VIEWPORT, glActiveTexture, glBindFramebuffer, glBindTexture, glBlendFunc, glCheckFramebufferStatus, glClear, glColorMask, glDepthFunc, glDepthMask, glDisable, glDrawBuffer, glEnable, glFramebufferTexture2D, glGenFramebuffers, glGenTextures, glGetBooleanv, glGetIntegerv, glIsEnabled, glPolygonOffset, glReadBuffer, glsafe, glTexImage2D, glTexParameterfv, glTexParameteri, glViewport, Slic3r::GUI::GLModel::Geometry::indices_count(), m_bed, m_canvas_type, m_gcode_viewer, m_plate_shadow_mask, m_plate_shadow_mask_key, m_shadow_light_vp, m_shadow_map_fbo, m_shadow_map_key, m_shadow_map_size, m_shadow_map_texture_id, m_shadow_map_valid, m_shadow_plate_bounds, m_volumes, Slic3r::BoundingBoxBase< PointType, APointsType >::max, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::max, Slic3r::BoundingBox3Base< PointType >::merge(), Slic3r::BoundingBoxBase< PointType, APointsType >::min, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::min, Slic3r::GLVolume::model, Off, Slic3r::GUI::GLModel::Geometry::P3, PI, Slic3r::range(), Slic3r::Rectangle, Slic3r::GUI::GLModel::render(), Slic3r::GUI::GLModel::Geometry::reserve_indices(), Slic3r::GUI::GLModel::Geometry::reserve_vertices(), Slic3r::GLShaderProgram::set_uniform(), Slic3r::GLShaderProgram::start_using(), Static, Slic3r::GUI::STATIC_LIGHT_DIR, Slic3r::GLShaderProgram::stop_using(), Slic3r::GLVolume::transformed_bounding_box(), Slic3r::GUI::GLModel::Geometry::Triangles, Slic3r::unscaled(), Slic3r::GUI::GLModel::Geometry::vertices_count(), and Slic3r::GLVolume::world_matrix().
Referenced by _render_scene(), and _render_shadows().
|
private |
References _render_sla_slices(), Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), Slic3r::Geometry::assemble_transform(), camera, Slic3r::SLAPrintObject::closest_slice_to_print_level(), Slic3r::GUI::GLModel::Geometry::color, current_printer_technology(), Slic3r::SLAPrint::default_object_config(), Slic3r::GUI::GLModel::Geometry::format, Slic3r::SLAPrintObject::SliceRecord::get_slice(), Slic3r::SLAPrintObject::get_slice_index(), Slic3r::GUI::GLModel::init_from(), Slic3r::SLAPrintObject::instances(), Slic3r::GUI::GLModel::Geometry::is_empty(), Slic3r::GUI::GLModel::is_initialized(), Slic3r::SLAPrintObject::is_left_handed(), Slic3r::PrintObjectBaseWithState< PrintType, PrintObjectStepEnum, COUNT >::is_step_done(), Slic3r::SLAPrintObject::SliceRecord::is_valid(), Slic3r::GUI::layer_height, m_clipping_planes, m_sla_caps, m_use_clipping_planes, Slic3r::SLAPrint::material_config(), Slic3r::SLAPrint::objects(), Slic3r::GUI::GLModel::Geometry::P3, Slic3r::ptSLA, Slic3r::GUI::GLModel::render(), Slic3r::GUI::GLModel::Geometry::reserve_indices(), Slic3r::GUI::GLModel::Geometry::reserve_vertices(), SCALED_EPSILON, SCALING_FACTOR, Slic3r::GLShaderProgram::set_uniform(), sla_print(), Slic3r::slaposSliceSupports, Slic3r::soModel, Slic3r::soSupport, Slic3r::GLShaderProgram::start_using(), Slic3r::GLShaderProgram::stop_using(), Slic3r::GUI::GLModel::Geometry::Triangles, Slic3r::triangulate_expolygons_3d(), and Slic3r::unscale().
Referenced by _render_scene(), and _render_sla_slices().
|
private |
References _render_ssao_pass(), camera, GL_BLEND, GL_CLAMP_TO_EDGE, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT24, GL_DEPTH_TEST, GL_LINEAR, GL_NEAREST, GL_ONE_MINUS_SRC_ALPHA, GL_RGBA, GL_SRC_ALPHA, GL_TEXTURE0, GL_TEXTURE1, GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_UNSIGNED_BYTE, GL_UNSIGNED_INT, glActiveTexture, glBindTexture, glBlendFunc, glCopyTexSubImage2D, glDisable, glEnable, glGenTextures, glsafe, glTexImage2D, glTexParameteri, m_background, m_ssao_color_texture_id, m_ssao_depth_texture_id, m_ssao_texture_size, Slic3r::GLShaderProgram::set_uniform(), Slic3r::GLShaderProgram::start_using(), and Slic3r::GLShaderProgram::stop_using().
Referenced by _render_scene(), and _render_ssao_pass().
|
private |
References _render_style_editor(), Slic3r::RenderColor::colors, Slic3r::GetRenderColName(), RenderCol_Count, Slic3r::GLVolume::update_render_colors(), Slic3r::GUI::Bed3D::update_render_colors(), update_render_colors(), Slic3r::GUI::GLGizmoBase::update_render_colors(), and Slic3r::GUI::PartPlate::update_render_colors().
Referenced by _render_frame(), and _render_style_editor().
|
private |
References _render_volumes_for_picking(), camera, GL_CULL_FACE, glDisable, glEnable, glsafe, m_render_sla_auxiliaries, m_volumes, Slic3r::GLVolumeCollection::Opaque, Slic3r::picking_decode(), Slic3r::GLShaderProgram::set_uniform(), Slic3r::GLShaderProgram::start_using(), Slic3r::GLShaderProgram::stop_using(), Slic3r::GLVolumeCollection::Transparent, and Slic3r::volumes_to_render().
Referenced by _rectangular_selection_picking_pass(), and _render_volumes_for_picking().
|
private |
References _render_wireframe_overlay(), Slic3r::GLVolumeCollection::All, camera, Slic3r::GLVolume::color, get_canvas_size(), Slic3r::GUI::OpenGLManager::get_gl_info(), GL_DEPTH_TEST, GL_FILL, GL_FRONT_AND_BACK, GL_LINE, glEnable, glLineWidth, glPolygonMode, glsafe, Slic3r::ColorRGBA::is_transparent(), m_volumes, Slic3r::GUI::plater(), Slic3r::GLVolume::render_color, Slic3r::GLShaderProgram::set_uniform(), Slic3r::GLShaderProgram::start_using(), and Slic3r::GLShaderProgram::stop_using().
Referenced by _render_scene(), and _render_wireframe_overlay().
|
private |
References _render_xray_volumes(), Slic3r::GLVolumeCollection::All, camera, CanvasAssembleView, Slic3r::GLVolume::composite_id, get_canvas_size(), GL_BLEND, GL_FALSE, GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA, GL_TRUE, glBlendFunc, glDepthMask, glDisable, glEnable, glsafe, m_canvas_type, m_render_sla_auxiliaries, m_volumes, Slic3r::GLShaderProgram::start_using(), Slic3r::GLShaderProgram::stop_using(), and Slic3r::GLVolume::CompositeID::volume_id.
Referenced by _render_objects(), and _render_xray_volumes().
|
private |
References _set_current(), m_canvas, m_context, m_last_h, m_last_w, m_old_size, request_extra_frame(), and set_imgui_scaling().
Referenced by _refresh_if_shown_on_screen(), and _render_frame().
|
private |
References _scene_cache_key(), camera, Slic3r::GUI::GLGizmoBase::get_hover_id(), Slic3r::GUI::SceneCache::Key::gizmo_hover_id, Slic3r::GUI::PartPlate::GRABBER_COUNT, Slic3r::GLVolume::hover, Slic3r::GUI::SceneCache::Key::hover_plate_icon_idxs, Slic3r::GLVolume::HS_None, Slic3r::GLVolume::is_below_printbed(), Slic3r::GLVolume::is_sinking(), m_gizmos, m_hover_plate_idxs, m_render_preview, m_volumes, Slic3r::GUI::SceneCache::Key::projection_matrix, Slic3r::GUI::SceneCache::Key::render_preview, Slic3r::GUI::SceneCache::Key::sinking_hover_volume_idxs, Slic3r::GUI::SceneCache::Key::size, and Slic3r::GUI::SceneCache::Key::view_matrix.
Referenced by _can_reuse_cached_scene(), _capture_scene_cache(), and _scene_cache_key().
|
private |
References m_canvas, and m_context.
Referenced by ~GLCanvas3D(), _render_frame(), _resize(), _set_warning_notification_if_needed(), load_sla_preview(), make_current_for_postinit(), on_gesture(), on_mouse(), reload_scene(), and reset_volumes().
|
inlineprivate |
References m_overlay_dirty.
Referenced by on_fps_overlay_timer(), on_key(), Slic3r::GUI::GLCanvas3D::CenterOfMass::on_left_down(), on_mouse(), and Slic3r::GUI::GLCanvas3D::CenterOfMass::render_details().
|
private |
Referenced by load_gcode_preview(), load_shells(), render_thumbnail(), render_thumbnail(), and reset_gcode_toolpaths().
|
private |
References _L_PLURAL, _set_warning_notification(), _u8L, Slic3r::GUI::BBLFilamentPrintableError, Slic3r::GUI::BBLFlushingVolumeZero, Slic3r::GUI::BBLMixUsePLAAndPETG, Slic3r::GUI::BBLNozzleFilamentIncompatible, Slic3r::GUI::BBLSingleExtruderMixedFilamentRisk, Slic3r::GUI::BBLSliceLimitError, Slic3r::GUI::BBLSliceMultiExtruderHeightOutside, Slic3r::filament_ids(), Slic3r::GUI::filament_printable_error_msg, FilamentPrintableError, FilamentUnPrintableOnFirstLayer, FlushingVolumeZero, Slic3r::format(), GCodeConflict, Slic3r::GUI::get_filament_mixture_warning_text(), Slic3r::ModelInstance::get_labeled_id(), Slic3r::GUI::get_left_extruder_unprintable_text(), Slic3r::GUI::get_nozzle_filament_incompatible_text(), Slic3r::GUI::get_object_clashed_text(), Slic3r::GUI::get_object_limited_text(), Slic3r::GUI::get_right_extruder_unprintable_text(), Slic3r::GUI::get_single_extruder_mixed_filament_warning_text(), Slic3r::ModelObject::instances, Slic3r::into_u8(), L, LeftExtruderPrintableError, Slic3r::GUI::LeftExtruderUnprintableError, m_gcode_viewer, m_model, MixtureFilamentIncompatible, MixUsePLAAndPETG, Slic3r::PrintInstance::model_instance, Slic3r::PrintObjectBase::model_object(), MultiExtruderHeightOutside, MultiExtruderPrintableError, NozzleFilamentIncompatible, Slic3r::GLVolume::object_idx(), ObjectClashed, ObjectLimited, ObjectOutside, open_flushing_dialog(), Slic3r::GUI::plater(), PrimeTowerOutside, Slic3r::PrintInstance::print_object, RightExtruderPrintableError, Slic3r::GUI::RightExtruderUnprintableError, SingleExtruderMixedFilament, SlaSupportsOutside, SomethingNotShown, ToolHeightOutside, ToolpathOutside, TPUPrintableError, and Slic3r::GUI::try_pop_up_before_slice().
Referenced by _set_warning_notification(), _set_warning_notification_if_needed(), reload_scene(), reset_volumes(), and toggle_model_objects_visibility().
|
private |
References _is_any_volume_outside(), _set_current(), _set_warning_notification(), _set_warning_notification_if_needed(), current_printer_technology(), FilamentUnPrintableOnFirstLayer, GCodeConflict, m_gcode_viewer, m_volumes, MultiExtruderHeightOutside, MultiExtruderPrintableError, Slic3r::ptSLA, ToolHeightOutside, and ToolpathOutside.
Referenced by _set_warning_notification_if_needed(), _update_slice_error_status(), and load_sla_preview().
|
private |
References _shadow_casters_signature(), Slic3r::GUI::GLModel::get_bounding_box(), Slic3r::GUI::GLModel::indices_count(), m_gcode_viewer, m_volumes, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::max, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::min, Slic3r::GLVolume::model, Slic3r::GUI::GLModel::vertices_count(), and Slic3r::GLVolume::world_matrix().
Referenced by _render_shadows(), and _shadow_casters_signature().
|
private |
References _shadow_mode(), Off, Orbit, SETTING_OPENGL_REALISTIC_SHADOWS, and Static.
Referenced by _render_gcode(), _render_shadows(), _shadow_mode(), and _static_light_dir_eye().
|
inlineprivate |
References m_timer.
Referenced by _perform_layer_editing_action().
|
private |
References _is_realistic_view_enabled(), _shadow_mode(), _static_light_dir_eye(), Static, and Slic3r::GUI::STATIC_LIGHT_DIR.
Referenced by _render_gcode(), _render_objects(), and _static_light_dir_eye().
|
inlineprivate |
References m_timer.
Referenced by on_mouse().
|
private |
References Slic3r::GUI::BackgroundTexture::Metadata::bottom, collapse_toolbar(), Slic3r::GUI::BackgroundTexture::Metadata::filename, Slic3r::GUI::GLToolbar::init(), Slic3r::GUI::BackgroundTexture::Metadata::left, m_assemble_view_toolbar, m_is_dark, m_main_toolbar, m_separator_toolbar, Slic3r::GUI::BackgroundTexture::Metadata::right, Slic3r::GUI::GLToolbarItem::set_icon_filename(), and Slic3r::GUI::BackgroundTexture::Metadata::top.
Referenced by on_change_color_mode().
|
private |
References m_dirty.
Referenced by handle_shortcut(), and on_mouse_wheel().
|
private |
References _update_select_plate_toolbar_stats_item(), Slic3r::GUI::PartPlateList::get_plate(), Slic3r::GUI::PartPlateList::get_plate_count(), m_sel_plate_toolbar, and Slic3r::GUI::IMToolbarItem::set_thumbnail().
Referenced by _render_imgui_select_plate_toolbar().
|
private |
References _hides_inactive_plates(), _update_inactive_plates_visibility(), Slic3r::GUI::SceneRaycaster::Bed, Slic3r::GUI::SceneRaycaster::decode_id(), Slic3r::GUI::PartPlate::get_bounding_box(), Slic3r::GUI::PartPlateList::get_curr_plate(), Slic3r::GUI::PartPlateList::get_curr_plate_index(), get_raycasters_for_picking(), Slic3r::GUI::PartPlate::GRABBER_COUNT, Slic3r::GUI::Instance, Slic3r::GLVolume::instance_idx(), m_gizmos, m_inactive_plates_hidden, m_volumes, Slic3r::GLVolume::object_idx(), Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::overlap(), Slic3r::GLVolume::transformed_convex_hull_bounding_box(), and Slic3r::GUI::SceneRaycaster::Volume.
Referenced by _render_frame(), and _update_inactive_plates_visibility().
| void Slic3r::GUI::GLCanvas3D::_update_select_plate_toolbar_stats_item | ( | bool | force_selected = false | ) |
References Slic3r::GUI::PartPlateList::get_nonempty_plate_list(), and m_sel_plate_toolbar.
Referenced by _update_imgui_select_plate_toolbar().
|
private |
References _update_selection_from_hover(), Slic3r::GLVolume::instance_idx(), m_dirty, m_gizmos, m_hover_volume_idxs, m_rectangle_selection, m_selection, m_volumes, Slic3r::GLVolume::object_idx(), Slic3r::GUI::plater(), post_event(), Slic3r::GUI::GLSelectionRectangle::Select, Slic3r::UndoRedo::Selection, and Slic3r::GLVolume::volume_idx().
Referenced by _update_selection_from_hover(), on_key(), and on_mouse().
|
inlineprivate |
References check_volumes_outside_state().
Referenced by load_sla_preview().
|
private |
References _set_warning_notification_if_needed(), FilamentUnPrintableOnFirstLayer, GCodeConflict, MultiExtruderHeightOutside, MultiExtruderPrintableError, ToolHeightOutside, and ToolpathOutside.
Referenced by load_gcode_preview(), and reload_scene().
|
private |
References _update_volumes_hover_state(), Slic3r::GLVolume::hover, Slic3r::GLVolume::HS_Deselect, Slic3r::GLVolume::HS_Hover, Slic3r::GLVolume::HS_None, Slic3r::GLVolume::HS_Select, Slic3r::GLVolume::instance_idx(), m_hover_volume_idxs, m_selection, m_volumes, and Slic3r::GLVolume::object_idx().
Referenced by _picking_pass(), and _update_volumes_hover_state().
|
private |
References m_dirty.
Referenced by _render_canvas_toolbar(), zoom_to_bed(), zoom_to_gcode(), zoom_to_plate(), zoom_to_selection(), and zoom_to_volumes().
| void Slic3r::GUI::GLCanvas3D::adaptive_layer_height_profile | ( | float | quality_factor | ) |
References Slic3r::GUI::GLCanvas3D::LayersEditing::Completed, m_dirty, and m_layers_editing.
|
inline |
References m_scene_raycaster.
Referenced by Slic3r::GUI::register_model_for_picking(), reload_scene(), and Slic3r::GUI::GLGizmoBase::Grabber::render().
| void Slic3r::GUI::GLCanvas3D::align_section_view_to_camera | ( | ) |
References _on_section_view_changed(), and m_section_view.
Referenced by _render_canvas_toolbar(), _render_section_view_panel(), and set_section_view_ratio().
|
inline |
References m_multisample_allowed.
| void Slic3r::GUI::GLCanvas3D::apply_retina_scale | ( | Vec2d & | screen_coordinate | ) | const |
References scale().
Referenced by on_gesture(), Slic3r::GUI::PlaterDropTarget::OnDropFiles(), and Slic3r::GUI::Plater::priv::show_right_click_menu().
| void Slic3r::GUI::GLCanvas3D::apply_selection_move | ( | bool | slow, |
| bool | camera_space ) |
References m_dirty, m_selection, m_selection_edit, and Slic3r::GUI::TransformationType::set_relative().
Referenced by handle_shortcut(), and on_key().
| void Slic3r::GUI::GLCanvas3D::apply_selection_rotate | ( | double | angle_z_rad | ) |
References m_dirty, m_selection, m_selection_edit, and Slic3r::GUI::TransformationType::World_Relative_Joint.
Referenced by handle_shortcut().
|
inline |
| void Slic3r::GUI::GLCanvas3D::bed_shape_changed | ( | ) |
References m_dirty, and refresh_camera_scene_box().
| void Slic3r::GUI::GLCanvas3D::bind_event_handlers | ( | ) |
References finish_selection_edit(), Slic3r::GUI::initGestures(), m_canvas, m_event_handlers_bound, m_gizmo_highlighter, m_navigator_dragging, m_selection_edit, m_toolbar_highlighter, Slic3r::GUI::mac_ime_set_active(), Slic3r::GUI::GLCanvas3D::SelectionEdit::None, on_char(), on_gesture(), on_idle(), on_key(), on_mouse(), on_mouse_wheel(), on_paint(), on_render_timer(), on_set_focus(), on_size(), on_timer(), release_held_modifiers(), and render().
| bool Slic3r::GUI::GLCanvas3D::can_sequential_clearance_show_in_gizmo | ( | ) |
References m_gizmos, Slic3r::GUI::GLGizmosManager::Move, Slic3r::GUI::GLGizmosManager::Rotate, and Slic3r::GUI::GLGizmosManager::Scale.
Referenced by _render_sequential_clearance(), and on_mouse().
|
inline |
References check_volumes_outside_state().
Referenced by check_volumes_outside_state().
|
private |
| ModelInstanceEPrintVolumeState Slic3r::GUI::GLCanvas3D::check_volumes_outside_state | ( | ObjectFilamentResults * | object_results = nullptr | ) | const |
References Slic3r::GUI::construct_error_string(), Slic3r::GUI::construct_extruder_unprintable_error(), Slic3r::GUI::get_left_extruder_unprintable_text(), Slic3r::GUI::get_object_clashed_text(), Slic3r::GUI::get_right_extruder_unprintable_text(), m_bed, m_initialized, m_volumes, and Slic3r::ModelInstancePVS_Inside.
Referenced by _update_sla_shells_outside_state(), and Slic3r::GUI::Plater::priv::set_current_panel().
|
inline |
References m_popup_menu_positon.
Referenced by Slic3r::GUI::Plater::priv::show_right_click_menu().
| bool Slic3r::GUI::GLCanvas3D::clicked_button_matches_action | ( | const wxMouseEvent & | evt, |
| MouseAction | action, | ||
| const std::map< MouseButton, MouseAction > & | mappings ) const |
References Left, Middle, None, Right, and Slic3r::GUI::wxMouseEvent.
Referenced by is_camera_pan(), and is_camera_rotate().
|
private |
References Slic3r::GUI::Left, Slic3r::GUI::Sidebar::Left, m_collapse_side, Slic3r::GUI::None, Slic3r::GUI::plater(), Slic3r::GUI::Right, and Slic3r::GUI::Sidebar::Right.
Referenced by _check_and_update_toolbar_icon_scale(), _render_collapse_toolbar(), get_collapse_toolbar_height(), get_collapse_toolbar_width(), and is_collapse_toolbar_on_left().
|
private |
References m_collapse_toolbar.
Referenced by _check_and_update_toolbar_icon_scale(), _deactivate_collapse_toolbar_items(), _overlay_signature(), _render_collapse_toolbar(), _render_frame(), _switch_toolbars_icon_filename(), get_collapse_toolbar_height(), get_collapse_toolbar_width(), on_change_color_mode(), on_idle(), and on_mouse().
|
private |
References current_printer_technology(), and m_process.
Referenced by _init_main_toolbar(), _render_arrange_menu(), _render_background(), _render_orient_menu(), _render_sla_slices(), _set_warning_notification_if_needed(), current_printer_technology(), do_move(), get_arrange_settings(), get_orient_settings(), on_gesture(), on_mouse(), reload_scene(), toggle_sla_auxiliaries_visibility(), update_compacted_wipe_tower_clearance(), and update_sequential_clearance().
|
inline |
References m_selection.
| void Slic3r::GUI::GLCanvas3D::deselect_all | ( | ) |
References m_gizmos, m_selection, and post_event().
Referenced by on_char(), and on_mouse().
| void Slic3r::GUI::GLCanvas3D::do_center | ( | ) |
References m_model, and m_selection.
| void Slic3r::GUI::GLCanvas3D::do_center_plate | ( | const int | plate_idx | ) |
References m_model, and m_selection.
| void Slic3r::GUI::GLCanvas3D::do_drop | ( | ) |
References m_model, and m_selection.
| void Slic3r::GUI::GLCanvas3D::do_mirror | ( | const std::string & | snapshot_type | ) |
References Slic3r::ModelObject::auto_drop, Slic3r::ModelObject::get_instance_min_z(), Slic3r::GLVolume::get_instance_transformation(), Slic3r::GLVolume::get_volume_transformation(), Slic3r::GUI::Selection::Instance, Slic3r::ModelObject::instance_bounding_box(), Slic3r::GLVolume::instance_idx(), Slic3r::ModelObject::instances, Slic3r::ModelObject::invalidate_bounding_box(), m_dirty, m_model, m_selection, m_volumes, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::min, Slic3r::GUI::PartPlateList::notify_instance_update(), Slic3r::GLVolume::object_idx(), post_event(), Slic3r::save_object_mesh(), Slic3r::SINKING_Z_THRESHOLD, Slic3r::ModelObject::translate_instance(), Slic3r::GUI::Selection::Volume, Slic3r::GLVolume::volume_idx(), and Slic3r::ModelObject::volumes.
Referenced by mirror_selection().
| void Slic3r::GUI::GLCanvas3D::do_move | ( | const std::string & | snapshot_type, |
| bool | force_volume_move = false ) |
References Slic3r::ModelObject::auto_drop, CanvasAssembleView, Slic3r::LifecycleEventContext::code, current_printer_technology(), Slic3r::fire_lifecycle_event(), Slic3r::ModelObject::get_instance_min_z(), Slic3r::GLVolume::get_instance_offset(), Slic3r::GLVolume::get_instance_transformation(), Slic3r::GUI::PartPlate::get_origin(), Slic3r::GUI::PartPlateList::get_plate(), Slic3r::GLVolume::get_volume_offset(), Slic3r::GLVolume::get_volume_transformation(), Slic3r::GUI::Selection::Instance, Slic3r::GLVolume::instance_idx(), Slic3r::ModelObject::instances, Slic3r::ModelObject::invalidate_bounding_box(), m_canvas_type, m_dirty, m_model, m_selection, m_volumes, Slic3r::LifecycleEventContext::msg, Slic3r::LifecycleEventContext::name, Slic3r::GLVolume::object_idx(), Slic3r::ObjectTransformed, Slic3r::Ok, Slic3r::ConfigBase::option(), post_event(), Slic3r::ptSLA, reset_sequential_print_clearance(), Slic3r::save_object_mesh(), Slic3r::ConfigOptionVector< double >::set_at(), Slic3r::SINKING_Z_THRESHOLD, Slic3r::ModelObject::translate_instance(), Slic3r::GUI::Selection::Volume, Slic3r::GLVolume::volume_idx(), Slic3r::ModelObject::volumes, and Slic3r::wipe_tower_y().
Referenced by finish_selection_edit(), anonymous_namespace{GLGizmoEmboss.cpp}::fix_transformation(), on_mouse(), and Slic3r::GUI::on_mouse_surface_drag().
| void Slic3r::GUI::GLCanvas3D::do_rotate | ( | const std::string & | snapshot_type | ) |
References Slic3r::ModelObject::auto_drop, CanvasAssembleView, Slic3r::LifecycleEventContext::code, Slic3r::fire_lifecycle_event(), Slic3r::ModelObject::get_instance_min_z(), Slic3r::GLVolume::get_instance_transformation(), Slic3r::Geometry::Transformation::get_matrix(), Slic3r::GLVolume::get_volume_transformation(), Slic3r::GUI::Selection::Instance, Slic3r::ModelObject::instance_bounding_box(), Slic3r::GLVolume::instance_idx(), Slic3r::ModelObject::instances, Slic3r::ModelObject::invalidate_bounding_box(), L, m_canvas_type, m_dirty, m_model, m_selection, m_volumes, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::min, Slic3r::LifecycleEventContext::msg, Slic3r::LifecycleEventContext::name, Slic3r::GLVolume::object_idx(), Slic3r::ObjectTransformed, Slic3r::Ok, post_event(), Slic3r::save_object_mesh(), Slic3r::SINKING_Z_THRESHOLD, Slic3r::ModelObject::translate_instance(), Slic3r::GUI::Selection::Volume, Slic3r::GLVolume::volume_idx(), and Slic3r::ModelObject::volumes.
Referenced by Slic3r::GUI::face_selected_volume_to_camera(), finish_selection_edit(), and anonymous_namespace{GLGizmoEmboss.cpp}::fix_transformation().
| void Slic3r::GUI::GLCanvas3D::do_scale | ( | const std::string & | snapshot_type | ) |
References Slic3r::ModelObject::auto_drop, Slic3r::LifecycleEventContext::code, Slic3r::fire_lifecycle_event(), Slic3r::ModelObject::get_instance_min_z(), Slic3r::GLVolume::get_instance_transformation(), Slic3r::GLVolume::get_volume_transformation(), Slic3r::GUI::Selection::Instance, Slic3r::ModelObject::instance_bounding_box(), Slic3r::GLVolume::instance_idx(), Slic3r::ModelObject::instances, Slic3r::ModelObject::invalidate_bounding_box(), m_dirty, m_model, m_selection, m_volumes, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::min, Slic3r::LifecycleEventContext::msg, Slic3r::LifecycleEventContext::name, Slic3r::GLVolume::object_idx(), Slic3r::ObjectTransformed, Slic3r::Ok, post_event(), Slic3r::save_object_mesh(), Slic3r::SINKING_Z_THRESHOLD, Slic3r::ModelObject::translate_instance(), Slic3r::GUI::Selection::Volume, Slic3r::GLVolume::volume_idx(), and Slic3r::ModelObject::volumes.
| void Slic3r::GUI::GLCanvas3D::enable_assemble_view_toolbar | ( | bool | enable | ) |
References m_assemble_view_toolbar.
| void Slic3r::GUI::GLCanvas3D::enable_collapse_toolbar | ( | bool | enable | ) |
References m_collapse_toolbar_enabled.
|
inline |
References m_dynamic_background_enabled.
|
inline |
|
inline |
| void Slic3r::GUI::GLCanvas3D::enable_layers_editing | ( | bool | enable | ) |
|
inline |
References m_main_toolbar.
|
inline |
References m_moving_enabled.
Referenced by Slic3r::GUI::on_mouse_surface_drag(), and anonymous_namespace{SurfaceDrag.cpp}::start_dragging().
|
inline |
References m_hover_volume_idxs, and m_picking_enabled.
Referenced by Slic3r::GUI::on_mouse_surface_drag(), and anonymous_namespace{SurfaceDrag.cpp}::start_dragging().
| void Slic3r::GUI::GLCanvas3D::enable_plate_chrome | ( | bool | enable | ) |
References m_plate_chrome_enabled.
|
inline |
References m_enable_render.
| void Slic3r::GUI::GLCanvas3D::enable_return_toolbar | ( | bool | enable | ) |
References m_return_toolbar.
Referenced by _render_frame().
| void Slic3r::GUI::GLCanvas3D::enable_select_plate_toolbar | ( | bool | enable | ) |
References m_sel_plate_toolbar.
|
inline |
References m_selection.
| void Slic3r::GUI::GLCanvas3D::enable_separator_toolbar | ( | bool | enable | ) |
References m_separator_toolbar.
|
inline |
References m_sinking_contours_enabled.
|
inline |
| void Slic3r::GUI::GLCanvas3D::ensure_on_bed | ( | unsigned int | object_idx, |
| bool | allow_negative_z ) |
References Slic3r::ModelObject::auto_drop, CanvasAssembleView, Slic3r::GLVolume::get_instance_offset(), Slic3r::GLVolume::instance_idx(), m_canvas_type, m_model, m_volumes, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::min, Slic3r::GLVolume::object_idx(), Slic3r::GLVolume::set_instance_offset(), Slic3r::GLVolume::transformed_convex_hull_bounding_box(), and Slic3r::Z.
| void Slic3r::GUI::GLCanvas3D::exit_gizmo | ( | ) |
References m_gizmos, and Slic3r::GUI::GLGizmosManager::Undefined.
|
inline |
References m_gcode_viewer.
| const Print * Slic3r::GUI::GLCanvas3D::fff_print | ( | ) | const |
References fff_print(), and m_process.
Referenced by _max_bounding_box(), _render_overlays(), fff_print(), load_gcode_preview(), on_mouse(), set_config(), update_compacted_wipe_tower_clearance(), and update_sequential_clearance().
| void Slic3r::GUI::GLCanvas3D::finish_selection_edit | ( | ) |
References do_move(), do_rotate(), L, m_dirty, m_gizmos, m_selection_edit, Slic3r::GUI::GLCanvas3D::SelectionEdit::Move, Slic3r::GUI::GLCanvas3D::SelectionEdit::None, post_event(), and refresh_camera_scene_box().
Referenced by bind_event_handlers(), and on_key().
|
inline |
References m_main_toolbar.
Referenced by _init_main_toolbar().
|
inline |
References m_main_toolbar.
| void Slic3r::GUI::GLCanvas3D::force_set_focus | ( | ) |
References m_canvas.
Referenced by Slic3r::GUI::MainFrame::handle_global_shortcut(), and Slic3r::GUI::MainFrame::init_menubar_as_editor().
| GLCanvas3D::ArrangeSettings & Slic3r::GUI::GLCanvas3D::get_arrange_settings | ( | ) |
References Slic3r::ByObject, current_printer_technology(), get_arrange_settings(), m_arrange_settings_fff, m_arrange_settings_fff_seq_print, m_arrange_settings_sla, Slic3r::ptFFF, and Slic3r::ptSLA.
Referenced by _render_arrange_menu(), get_arrange_settings(), and Slic3r::GUI::init_arrange_params().
|
inline |
References m_assemble_view_toolbar.
|
inline |
References m_assemble_view_toolbar.
|
inline |
References m_paint_toolbar_width.
| Camera & Slic3r::GUI::GLCanvas3D::get_camera | ( | ) |
References camera.
Referenced by _mouse_to_3d(), _picking_pass(), _render_arrange_menu(), _render_orient_menu(), on_idle(), and Slic3r::GUI::GLCanvas3D::CenterOfMass::render_details().
|
private |
References _current_plate_box(), CanvasAssembleView, CanvasPreview, Slic3r::BoundingBox3Base< PointType >::center(), Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::defined, Slic3r::GUI::GLGizmosManager::FdmSupports, Slic3r::GUI::GLGizmosManager::FuzzySkin, Gesture, get_camera_orbit_target(), m_canvas_type, m_gizmos, m_selection, Slic3r::GUI::GLGizmosManager::MmSegmentation, Slic3r::GUI::GLGizmosManager::Seam, and volumes_bounding_box().
Referenced by get_camera_orbit_target(), get_camera_pan_anchor(), on_gesture(), and on_mouse().
|
private |
References camera, Slic3r::BoundingBox3Base< PointType >::center(), Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::defined, Slic3r::dot(), EPSILON, Slic3r::GUI::PartPlate::get_bounding_box(), get_camera_orbit_target(), get_camera_pan_anchor(), get_raycaster_clipping_plane(), is_bed_visible(), Slic3r::GUI::SceneRaycaster::HitResult::is_valid(), m_scene_raycaster, Slic3r::GUI::Camera::Perspective, Slic3r::GUI::SceneRaycaster::HitResult::position, Slic3r::GUI::CameraUtils::ray_from_screen_pos(), Slic3r::GUI::SceneRaycaster::SceneOnly, and Slic3r::GUI::SceneRaycaster::VolumesOnly.
Referenced by get_camera_pan_anchor(), on_gesture(), and on_mouse().
| Size Slic3r::GUI::GLCanvas3D::get_canvas_size | ( | ) | const |
References m_canvas.
Referenced by _check_and_update_toolbar_icon_scale(), _picking_pass(), _rectangular_selection_picking_pass(), _refresh_if_shown_on_screen(), _render_arrange_menu(), _render_assemble_control(), _render_assemble_info(), _render_assemble_view_toolbar(), _render_canvas_toolbar(), _render_collapse_toolbar(), _render_frame(), _render_imgui_select_plate_toolbar(), _render_main_toolbar(), _render_objects(), _render_orient_menu(), _render_paint_toolbar(), _render_plate_switcher(), _render_return_toolbar(), _render_separator_toolbar_left(), _render_separator_toolbar_right(), _render_wireframe_overlay(), _render_xray_volumes(), Slic3r::GUI::NotificationManager::PopNotification::bbl_render_block_notification(), Slic3r::GUI::MainFrame::GLResourcesPrebuild::build_step(), Slic3r::GUI::GLToolbar::contains_mouse_horizontal(), Slic3r::GUI::GLToolbar::contains_mouse_vertical(), Slic3r::GUI::GLCanvas3D::LayersEditing::get_bar_rect_screen(), get_main_toolbar_offset(), on_mouse(), on_mouse_wheel(), Slic3r::GUI::anonymous_namespace{SceneBenchmark.cpp}::SceneBenchmarkDialog::on_timer(), Slic3r::GUI::GLCanvas3D::Tooltip::render(), Slic3r::GUI::GLSelectionRectangle::render(), Slic3r::GUI::NotificationManager::PopNotification::render(), Slic3r::GUI::NotificationManager::SlicingProgressNotification::render(), Slic3r::GUI::GLCanvas3D::LayersEditing::render_active_object_annotations(), Slic3r::GUI::GLToolbar::render_horizontal(), Slic3r::GUI::GLCanvas3D::LayersEditing::render_profile(), Slic3r::GUI::Mouse3DController::render_settings_dialog(), Slic3r::GUI::GLCanvas3D::LayersEditing::render_variable_layer_height_dialog(), Slic3r::GUI::GLToolbar::render_vertical(), Slic3r::GUI::Emboss::start_create_volume_without_position(), Slic3r::GUI::GLCanvas3D::LayersEditing::thickness_bar_width(), Slic3r::GUI::GLToolbar::update_hover_state_horizontal(), and Slic3r::GUI::GLToolbar::update_hover_state_vertical().
| float Slic3r::GUI::GLCanvas3D::get_canvas_toolbar_right | ( | ) | const |
References Slic3r::GUI::CANVAS_TOOLBAR_BUTTON, Slic3r::GUI::CANVAS_TOOLBAR_MARGIN, Slic3r::GUI::CANVAS_TOOLBAR_PADDING, Slic3r::GUI::DPI_DEFAULT, Slic3r::GUI::get_dpi_for_window(), get_scale(), and Slic3r::GUI::NAVIGATOR_SIZE.
|
inline |
References m_canvas_type.
Referenced by Slic3r::GUI::ObjectList::list_manipulation(), Slic3r::GUI::CommonGizmosDataObjects::InstancesHider::on_update(), Slic3r::GUI::NotificationManager::PopNotification::render(), Slic3r::GUI::GLCanvas3D::CenterOfMass::render_details(), Slic3r::GUI::Plater::priv::take_snapshot(), and Slic3r::GUI::Plater::priv::update_after_undo_redo().
|
inline |
References m_clipping_planes.
| float Slic3r::GUI::GLCanvas3D::get_collapse_toolbar_height | ( | ) | const |
References collapse_side(), collapse_toolbar(), Slic3r::GUI::GLToolbar::get_height(), and Slic3r::GUI::None.
Referenced by _render_imgui_select_plate_toolbar().
| float Slic3r::GUI::GLCanvas3D::get_collapse_toolbar_width | ( | ) | const |
References collapse_side(), collapse_toolbar(), Slic3r::GUI::GLToolbar::get_width(), and Slic3r::GUI::None.
Referenced by _render_return_toolbar(), and get_main_toolbar_offset().
|
inline |
| std::vector< Vec2f > Slic3r::GUI::GLCanvas3D::get_empty_cells | ( | const Vec2f | start_point, |
| const Vec2f | step = {10, 10} ) |
References Slic3r::Geometry::assemble_transform(), Slic3r::BoundingBoxBase< PointType, APointsType >::center(), Slic3r::Polygon::contains(), Slic3r::ModelObject::convex_hull_2d(), Slic3r::MultiPoint::empty(), Slic3r::GUI::PartPlate::get_build_volume(), Slic3r::Geometry::Transformation::get_matrix(), Slic3r::ModelInstance::get_mirror(), Slic3r::ModelInstance::get_offset(), Slic3r::ModelInstance::get_rotation(), Slic3r::ModelInstance::get_scaling_factor(), Slic3r::ObjectBase::id(), Slic3r::ObjectID::id, Slic3r::ModelObject::instances, m_model, Slic3r::BoundingBoxBase< PointType, APointsType >::max, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::max, Slic3r::BoundingBoxBase< PointType, APointsType >::min, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::min, Slic3r::offset(), scale_, Slic3r::Geometry::Transformation::set_offset(), Slic3r::Geometry::Transformation::set_rotation(), Slic3r::Polygon::transform(), and Slic3r::Z.
Referenced by get_nearest_empty_cell().
|
inline |
References m_explosion_ratio.
|
inline |
References m_hover_volume_idxs.
Referenced by Slic3r::GUI::get_first_hovered_gl_volume(), on_mouse(), and anonymous_namespace{SurfaceDrag.cpp}::start_dragging().
|
inline |
References m_frame_profiler.
|
inline |
References m_gcode_viewer.
|
inline |
References m_gcode_viewer.
|
inline |
References m_gcode_layers_times_cache.
|
inline |
References m_gcode_viewer.
|
inline |
References m_gcode_viewer.
|
inline |
References m_gcode_viewer.
|
inline |
References m_gcode_viewer.
|
inline |
References m_gcode_viewer.
|
inline |
References m_gcode_viewer.
|
inline |
References m_gcode_viewer.
|
inline |
References m_gcode_viewer.
Referenced by _check_and_update_toolbar_icon_scale(), Slic3r::GUI::anonymous_namespace{SceneBenchmark.cpp}::SceneBenchmarkDialog::begin_scene(), Slic3r::GUI::anonymous_namespace{NativeCommands.cpp}::go_to_layer(), handle_shortcut(), on_change_color_mode(), on_mouse_wheel(), Slic3r::GUI::anonymous_namespace{SceneBenchmark.cpp}::SceneBenchmarkDialog::on_timer(), and Slic3r::GUI::GLCanvas3D::CenterOfMass::render().
|
inline |
|
inline |
References m_gizmos.
Referenced by _render_objects(), Slic3r::GUI::add_volume_with_gizmo(), Slic3r::GUI::call_after_if_active(), anonymous_namespace{EmbossJob.cpp}::create_volume(), Slic3r::GUI::ObjectList::del_info_item(), Slic3r::GUI::anonymous_namespace{Plater.cpp}::emboss_svg(), anonymous_namespace{EmbossJob.cpp}::CreateObjectJob::finalize(), Slic3r::GUI::GLCanvas3D::CenterOfMass::render(), Slic3r::GUI::GLGizmoUtils::render_tooltip_button(), Slic3r::GUI::GLGizmoUtils::render_video_guide_button(), Slic3r::GUI::GLGizmoUtils::render_wiki_guide_button(), Slic3r::GUI::GizmoObjectManipulation::set_coordinates_type(), toggle_model_objects_visibility(), Slic3r::GUI::Plater::priv::undo_redo_to(), and Slic3r::GUI::Plater::priv::update_after_undo_redo().
|
inline |
References m_hover_ghost_head.
|
inline |
References m_hover_ghost_plate.
| Vec2d Slic3r::GUI::GLCanvas3D::get_local_mouse_position | ( | ) | const |
References m_canvas, and m_mouse.
Referenced by Slic3r::GUI::GLCanvas3D::LayersEditing::get_cursor_z_relative().
|
inline |
References m_main_toolbar.
|
inline |
References m_main_toolbar.
Referenced by _init_main_toolbar().
| int Slic3r::GUI::GLCanvas3D::get_main_toolbar_offset | ( | ) | const |
References get_canvas_size(), get_collapse_toolbar_width(), get_main_toolbar_offset(), is_collapse_toolbar_on_left(), m_assemble_view_toolbar, m_gizmos, m_main_toolbar, m_separator_toolbar, and Slic3r::offset().
Referenced by _render_assemble_view_toolbar(), _render_fps_overlay(), _render_main_toolbar(), _render_separator_toolbar_left(), _render_separator_toolbar_right(), and get_main_toolbar_offset().
|
inline |
References m_main_toolbar.
|
inline |
References m_model.
Referenced by Slic3r::GUI::calc_distance(), Slic3r::GUI::create_meshes(), anonymous_namespace{SurfaceDrag.cpp}::dragging(), Slic3r::GUI::face_selected_volume_to_camera(), Slic3r::GUI::GLCanvas3D::CenterOfMass::model_markers(), anonymous_namespace{EmbossJob.cpp}::start_create_volume_on_surface_job(), and anonymous_namespace{SurfaceDrag.cpp}::start_dragging().
|
inline |
| Vec2f Slic3r::GUI::GLCanvas3D::get_nearest_empty_cell | ( | const Vec2f | start_point, |
| const Vec2f | step = {10, 10} ) |
References get_empty_cells(), get_size_proportional_to_max_bed_size(), and Slic3r::offset().
|
inline |
References current_printer_technology(), and Slic3r::ptSLA.
Referenced by _render_orient_menu().
|
inlineprivate |
Referenced by _render_frame().
|
inline |
References m_popup_menu_positon.
Referenced by Slic3r::GUI::add_volume_with_gizmo().
|
private |
References _get_volumes_clipping_plane(), Slic3r::GUI::GLGizmoBase::apply_clipping_plane(), Slic3r::GUI::ClippingPlane::ClipsNothing(), get_raycaster_clipping_plane(), and m_gizmos.
Referenced by _picking_pass(), get_camera_pan_anchor(), and get_raycaster_clipping_plane().
|
inline |
References m_scene_raycaster.
Referenced by _update_inactive_plates_visibility(), Slic3r::GUI::create_meshes(), toggle_model_objects_visibility(), and toggle_sla_auxiliaries_visibility().
| const float Slic3r::GUI::GLCanvas3D::get_scale | ( | ) | const |
Referenced by _check_and_update_toolbar_icon_scale(), _render_3d_navigator(), _render_arrange_menu(), _render_assemble_control(), _render_assemble_info(), _render_assembly_tooltip_button(), _render_canvas_toolbar(), _render_fps_overlay(), _render_frame(), _render_imgui_select_plate_toolbar(), _render_orient_menu(), _render_plate_switcher(), _render_section_view_panel(), get_canvas_toolbar_right(), Slic3r::GUI::marker_scale(), Slic3r::GUI::DesignSketchTool::render(), Slic3r::GUI::GLGizmoUtils::render_tooltip_button(), and Slic3r::GUI::GLCanvas3D::LayersEditing::render_variable_layer_height_dialog().
|
inline |
References m_section_view.
|
inline |
References m_section_view.
Referenced by _render_canvas_toolbar(), _render_section_view_panel(), and on_mouse_wheel().
|
inline |
References m_selection.
|
inline |
References m_selection.
Referenced by Slic3r::GUI::face_selected_volume_to_camera(), anonymous_namespace{GLGizmoEmboss.cpp}::fix_transformation(), Slic3r::GUI::CommonGizmosDataObjects::SelectionInfo::get_active_instance(), Slic3r::GUI::Plater::priv::get_curr_selection(), Slic3r::GUI::get_selected_gl_volume(), Slic3r::GUI::get_selection(), Slic3r::GUI::CommonGizmosDataObjects::SelectionInfo::on_update(), Slic3r::GUI::Plater::priv::scale_selection_to_fit_print_volume(), Slic3r::GUI::Plater::priv::set_current_panel(), Slic3r::GUI::Emboss::start_create_volume_without_position(), Slic3r::GUI::Plater::priv::update_after_undo_redo(), and Slic3r::GUI::ObjectList::update_selections_on_canvas().
|
inline |
References m_separator_toolbar.
|
inline |
References m_separator_toolbar.
|
inline |
References m_show_bed.
| double Slic3r::GUI::GLCanvas3D::get_size_proportional_to_max_bed_size | ( | double | factor | ) | const |
References m_bed, and Slic3r::BoundingBoxBase< PointType, APointsType >::size().
Referenced by get_nearest_empty_cell(), and Slic3r::GUI::Plater::increase_instances().
|
inline |
References m_use_clipping_planes.
|
inline |
References m_volumes.
Referenced by Slic3r::GUI::create_meshes(), anonymous_namespace{SurfaceDrag.cpp}::dragging(), Slic3r::GUI::get_first_hovered_gl_volume(), Slic3r::GUI::get_selected_gl_volume(), Slic3r::GUI::GLCanvas3D::CenterOfMass::model_markers(), and anonymous_namespace{SurfaceDrag.cpp}::start_dragging().
|
inline |
| GLCanvas3D::WipeTowerInfo Slic3r::GUI::GLCanvas3D::get_wipe_tower_info | ( | int | plate_idx | ) | const |
References Slic3r::GLVolume::bounding_box(), Slic3r::WipeTower::get_auto_brim_by_height(), Slic3r::GUI::PartPlate::get_size(), Slic3r::GUI::GLCanvas3D::WipeTowerInfo::m_bb, Slic3r::GUI::GLCanvas3D::WipeTowerInfo::m_plate_idx, Slic3r::GUI::GLCanvas3D::WipeTowerInfo::m_pos, m_volumes, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::max, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::min, Slic3r::GLVolume::object_idx(), Slic3r::BoundingBoxBase< PointType, APointsType >::offset(), Slic3r::DynamicConfig::opt(), Slic3r::BoundingBoxBase< PointType, APointsType >::size(), and Slic3r::to_2d().
|
inline |
References m_canvas.
Referenced by Slic3r::GUI::MainFrame::GLResourcesPrebuild::build_step(), Slic3r::GUI::anonymous_namespace{SceneBenchmark.cpp}::SceneBenchmarkDialog::on_timer(), Slic3r::GUI::GLCanvas3D::LayersEditing::render_variable_layer_height_dialog(), and Slic3r::GUI::GLCanvas3D::LayersEditing::thickness_bar_width().
|
inline |
| int Slic3r::GUI::GLCanvas3D::GetHoverId | ( | ) |
References GetHoverId(), and m_hover_plate_idxs.
Referenced by GetHoverId().
| void Slic3r::GUI::GLCanvas3D::handle_layers_data_focus_event | ( | const t_layer_height_range | range, |
| const EditorType | type ) |
References handle_sidebar_focus_event(), m_gizmos, and Slic3r::range().
| bool Slic3r::GUI::GLCanvas3D::handle_shortcut | ( | const KeyChord & | chord | ) |
References _update_camera_zoom(), Slic3r::GUI::AddInstance, apply_selection_move(), apply_selection_rotate(), Slic3r::GUI::Arrange, Slic3r::GUI::ArrangePlate, Slic3r::GUI::Mouse3DController::can_show_settings_dialog(), CanvasAssembleView, CanvasPreview, CanvasView3D, Slic3r::GUI::CloneSelected, Slic3r::GUI::CollapseSidebar, Slic3r::GUI::Copy, Slic3r::GUI::Cut, Slic3r::GUI::DeleteAll, Slic3r::GUI::DeleteSelected, get_gcode_viewer(), Slic3r::GUI::GCodeViewer::get_layers_slider(), Slic3r::GUI::GCodeViewer::get_moves_slider(), Slic3r::GUI::IMSlider::GetHigherValue(), Slic3r::GUI::IMSlider::GetLowerValue(), Slic3r::GUI::IMSlider::GetMaxValue(), Slic3r::GUI::IMSlider::GetMinValue(), Slic3r::GUI::IMSlider::GetSelection(), Slic3r::GUI::GoToLayer, Slic3r::GUI::IMSlider::is_dirty(), Slic3r::GUI::IMSlider::is_one_layer(), Slic3r::GUI::Mouse3DController::is_settings_dialog_shown(), Slic3r::GUI::KeyboardShortcuts, Slic3r::GUI::LayerSliderDown, Slic3r::GUI::LayerSliderUp, m_canvas_type, m_dirty, m_gcode_viewer, m_gizmos, m_key_down, m_layers_editing, M_PI, m_selection, m_selection_edit, Slic3r::GUI::Mouse3DSettings, Slic3r::GUI::GLCanvas3D::SelectionEdit::Move, Slic3r::GUI::MoveSelectionDown, Slic3r::GUI::MoveSelectionLeft, Slic3r::GUI::MoveSelectionRight, Slic3r::GUI::MoveSelectionUp, Slic3r::GUI::MovesSliderEnd, Slic3r::GUI::MovesSliderLeft, Slic3r::GUI::MovesSliderRight, Slic3r::GUI::MovesSliderStart, Slic3r::GUI::Orient, Slic3r::GUI::OrientPlate, Slic3r::GUI::Paste, Slic3r::GUI::Plater, Slic3r::GUI::plater(), post_event(), Slic3r::GUI::Preview, Slic3r::GUI::Redo, Slic3r::GUI::ReloadDevicePage, Slic3r::GUI::RemoveInstance, request_extra_frame(), Slic3r::GUI::GLCanvas3D::SelectionEdit::Rotate, Slic3r::GUI::RotateSelectionLeft, Slic3r::GUI::RotateSelectionRight, Slic3r::GUI::SelectAll, Slic3r::GUI::SelectAllPlates, Slic3r::GUI::IMSlider::set_as_dirty(), Slic3r::GUI::IMSlider::SetHigherValue(), Slic3r::GUI::IMSlider::SetLowerValue(), Slic3r::GUI::shortcut_info(), Slic3r::GUI::IMSlider::show_go_to_layer(), Slic3r::GUI::Mouse3DController::show_settings_dialog(), Slic3r::GUI::ShowWireframe, Slic3r::GUI::ssHigher, Slic3r::GUI::ssLower, Slic3r::GUI::IMSlider::switch_one_layer_mode(), Slic3r::GUI::SwitchView, Slic3r::GUI::ToggleBeltRawGcode, Slic3r::GUI::ToggleGcodeWindow, Slic3r::GUI::ToggleOneLayerMode, Slic3r::GUI::TogglePrintable, Slic3r::GUI::Undo, Slic3r::GUI::ZoomIn, and Slic3r::GUI::ZoomOut.
Referenced by on_char(), and on_key().
| void Slic3r::GUI::GLCanvas3D::handle_sidebar_focus_event | ( | const std::string & | opt_key, |
| bool | focus_on ) |
References m_dirty, and m_sidebar_field.
Referenced by handle_layers_data_focus_event().
| bool Slic3r::GUI::GLCanvas3D::has_mouse_capture | ( | ) | const |
References m_canvas.
Referenced by _render_frame(), and on_mouse().
|
inline |
References m_gcode_viewer.
| void Slic3r::GUI::GLCanvas3D::highlight_gizmo | ( | const std::string & | gizmo_name | ) |
References highlight_gizmo(), m_gizmo_highlighter, m_gizmos, and Slic3r::GUI::GLGizmosManager::Undefined.
Referenced by highlight_gizmo().
| void Slic3r::GUI::GLCanvas3D::highlight_toolbar_item | ( | const std::string & | item_name | ) |
References highlight_toolbar_item(), Slic3r::GUI::GLToolbarItem::is_visible(), m_main_toolbar, and m_toolbar_highlighter.
Referenced by highlight_toolbar_item().
| bool Slic3r::GUI::GLCanvas3D::init | ( | ) |
References _init_toolbars(), GL_BLEND, GL_CULL_FACE, GL_DEPTH_TEST, GL_LESS, GL_MULTISAMPLE, GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA, glBlendFunc, glClearColor, glClearDepth, glDepthFunc, glEnable, glsafe, Slic3r::GLVolume::load_render_colors(), Slic3r::GUI::Bed3D::load_render_colors(), load_render_colors(), Slic3r::GUI::GLGizmoBase::load_render_colors(), Slic3r::GUI::PartPlate::load_render_colors(), m_canvas, m_context, m_gizmos, m_initialized, m_labels, m_layers_editing, m_main_toolbar, m_multisample_allowed, m_selection, m_show_world_axes, m_slope, and on_change_color_mode().
Referenced by _render_frame(), and Slic3r::GUI::MainFrame::GLResourcesPrebuild::build_step().
|
inline |
References m_gcode_viewer.
|
inline |
References m_sel_plate_toolbar.
|
private |
References _is_below_plate_view_active(), CanvasPreview, CanvasView3D, is_bed_visible(), m_canvas_type, m_main_toolbar, m_render_preview, and m_show_bed.
Referenced by _render_scene(), get_camera_pan_anchor(), and is_bed_visible().
| bool Slic3r::GUI::GLCanvas3D::is_camera_pan | ( | const wxMouseEvent & | evt, |
| const std::map< MouseButton, MouseAction > & | mappings ) const |
References clicked_button_matches_action(), m_is_touchpad_navigation, Pan, and Slic3r::GUI::wxMouseEvent.
Referenced by on_mouse().
| bool Slic3r::GUI::GLCanvas3D::is_camera_rotate | ( | const wxMouseEvent & | evt, |
| const std::map< MouseButton, MouseAction > & | mappings ) const |
References clicked_button_matches_action(), m_is_touchpad_navigation, Rotation, and Slic3r::GUI::wxMouseEvent.
Referenced by on_mouse().
| bool Slic3r::GUI::GLCanvas3D::is_collapse_toolbar_on_left | ( | ) | const |
References collapse_side(), and Slic3r::GUI::Left.
Referenced by _render_imgui_select_plate_toolbar(), _render_return_toolbar(), and get_main_toolbar_offset().
|
inline |
References m_gizmos, and m_moving.
Referenced by Slic3r::GUI::GLCanvas3D::CenterOfMass::model_markers().
|
private |
References Slic3r::has_zero_flush_volume_for_used_filaments(), is_flushing_matrix_error(), and Slic3r::GUI::Sidebar::should_show_SEMM_buttons().
Referenced by is_flushing_matrix_error(), and reload_scene().
|
inlinestatic |
References s_frames_in_progress.
Referenced by Slic3r::GUI::UVEditorCanvas::on_size(), and Slic3r::GUI::UVEditorCanvas::render().
|
inline |
References m_initialized.
Referenced by _render_frame(), Slic3r::GUI::Plater::config_change_notification(), and Slic3r::GUI::Sidebar::update_mixed_filament_list().
|
inline |
References m_layers_editing.
|
inline |
References m_layers_editing.
Referenced by _is_scene_cacheable(), _render_objects(), on_mouse(), and on_mouse_wheel().
|
inline |
References m_mouse.
Referenced by Slic3r::GUI::ObjectList::OnContextMenu().
|
inline |
| bool Slic3r::GUI::GLCanvas3D::is_object_sinking | ( | int | object_idx | ) | const |
References Slic3r::GLVolume::is_below_printbed(), Slic3r::GLVolume::is_sinking(), m_volumes, and Slic3r::GLVolume::object_idx().
|
inline |
|
inline |
References m_reload_delayed.
|
inline |
References m_enable_render.
Referenced by Slic3r::GUI::Plater::config_change_notification().
|
inline |
References m_section_view.
Referenced by _render_canvas_toolbar(), _render_section_view_panel(), and toggle_section_view().
|
inline |
| void Slic3r::GUI::GLCanvas3D::load_arrange_settings | ( | ) |
References load_arrange_settings(), m_arrange_settings_fff, m_arrange_settings_fff_seq_print, m_arrange_settings_sla, and Slic3r::string_to_double_decimal_point().
Referenced by GLCanvas3D(), and load_arrange_settings().
| void Slic3r::GUI::GLCanvas3D::load_gcode_preview | ( | const GCodeProcessorResult & | gcode_result, |
| const std::vector< std::string > & | str_tool_colors, | ||
| const std::vector< std::string > & | str_color_print_colors, | ||
| bool | only_gcode ) |
References _set_shown_canvas_current(), _update_slice_error_status(), fff_print(), Slic3r::GUI::PartPlateList::get_curr_plate(), Slic3r::GUI::PartPlate::get_exclude_areas(), m_gcode_layers_times_cache, m_gcode_viewer, Slic3r::GUI::plater(), request_extra_frame(), and set_as_dirty().
| std::vector< int > Slic3r::GUI::GLCanvas3D::load_object | ( | const Model & | model, |
| int | obj_idx ) |
References load_object(), and Slic3r::Model::objects.
| std::vector< int > Slic3r::GUI::GLCanvas3D::load_object | ( | const ModelObject & | model_object, |
| int | obj_idx, | ||
| std::vector< int > | instance_idxs ) |
References Slic3r::ModelObject::instances, m_color_by, m_initialized, and m_volumes.
Referenced by load_object().
|
staticprivate |
References Slic3r::RenderColor::colors, DEFAULT_BG_LIGHT_COLOR, RenderCol_3D_Background, and Slic3r::GUI::ImGuiWrapper::to_ImVec4().
Referenced by init().
| void Slic3r::GUI::GLCanvas3D::load_shells | ( | const Print & | print, |
| bool | force_previewing = false ) |
References _set_shown_canvas_current(), m_config, m_gcode_viewer, and m_initialized.
| void Slic3r::GUI::GLCanvas3D::load_sla_preview | ( | ) |
References _load_sla_shells(), _set_current(), _set_warning_notification_if_needed(), _update_sla_shells_outside_state(), m_canvas, reset_volumes(), sla_print(), and SlaSupportsOutside.
| bool Slic3r::GUI::GLCanvas3D::make_current_for_postinit | ( | ) |
References _set_current().
Referenced by Slic3r::GUI::MainFrame::GLResourcesPrebuild::build_step().
| void Slic3r::GUI::GLCanvas3D::mirror_selection | ( | Axis | axis | ) |
References do_mirror(), L, m_selection, and Slic3r::GUI::TransformationType::set_relative().
References _mouse_to_3d().
Referenced by _mouse_to_bed_3d(), _picking_pass_imex_ghosts(), Slic3r::GUI::DesignSketchTool::arc_mouse_angle(), Slic3r::GUI::DesignSketchTool::drag_datum_handle(), Slic3r::GUI::DesignSketchTool::drag_draft_arc(), Slic3r::GUI::DesignSketchTool::drag_extrude_arrow(), Slic3r::GUI::DesignSketchTool::drag_helix_handle(), Slic3r::GUI::DesignSketchTool::drag_hole_handle(), Slic3r::GUI::DesignSketchTool::drag_pattern_handle(), Slic3r::GUI::DesignSketchTool::drag_revolve_arc(), Slic3r::GUI::DesignSketchTool::drag_rib_handle(), Slic3r::GUI::DesignSketchTool::drag_thread_handle(), Slic3r::GUI::DesignSketchTool::fillet_axis_proj(), Slic3r::GUI::DesignSketchTool::hit_test_base_pick(), Slic3r::GUI::DesignSketchTool::hit_test_cut_arrow(), Slic3r::GUI::DesignSketchTool::hit_test_datum_handle(), Slic3r::GUI::DesignSketchTool::hit_test_draft_handle(), Slic3r::GUI::DesignSketchTool::hit_test_extrude_arrow(), Slic3r::GUI::DesignSketchTool::hit_test_fillet_arrow(), Slic3r::GUI::DesignSketchTool::hit_test_helix_handle(), Slic3r::GUI::DesignSketchTool::hit_test_hole_handle(), Slic3r::GUI::DesignSketchTool::hit_test_move_arc(), Slic3r::GUI::DesignSketchTool::hit_test_move_arrow(), Slic3r::GUI::DesignSketchTool::hit_test_pattern_handle(), Slic3r::GUI::DesignSketchTool::hit_test_revolve_handle(), Slic3r::GUI::DesignSketchTool::hit_test_rib_handle(), Slic3r::GUI::DesignSketchTool::hit_test_shell_arrow(), Slic3r::GUI::DesignSketchTool::hit_test_thread_handle(), Slic3r::GUI::DesignSketchTool::hole_axis_proj(), on_mouse(), Slic3r::GUI::DesignSketchTool::on_mouse_impl(), Slic3r::GUI::DesignSketchTool::resolve_solid_pick(), Slic3r::GUI::DesignSketchTool::screen_to_plane(), Slic3r::GUI::DesignSketchTool::screen_tol(), Slic3r::GUI::DesignSketchTool::select_at_screen(), Slic3r::GUI::DesignSketchTool::start_hole_drag(), and Slic3r::GUI::DesignSketchTool::start_thread_drag().
| void Slic3r::GUI::GLCanvas3D::mouse_up_cleanup | ( | ) |
References m_camera_movement, m_canvas, m_dirty, m_mouse, m_moving, and Slic3r::GUI::plater().
Referenced by on_mouse(), and Slic3r::GUI::ObjectList::OnContextMenu().
|
inline |
References m_gcode_viewer.
Referenced by Slic3r::GUI::Preview::msw_rescale().
| void Slic3r::GUI::GLCanvas3D::on_change_color_mode | ( | bool | is_dark, |
| bool | reinit = true ) |
References _init_select_plate_toolbar(), _switch_toolbars_icon_filename(), CanvasAssembleView, CanvasView3D, collapse_toolbar(), get_gcode_viewer(), Slic3r::GUI::GCodeViewer::get_layers_slider(), Slic3r::GUI::GCodeViewer::get_moves_slider(), is_dark(), m_assemble_view_toolbar, m_bed, m_canvas_type, m_dirty, m_gcode_viewer, m_gizmos, m_is_dark, m_main_toolbar, m_separator_toolbar, Slic3r::GUI::IMSlider::on_change_color_mode(), and Slic3r::GUI::GLToolbar::set_icon_dirty().
Referenced by init().
| void Slic3r::GUI::GLCanvas3D::on_char | ( | wxKeyEvent & | evt | ) |
References _deactivate_arrange_menu(), _deactivate_orient_menu(), deselect_all(), Slic3r::GUI::KeyChord::from_event(), handle_shortcut(), m_gizmos, m_initialized, m_timer_set_color, Slic3r::GUI::GLGizmosManager::MmSegmentation, Slic3r::GUI::obj_list(), and render().
Referenced by bind_event_handlers(), Slic3r::GUI::Plater::search(), and unbind_event_handlers().
| void Slic3r::GUI::GLCanvas3D::on_fps_overlay_timer | ( | wxTimerEvent & | evt | ) |
References _set_overlay_as_dirty(), and m_fps_overlay_tick.
Referenced by GLCanvas3D().
| void Slic3r::GUI::GLCanvas3D::on_gesture | ( | wxGestureEvent & | evt | ) |
References _set_current(), apply_retina_scale(), camera, current_printer_technology(), Gesture, get_camera_orbit_target(), get_camera_pan_anchor(), m_dirty, m_gesture_pan_anchor, m_initialized, Slic3r::GUI::pan_camera(), Slic3r::GUI::Camera::Perspective, and Slic3r::ptSLA.
Referenced by bind_event_handlers(), and unbind_event_handlers().
| void Slic3r::GUI::GLCanvas3D::on_idle | ( | wxIdleEvent & | evt | ) |
References _get_effective_fps_cap(), _is_shown_on_screen(), _refresh_if_shown_on_screen(), collapse_toolbar(), count, get_camera(), Slic3r::GUI::GLTexture::Compressor::has_compressed_texture_to_refresh(), m_assemble_view_toolbar, m_benchmarking, m_dirty, m_extra_frame_requested, m_initialized, m_last_frame_start_time, m_main_toolbar, m_overlay_dirty, Slic3r::GUI::plater(), schedule_extra_frame(), and Slic3r::GUI::GLToolbar::update_items_state().
Referenced by bind_event_handlers(), and unbind_event_handlers().
| void Slic3r::GUI::GLCanvas3D::on_key | ( | wxKeyEvent & | evt | ) |
References _set_overlay_as_dirty(), _update_selection_from_hover(), apply_selection_move(), finish_selection_edit(), Slic3r::GUI::KeyChord::from_event(), handle_shortcut(), Slic3r::GUI::key_released(), Slic3r::GUI::key_repeats(), m_alt_wheel_used, m_camera_movement, m_canvas, m_dirty, m_gizmos, m_is_touchpad_navigation, m_key_down, m_mouse, m_picking_enabled, m_rectangle_selection, m_section_view, m_selection_edit, Slic3r::GUI::mac_ime_owns_key(), Slic3r::GUI::GLCanvas3D::SelectionEdit::Move, Slic3r::GUI::GLCanvas3D::SelectionEdit::None, and render().
Referenced by bind_event_handlers(), release_held_modifiers(), and unbind_event_handlers().
| void Slic3r::GUI::GLCanvas3D::on_mouse | ( | wxMouseEvent & | evt | ) |
References _deactivate_arrange_menu(), _deactivate_layersediting_menu(), _deactivate_orient_menu(), _mouse_to_3d(), _perform_layer_editing_action(), _refresh_if_shown_on_screen(), _render_frame(), _set_current(), _set_overlay_as_dirty(), _stop_timer(), _update_selection_from_hover(), Slic3r::Linef3::a, Slic3r::ByObject, camera, can_sequential_clearance_show_in_gizmo(), CanvasAssembleView, CanvasView3D, collapse_toolbar(), Slic3r::BoundingBox3Base< PointType >::contains(), current_printer_technology(), Slic3r::GUI::GLGizmosManager::Cut, Slic3r::GUI::GLSelectionRectangle::Deselect, deselect_all(), do_move(), Slic3r::dot(), Slic3r::GUI::GLCanvas3D::LayersEditing::Editing, Slic3r::GUI::GLGizmosManager::Emboss, Slic3r::ModelVolume::emboss_shape, EPSILON, Slic3r::GUI::GLGizmosManager::FdmSupports, fff_print(), Slic3r::GUI::GLGizmosManager::FuzzySkin, get_camera_orbit_target(), get_camera_pan_anchor(), get_canvas_size(), get_first_hover_volume_idx(), has_mouse_capture(), Slic3r::GLVolume::HS_None, Slic3r::GUI::Selection::Instance, Slic3r::Linef3::intersect_plane(), is_camera_pan(), is_camera_rotate(), is_layers_editing_enabled(), L, Left, m_assemble_view_toolbar, m_camera_movement, m_canvas, m_canvas_type, m_center_of_mass, m_dirty, m_gizmos, m_hover_ghost_head, m_hover_plate_idxs, m_hover_volume_idxs, m_initialized, m_layers_editing, m_main_toolbar, m_model, m_mouse, m_moving, m_moving_enabled, m_navigator_dragging, m_picking_enabled, m_rectangle_selection, m_rotation_center, m_selection, m_sequential_print_clearance_first_displacement, m_tooltip, m_tooltip_enabled, m_volumes, Slic3r::GUI::GLGizmosManager::MeshBoolean, Middle, Slic3r::GUI::GLGizmosManager::MmSegmentation, Mouse, mouse_ray(), mouse_up_cleanup(), Slic3r::GUI::GLGizmosManager::Move, Slic3r::GLVolume::object_idx(), Slic3r::BoundingBox3Base< PointType >::offset(), Slic3r::GUI::GLGizmoBase::On, on_mouse(), Slic3r::GUI::pan_camera(), Slic3r::GUI::Camera::Perspective, PI, Slic3r::GUI::plater(), post_event(), Slic3r::print_sequence(), Slic3r::ptFFF, Slic3r::ptSLA, render(), Right, Slic3r::GUI::GLGizmosManager::Rotate, Rotation, Slic3r::GUI::GLGizmosManager::Scale, scale(), Slic3r::GUI::GLGizmosManager::Seam, Slic3r::GUI::GLSelectionRectangle::Select, Slic3r::GUI::TransformationType::set_relative(), Slic3r::GUI::GLGizmosManager::Svg, Slic3r::ModelVolume::text_configuration, TRACKBALLSIZE, Slic3r::GUI::GLGizmosManager::Undefined, Slic3r::Linef3::unit_vector(), Slic3r::GUI::GLCanvas3D::LayersEditing::Unknown, update_compacted_wipe_tower_clearance(), Slic3r::GUI::ImGuiWrapper::update_mouse_data(), update_sequential_clearance(), Slic3r::GUI::Selection::Volume, Slic3r::GLVolume::volume_idx(), Slic3r::ModelObject::volumes, and Slic3r::GUI::wxMouseEvent.
Referenced by bind_event_handlers(), Slic3r::GUI::anonymous_namespace{Plater.cpp}::emboss_svg(), on_mouse(), and unbind_event_handlers().
| void Slic3r::GUI::GLCanvas3D::on_mouse_wheel | ( | wxMouseEvent & | evt | ) |
References _mouse_to_3d(), _update_camera_zoom(), CanvasAssembleView, CanvasPreview, Slic3r::GLVolume::explosion_ratio, get_canvas_size(), get_gcode_viewer(), Slic3r::GUI::GCodeViewer::get_layers_slider(), Slic3r::GUI::GCodeViewer::get_moves_slider(), get_section_view_ratio(), is_layers_editing_enabled(), m_alt_wheel_used, m_canvas, m_canvas_type, m_dirty, m_explosion_ratio, m_gizmos, m_initialized, m_layers_editing, m_selection, m_volumes, Slic3r::GUI::IMSlider::on_mouse_wheel(), Slic3r::GUI::plater(), Slic3r::GUI::process_mouse_wheel(), render(), scale(), Slic3r::GLVolume::set_bounding_boxes_as_dirty(), set_section_view_ratio(), and Slic3r::GUI::wxMouseEvent.
Referenced by bind_event_handlers(), and unbind_event_handlers().
| void Slic3r::GUI::GLCanvas3D::on_paint | ( | wxPaintEvent & | evt | ) |
References _refresh_if_shown_on_screen(), m_dirty, m_initialized, m_presented_signature, and render().
Referenced by bind_event_handlers(), and unbind_event_handlers().
| void Slic3r::GUI::GLCanvas3D::on_render_timer | ( | wxTimerEvent & | evt | ) |
Referenced by bind_event_handlers(), and unbind_event_handlers().
| void Slic3r::GUI::GLCanvas3D::on_set_color_timer | ( | wxTimerEvent & | evt | ) |
References m_gizmos, m_timer_set_color, Slic3r::GUI::GLGizmosManager::MmSegmentation, and Slic3r::GUI::obj_list().
Referenced by GLCanvas3D().
| void Slic3r::GUI::GLCanvas3D::on_set_focus | ( | wxFocusEvent & | evt | ) |
References _refresh_if_shown_on_screen(), m_canvas, m_is_touchpad_navigation, and m_tooltip_enabled.
Referenced by bind_event_handlers(), and unbind_event_handlers().
|
inline |
References m_dirty.
Referenced by bind_event_handlers(), and unbind_event_handlers().
| void Slic3r::GUI::GLCanvas3D::on_timer | ( | wxTimerEvent & | evt | ) |
References _perform_layer_editing_action(), Slic3r::GUI::GLCanvas3D::LayersEditing::Editing, and m_layers_editing.
Referenced by bind_event_handlers(), and unbind_event_handlers().
| BoundingBoxf3 Slic3r::GUI::GLCanvas3D::plate_scene_bounding_box | ( | int | plate_idx | ) | const |
References Slic3r::GUI::PartPlate::get_bounding_box(), m_config, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::max, and Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::min.
| void Slic3r::GUI::GLCanvas3D::plates_count_changed | ( | ) |
| void Slic3r::GUI::GLCanvas3D::post_event | ( | wxEvent && | event | ) |
References m_canvas.
Referenced by _render_frame(), _render_gcode_overlay(), _update_selection_from_hover(), Slic3r::GUI::GLCanvas3D::LayersEditing::accept_changes(), Slic3r::GUI::GLCanvas3D::LayersEditing::adaptive_layer_height_profile(), Slic3r::GUI::ObjectList::del_info_item(), deselect_all(), do_mirror(), do_move(), do_rotate(), do_scale(), finish_selection_edit(), handle_shortcut(), on_mouse(), reload_scene(), Slic3r::GUI::GLCanvas3D::LayersEditing::reset_layer_height_profile(), and Slic3r::GUI::GLCanvas3D::LayersEditing::smooth_layer_height_profile().
| void Slic3r::GUI::GLCanvas3D::refresh_camera_scene_box | ( | ) |
References scene_bounding_box().
Referenced by bed_shape_changed(), finish_selection_edit(), plates_count_changed(), and reload_scene().
| void Slic3r::GUI::GLCanvas3D::release_held_modifiers | ( | ) |
References on_key(), and Slic3r::GUI::s_keys_down.
Referenced by bind_event_handlers().
| void Slic3r::GUI::GLCanvas3D::reload_scene | ( | bool | refresh_immediately, |
| bool | force_full_scene_refresh = false ) |
print->is_step_done(psWipeTower)
print->is_step_done(psWipeTower)
References _set_current(), _set_warning_notification(), _u8L, _update_slice_error_status(), Slic3r::ColorRGBA::a(), add_raycaster_for_picking(), Slic3r::GUI::SceneRaycaster::Bed, Slic3r::WipeTowerFootprint::brim_width, Slic3r::ByDefault, Slic3r::ByObject, CanvasAssembleView, CanvasView3D, Slic3r::GUI::PartPlate::check_compatible_of_nozzle_and_filament(), Slic3r::GUI::PartPlate::check_filament_printable(), Slic3r::GUI::PartPlate::check_mixture_filament_compatible(), Slic3r::GUI::PartPlate::check_mixture_of_pla_and_petg(), Slic3r::check_model_ids_equal(), Slic3r::GUI::PartPlate::check_single_extruder_mixed_filament_risk(), Slic3r::GUI::PartPlate::check_tpu_printable_status(), Slic3r::GLVolume::color, Slic3r::color_from_model_volume(), Slic3r::GLVolume::composite_id, Slic3r::GUI::construct_error_string(), Slic3r::GUI::construct_extruder_unprintable_error(), Slic3r::GLVolume::convex_hull(), current_printer_technology(), Slic3r::GUI::CustomNotification, Slic3r::WipeTowerFootprint::depth, Slic3r::PrintStateBase::DONE, Slic3r::empty(), Slic3r::TriangleMesh::empty(), EPSILON, Slic3r::GUI::PartPlate::estimate_wipe_tower_footprint(), Slic3r::GUI::PartPlate::estimate_wipe_tower_polygon(), Slic3r::GLVolume::extruder_id, Slic3r::GUI::SceneRaycaster::FallbackGizmo, Slic3r::GUI::PartPlate::fff_print(), Slic3r::GUI::filament_printable_error_msg, FilamentPrintableError, Slic3r::ObjectFilamentResults::filaments, Slic3r::GUI::filaments_count(), FlushingVolumeZero, Slic3r::GUI::format(), Slic3r::GLVolume::geometry_id, Slic3r::GUI::PartPlateList::get_curr_plate(), Slic3r::GUI::PartPlate::get_extruders(), Slic3r::GUI::get_filament_mixture_warning_text(), Slic3r::GUI::get_left_extruder_unprintable_text(), Slic3r::GUI::get_nozzle_filament_incompatible_text(), Slic3r::GUI::get_object_clashed_text(), Slic3r::GUI::PartPlate::get_objects_on_this_plate(), Slic3r::GUI::PartPlate::get_origin(), Slic3r::GUI::PartPlateList::get_plate(), Slic3r::GUI::PartPlateList::get_plate_count(), Slic3r::GUI::PartPlate::get_print_seq(), Slic3r::GUI::get_right_extruder_unprintable_text(), Slic3r::GUI::get_single_extruder_mixed_filament_warning_text(), Slic3r::GUI::SceneRaycaster::Gizmo, Slic3r::ConfigOptionEnum< T >::has(), Slic3r::WipeTowerFootprint::height, Slic3r::ObjectBase::id(), Slic3r::ObjectID::id, Slic3r::GUI::GLModel::init_from(), Slic3r::GUI::Selection::Instance, Slic3r::SLAPrintObject::Instance::instance_id, Slic3r::GLVolume::instance_idx(), Slic3r::ModelObject::instances, Slic3r::PrintStateBase::INVALID, is_flushing_matrix_error(), Slic3r::ModelVolume::is_model_part(), Slic3r::Print::is_step_done(), LeftExtruderPrintableError, m_bed, m_canvas, m_canvas_type, m_color_by, m_config, m_dirty, m_gizmos, m_hover_volume_idxs, m_initialized, m_model, m_reload_delayed, m_scene_raycaster, m_selection, m_volumes, Slic3r::GLVolume::mesh_raycaster, MixtureFilamentIncompatible, MixUsePLAAndPETG, Slic3r::GLVolume::model, Slic3r::ModelInstancePVS_Fully_Outside, Slic3r::ModelInstancePVS_Partly_Outside, Slic3r::GUI::WipeTowerRelocation::moved, MultiExtruderHeightOutside, MultiExtruderPrintableError, Slic3r::sla::NoPoints, NozzleFilamentIncompatible, Slic3r::GLVolume::CompositeID::object_id, Slic3r::GLVolume::object_idx(), ObjectClashed, ObjectOutside, Slic3r::GLVolume::offsets, Slic3r::ConfigBase::option(), Slic3r::GUI::WipeTowerRelocation::overlaps_objects, Slic3r::GUI::plater(), post_event(), PrimeTowerOutside, Slic3r::GUI::PartPlate::printable_instance_size(), Slic3r::GUI::printer_technology(), Slic3r::psWipeTower, Slic3r::ptFFF, Slic3r::ptSLA, refresh_camera_scene_box(), Slic3r::GUI::GLGizmoBase::register_raycasters_for_picking(), Slic3r::GUI::NotificationManager::RegularNotificationLevel, Slic3r::GUI::GLModel::reset(), RightExtruderPrintableError, set_as_dirty(), Slic3r::GLVolume::set_color(), Slic3r::GLVolume::set_convex_hull(), Slic3r::GLVolume::set_instance_transformation(), Slic3r::GLVolume::set_offset_to_assembly(), Slic3r::GLVolume::set_sla_shift_z(), Slic3r::GLVolume::set_volume_transformation(), SingleExtruderMixedFilament, Slic3r::ModelObject::sla_points_status, sla_print(), Slic3r::slaposDrillHoles, Slic3r::slaposPad, Slic3r::slaposSupportTree, Slic3r::sort_remove_duplicates(), Slic3r::tlSmooth, TPUPrintableError, Slic3r::TriangleMesh::transform(), Slic3r::GUI::GLGizmoBase::unregister_raycasters_for_picking(), Slic3r::ModelVolume::update_extruder_count(), Slic3r::GUI::PartPlate::update_slice_ready_status(), update_volumes_colors_by_extruder(), Slic3r::ConfigOptionSingle< T >::value, Slic3r::ConfigOptionVector< T >::values, Slic3r::GUI::SceneRaycaster::Volume, Slic3r::GLVolume::volume_idx(), Slic3r::ModelObject::volumes, Slic3r::GUI::NotificationManager::WarningNotificationLevel, Slic3r::WipeTowerFootprint::width, Slic3r::Print::wipe_tower_data(), Slic3r::WipeTowerData::wipe_tower_mesh_data, and Slic3r::GLVolume::world_matrix().
Referenced by _render_frame(), anonymous_namespace{EmbossJob.cpp}::CreateObjectJob::finalize(), Slic3r::GUI::ObjectList::list_manipulation(), and Slic3r::GUI::ObjectList::OnEditingStarted().
| void Slic3r::GUI::GLCanvas3D::remove_curr_plate_all | ( | ) |
References m_dirty, and m_selection.
|
inline |
References m_scene_raycaster.
|
inline |
References m_scene_raycaster.
Referenced by Slic3r::GUI::PartPlate::register_raycasters_for_picking().
| void Slic3r::GUI::GLCanvas3D::render | ( | bool | only_init = false | ) |
References _render_frame(), and m_presented_signature.
Referenced by bind_event_handlers(), Slic3r::GUI::GLToolbar::do_action(), on_char(), on_key(), on_mouse(), on_mouse_wheel(), and on_paint().
| void Slic3r::GUI::GLCanvas3D::render_thumbnail | ( | ThumbnailData & | thumbnail_data, |
| std::vector< ColorRGBA > & | extruder_colors, | ||
| unsigned int | w, | ||
| unsigned int | h, | ||
| const ThumbnailsParams & | thumbnail_params, | ||
| ModelObjectPtrs & | model_objects, | ||
| const GLVolumeCollection & | volumes, | ||
| Camera::EType | camera_type, | ||
| Camera::ViewAngleType | camera_view_angle_type = Camera::ViewAngleType::Iso, | ||
| bool | for_picking = false, | ||
| bool | ban_light = false ) |
References _set_shown_canvas_current(), Slic3r::GUI::OpenGLManager::Arb, Slic3r::GUI::OpenGLManager::Ext, Slic3r::GUI::OpenGLManager::get_framebuffers_type(), Slic3r::GUI::plater(), render_thumbnail_framebuffer(), render_thumbnail_framebuffer_ext(), and render_thumbnail_legacy().
| void Slic3r::GUI::GLCanvas3D::render_thumbnail | ( | ThumbnailData & | thumbnail_data, |
| unsigned int | w, | ||
| unsigned int | h, | ||
| const ThumbnailsParams & | thumbnail_params, | ||
| Camera::EType | camera_type, | ||
| Camera::ViewAngleType | camera_view_angle_type = Camera::ViewAngleType::Iso, | ||
| bool | for_picking = false, | ||
| bool | ban_light = false ) |
References m_volumes, and render_thumbnail().
Referenced by render_thumbnail(), Slic3r::GUI::Plater::update_obj_preview_thumbnail(), and Slic3r::GUI::Plater::update_plate_thumbnails().
| void Slic3r::GUI::GLCanvas3D::render_thumbnail | ( | ThumbnailData & | thumbnail_data, |
| unsigned int | w, | ||
| unsigned int | h, | ||
| const ThumbnailsParams & | thumbnail_params, | ||
| ModelObjectPtrs & | model_objects, | ||
| const GLVolumeCollection & | volumes, | ||
| Camera::EType | camera_type, | ||
| Camera::ViewAngleType | camera_view_angle_type = Camera::ViewAngleType::Iso, | ||
| bool | for_picking = false, | ||
| bool | ban_light = false ) |
References _set_shown_canvas_current(), Slic3r::GUI::OpenGLManager::Arb, Slic3r::GUI::OpenGLManager::Ext, Slic3r::GUI::OpenGLManager::get_framebuffers_type(), Slic3r::GUI::plater(), render_thumbnail_framebuffer(), render_thumbnail_framebuffer_ext(), and render_thumbnail_legacy().
|
static |
References Slic3r::GUI::OpenGLManager::can_multisample(), GL_COLOR_ATTACHMENT0, GL_COLOR_BUFFER_BIT, GL_DEPTH_ATTACHMENT, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT24, GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER, GL_FRAMEBUFFER_COMPLETE, GL_LINEAR, GL_MAX_SAMPLES, GL_READ_FRAMEBUFFER, GL_RENDERBUFFER, GL_RGBA, GL_RGBA8, GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_UNSIGNED_BYTE, glBindFramebuffer, glBindRenderbuffer, glBindTexture, glBlitFramebuffer, glCheckFramebufferStatus, glDeleteFramebuffers, glDeleteRenderbuffers, glDeleteTextures, glDrawBuffers, glFramebufferRenderbuffer, glFramebufferTexture2D, glGenFramebuffers, glGenRenderbuffers, glGenTextures, glGetIntegerv, glReadPixels, glRenderbufferStorage, glRenderbufferStorageMultisample, glsafe, glTexImage2D, glTexParameteri, Slic3r::ThumbnailData::is_valid(), Slic3r::ThumbnailData::pixels, render_thumbnail_internal(), and Slic3r::ThumbnailData::set().
Referenced by Slic3r::GUI::CalibUtils::process_and_store_3mf(), render_thumbnail(), render_thumbnail(), and Slic3r::CLI::run().
|
static |
References Slic3r::GUI::OpenGLManager::can_multisample(), GL_COLOR_ATTACHMENT0_EXT, GL_COLOR_BUFFER_BIT, GL_DEPTH_ATTACHMENT_EXT, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT24, GL_DRAW_FRAMEBUFFER_EXT, GL_FRAMEBUFFER_COMPLETE_EXT, GL_FRAMEBUFFER_EXT, GL_LINEAR, GL_MAX_SAMPLES_EXT, GL_READ_FRAMEBUFFER_EXT, GL_RENDERBUFFER_EXT, GL_RGBA, GL_RGBA8, GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_UNSIGNED_BYTE, glBindFramebufferEXT, glBindRenderbufferEXT, glBindTexture, glBlitFramebufferEXT, glCheckFramebufferStatusEXT, glDeleteFramebuffersEXT, glDeleteRenderbuffersEXT, glDeleteTextures, glDrawBuffers, glFramebufferRenderbufferEXT, glFramebufferTexture2DEXT, glGenFramebuffersEXT, glGenRenderbuffersEXT, glGenTextures, glGetIntegerv, glReadPixels, glRenderbufferStorageEXT, glRenderbufferStorageMultisampleEXT, glsafe, glTexImage2D, glTexParameteri, Slic3r::ThumbnailData::is_valid(), Slic3r::ThumbnailData::pixels, render_thumbnail_internal(), and Slic3r::ThumbnailData::set().
Referenced by Slic3r::GUI::CalibUtils::process_and_store_3mf(), render_thumbnail(), render_thumbnail(), and Slic3r::CLI::run().
|
static |
References adjust_color_for_rendering(), camera, Slic3r::center(), Slic3r::GLVolume::composite_id, Slic3r::BoundingBox3Base< PointType >::contains(), Slic3r::GUI::PartPlate::get_build_volume(), Slic3r::GUI::PartPlateList::get_plate(), GL_BLEND, GL_COLOR_BUFFER_BIT, GL_CULL_FACE, GL_DEPTH_BUFFER_BIT, GL_DEPTH_TEST, glClear, glClearColor, glDisable, glEnable, glsafe, Slic3r::ThumbnailData::height, INV_255, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::max, Slic3r::BoundingBox3Base< PointType >::merge(), Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::min, Slic3r::GUI::orange, Slic3r::ThumbnailsParams::parts_only, Slic3r::ThumbnailsParams::plate_id, Slic3r::GUI::plater(), Slic3r::BuildVolume::SceneEpsilon, Slic3r::GLShaderProgram::set_uniform(), Slic3r::GLShaderProgram::start_using(), Slic3r::GLShaderProgram::stop_using(), Slic3r::GUI::Camera::Top_Plate, Slic3r::ThumbnailsParams::use_plate_box, Slic3r::GLVolume::CompositeID::volume_id, Slic3r::GLVolumeCollection::volumes, and Slic3r::ThumbnailData::width.
Referenced by render_thumbnail_framebuffer(), render_thumbnail_framebuffer_ext(), and render_thumbnail_legacy().
|
static |
References GL_RGBA, GL_UNSIGNED_BYTE, glReadPixels, glsafe, Slic3r::ThumbnailData::is_valid(), Slic3r::ThumbnailData::pixels, render_thumbnail_internal(), and Slic3r::ThumbnailData::set().
Referenced by Slic3r::GUI::CalibUtils::process_and_store_3mf(), render_thumbnail(), and render_thumbnail().
|
inline |
References m_extra_frame_requested.
Referenced by _on_section_view_changed(), _render_3d_navigator(), _resize(), handle_shortcut(), load_gcode_preview(), Slic3r::GUI::Plater::on_config_change(), Slic3r::GUI::GLCanvas3D::Tooltip::render(), Slic3r::GUI::Mouse3DController::render_settings_dialog(), Slic3r::GUI::GLCanvas3D::LayersEditing::render_variable_layer_height_dialog(), and Slic3r::GUI::GizmoObjectManipulation::set_coordinates_type().
|
inline |
References m_requires_check_outside_state.
Referenced by Slic3r::GUI::Plater::changed_object(), and Slic3r::GUI::Plater::on_config_change().
|
inline |
|
inline |
References m_sla_caps.
|
inline |
References m_explosion_ratio.
|
inline |
References m_gcode_layers_times_cache.
|
inline |
References _set_shown_canvas_current(), and m_gcode_viewer.
| void Slic3r::GUI::GLCanvas3D::reset_layer_height_profile | ( | ) |
References Slic3r::GUI::GLCanvas3D::LayersEditing::Completed, m_dirty, and m_layers_editing.
|
inline |
References m_old_size.
| void Slic3r::GUI::GLCanvas3D::reset_select_plate_toolbar_selection | ( | ) |
References Slic3r::GUI::MainFrame::eEventSliceUpdate, and m_sel_plate_toolbar.
|
inline |
References m_sequential_print_clearance.
Referenced by do_move(), and update_compacted_wipe_tower_clearance().
|
inline |
References m_gcode_viewer.
| void Slic3r::GUI::GLCanvas3D::reset_volumes | ( | ) |
References _set_current(), _set_warning_notification(), m_dirty, m_initialized, m_section_view_caps, m_selection, m_volumes, and ObjectOutside.
Referenced by ~GLCanvas3D(), and load_sla_preview().
| BoundingBoxf3 Slic3r::GUI::GLCanvas3D::scene_bounding_box | ( | ) | const |
References CanvasView3D, Slic3r::GUI::PartPlateList::get_bounding_box(), m_bed, m_canvas_type, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::max, Slic3r::BoundingBox3Base< PointType >::merge(), Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::min, and volumes_bounding_box().
Referenced by refresh_camera_scene_box().
| void Slic3r::GUI::GLCanvas3D::schedule_extra_frame | ( | int | milliseconds | ) |
References m_dirty, m_in_render, and m_render_timer.
Referenced by on_idle(), Slic3r::GUI::NotificationManager::push_notification_data(), and Slic3r::GUI::NotificationManager::update_notifications().
| void Slic3r::GUI::GLCanvas3D::select_all | ( | ) |
References m_dirty, m_gizmos, and m_selection.
| void Slic3r::GUI::GLCanvas3D::select_curr_plate_all | ( | ) |
References m_dirty, and m_selection.
| void Slic3r::GUI::GLCanvas3D::select_object_from_idx | ( | std::vector< int > & | object_idxs | ) |
References m_dirty, and m_selection.
| void Slic3r::GUI::GLCanvas3D::select_plate | ( | ) |
| void Slic3r::GUI::GLCanvas3D::select_view | ( | const std::string & | direction | ) |
References m_canvas.
Referenced by _render_canvas_toolbar().
|
inline |
References m_dirty.
Referenced by _on_section_view_changed(), anonymous_namespace{SurfaceDrag.cpp}::dragging(), enable_layers_editing(), load_gcode_preview(), Slic3r::GUI::GLToolbar::on_mouse(), Slic3r::GUI::DesignSketchTool::on_mouse_impl(), reload_scene(), Slic3r::GUI::Mouse3DController::render_settings_dialog(), Slic3r::GUI::GLCanvas3D::LayersEditing::render_variable_layer_height_dialog(), Slic3r::GUI::GizmoObjectManipulation::set_coordinates_type(), Slic3r::GUI::CommonGizmosDataObjects::ObjectClipper::set_position_by_ratio(), Slic3r::GUI::CommonGizmosDataObjects::ObjectClipper::set_position_to_init_layer(), Slic3r::GUI::CommonGizmosDataObjects::ObjectClipper::set_range_and_pos(), toggle_world_axes_visibility(), update_gizmos_on_off_state(), Slic3r::GUI::GLToolbar::update_hover_state_horizontal(), and Slic3r::GUI::GLToolbar::update_hover_state_vertical().
|
inline |
References m_benchmarking.
Referenced by Slic3r::GUI::anonymous_namespace{SceneBenchmark.cpp}::SceneBenchmarkDialog::begin_scene().
|
inline |
References m_clipping_planes, and m_sla_caps.
Referenced by Slic3r::GUI::CommonGizmosDataObjects::InstancesHider::on_update().
| void Slic3r::GUI::GLCanvas3D::set_collapse_toolbar | ( | GLToolbar * | toolbar, |
| std::function< CollapseSide()> | side ) |
References m_collapse_side, and m_collapse_toolbar.
| void Slic3r::GUI::GLCanvas3D::set_color_by | ( | const std::string & | value | ) |
References m_color_by.
|
inline |
|
inline |
| void Slic3r::GUI::GLCanvas3D::set_config | ( | const DynamicPrintConfig * | config | ) |
References fff_print(), m_config, and m_layers_editing.
Referenced by Slic3r::GUI::Plater::priv::schedule_background_process().
|
inline |
| void Slic3r::GUI::GLCanvas3D::set_cursor | ( | ECursorType | type | ) |
References Cross, m_canvas, m_cursor_type, and Standard.
|
inline |
References m_design_canvas.
|
inline |
References m_gcode_viewer.
| void Slic3r::GUI::GLCanvas3D::set_imgui_scaling | ( | ) |
References m_canvas.
Referenced by _resize(), and Slic3r::GUI::MainFrame::GLResourcesPrebuild::build_step().
| void Slic3r::GUI::GLCanvas3D::set_model | ( | Model * | model | ) |
References m_model, and m_selection.
|
inline |
|
inline |
References m_popup_menu_positon.
Referenced by Slic3r::GUI::Plater::priv::show_right_click_menu().
|
inline |
References m_process.
|
inline |
References m_scene_raycaster.
| void Slic3r::GUI::GLCanvas3D::set_section_view_ratio | ( | double | ratio | ) |
References _on_section_view_changed(), align_section_view_to_camera(), and m_section_view.
Referenced by _render_canvas_toolbar(), _render_section_view_panel(), on_mouse_wheel(), and toggle_section_view().
|
inline |
References m_selected_extruder.
| void Slic3r::GUI::GLCanvas3D::set_selected_visible | ( | bool | visible | ) |
References Slic3r::ColorRGBA::a(), Slic3r::GLVolume::color, m_selection, Slic3r::GLVolume::MODEL_HIDDEN_COL, and Slic3r::GLVolume::render_color.
|
inline |
References m_sequential_print_clearance.
Referenced by update_compacted_wipe_tower_clearance(), and update_sequential_clearance().
|
inline |
References m_sequential_print_clearance.
Referenced by update_compacted_wipe_tower_clearance(), and update_sequential_clearance().
|
inline |
References m_sequential_print_clearance.
Referenced by update_compacted_wipe_tower_clearance(), and update_sequential_clearance().
| void Slic3r::GUI::GLCanvas3D::set_shell_transparence | ( | float | alpha = 0.2f | ) |
References m_gcode_viewer.
|
inline |
References m_gcode_viewer.
|
inline |
References m_show_bed.
|
inline |
|
inline |
References m_studio_lighting.
| void Slic3r::GUI::GLCanvas3D::set_tooltip | ( | const std::string & | tooltip | ) |
References m_canvas, and m_tooltip.
Referenced by _render_frame().
|
inline |
References m_canvas_type.
|
inline |
References m_use_clipping_planes.
Referenced by Slic3r::GUI::CommonGizmosDataObjects::InstancesHider::on_release(), and Slic3r::GUI::CommonGizmosDataObjects::InstancesHider::on_update().
|
inline |
|
inline |
References m_volumes, and Slic3r::range().
Referenced by _render_gcode_overlay().
|
inline |
References GLCanvas3D(), and m_section_view.
|
inline |
|
inline |
| const SLAPrint * Slic3r::GUI::GLCanvas3D::sla_print | ( | ) | const |
References m_process, and sla_print().
Referenced by _load_sla_shells(), _render_sla_slices(), load_sla_preview(), reload_scene(), and sla_print().
| void Slic3r::GUI::GLCanvas3D::smooth_layer_height_profile | ( | const HeightProfileSmoothingParams & | smoothing_params | ) |
References Slic3r::GUI::GLCanvas3D::LayersEditing::Completed, m_dirty, and m_layers_editing.
|
inlinestatic |
Referenced by Slic3r::GUI::NotificationManager::HintNotification::init(), Slic3r::GUI::NotificationManager::PopNotification::init(), Slic3r::GUI::NotificationManager::render_notifications(), Slic3r::GUI::NotificationManager::PopNotification::reset_timer(), Slic3r::GUI::NotificationManager::URLDownloadNotification::set_percentage(), Slic3r::GUI::NotificationManager::SlicingProgressNotification::set_progress_state(), Slic3r::GUI::NotificationManager::update_notifications(), and Slic3r::GUI::NotificationManager::PopNotification::update_state().
| void Slic3r::GUI::GLCanvas3D::toggle_model_objects_visibility | ( | bool | visible, |
| const ModelObject * | mo = nullptr, | ||
| int | instance_idx = -1, | ||
| const ModelVolume * | mv = nullptr ) |
References _set_warning_notification(), Slic3r::ColorRGBA::a(), Slic3r::GUI::GLGizmosManager::BrimEars, Slic3r::GLVolume::color, Slic3r::GLVolume::composite_id, Slic3r::GUI::GLGizmosManager::Cut, Slic3r::GUI::GLGizmosManager::FdmSupports, Slic3r::GUI::GLGizmosManager::FuzzySkin, Slic3r::GUI::GLGizmosManager::get_current_type(), get_gizmos_manager(), get_raycasters_for_picking(), Slic3r::GLVolume::CompositeID::instance_id, m_model, m_volumes, Slic3r::GUI::GLGizmosManager::MmSegmentation, Slic3r::GLVolume::CompositeID::object_id, Slic3r::GUI::plater(), Slic3r::GUI::GLGizmosManager::Seam, SomethingNotShown, toggle_sla_auxiliaries_visibility(), Slic3r::GUI::SceneRaycaster::Volume, and Slic3r::GLVolume::CompositeID::volume_id.
Referenced by Slic3r::GUI::CommonGizmosDataObjects::InstancesHider::on_release(), and Slic3r::GUI::CommonGizmosDataObjects::InstancesHider::on_update().
| void Slic3r::GUI::GLCanvas3D::toggle_section_view | ( | ) |
References is_section_view_active(), m_section_view, and set_section_view_ratio().
Referenced by _render_canvas_toolbar().
| void Slic3r::GUI::GLCanvas3D::toggle_selected_volume_visibility | ( | bool | selected_visible | ) |
References Slic3r::GLVolume::composite_id, m_render_sla_auxiliaries, m_selection, m_volumes, Slic3r::GLVolume::CompositeID::object_id, Slic3r::GUI::plater(), and Slic3r::GLVolume::CompositeID::volume_id.
| void Slic3r::GUI::GLCanvas3D::toggle_sla_auxiliaries_visibility | ( | bool | visible, |
| const ModelObject * | mo = nullptr, | ||
| int | instance_idx = -1 ) |
References Slic3r::GLVolume::composite_id, current_printer_technology(), get_raycasters_for_picking(), Slic3r::GLVolume::CompositeID::instance_id, m_model, m_render_sla_auxiliaries, m_volumes, Slic3r::GLVolume::CompositeID::object_id, Slic3r::GUI::plater(), Slic3r::ptSLA, Slic3r::GUI::SceneRaycaster::Volume, and Slic3r::GLVolume::CompositeID::volume_id.
Referenced by Slic3r::GUI::CommonGizmosDataObjects::InstancesHider::on_update(), and toggle_model_objects_visibility().
| void Slic3r::GUI::GLCanvas3D::toggle_world_axes_visibility | ( | bool | force_show = false | ) |
References m_show_world_axes, and set_as_dirty().
Referenced by _render_canvas_toolbar().
| void Slic3r::GUI::GLCanvas3D::unbind_event_handlers | ( | ) |
References Slic3r::GUI::initGestures(), m_canvas, m_event_handlers_bound, on_char(), on_gesture(), on_idle(), on_key(), on_mouse(), on_mouse_wheel(), on_paint(), on_render_timer(), on_set_focus(), on_size(), and on_timer().
| void Slic3r::GUI::GLCanvas3D::update_compacted_wipe_tower_clearance | ( | ) |
References Slic3r::CompactedTowerClearance::allowed_rise, Slic3r::append(), Slic3r::CompactedTowerClearance::body_clearance, Slic3r::MultiPoint::bounding_box(), Slic3r::WipeTowerData::brim_width, Slic3r::ByLayer, Slic3r::compacted_tower_body_tier(), Slic3r::compacted_tower_footprint_padding(), Slic3r::compacted_wipe_tower_clearance(), Slic3r::compacted_wipe_tower_offender_outline(), Slic3r::compacted_wipe_tower_rings(), Slic3r::compacted_wipe_tower_zone(), Slic3r::Print::config(), Slic3r::ModelObject::convex_hull_2d(), current_printer_technology(), Slic3r::CompactedTowerZone::empty(), EPSILON, Slic3r::Print::extruders(), fff_print(), Slic3r::GUI::PartPlate::get_bounding_box_crd(), Slic3r::GUI::PartPlateList::get_curr_plate(), Slic3r::GUI::PartPlateList::get_curr_plate_index(), Slic3r::ModelObject::get_instance_max_z(), Slic3r::Geometry::Transformation::get_matrix(), Slic3r::Geometry::Transformation::get_offset(), Slic3r::Print::has_wipe_tower(), Slic3r::ModelObject::instances, Slic3r::Print::is_step_done(), m_model, m_volumes, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::max, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::min, Slic3r::GLVolume::object_idx(), Slic3r::offset(), Slic3r::BoundingBoxBase< PointType, APointsType >::overlap(), Slic3r::MultiPoint::points, Slic3r::psWipeTower, Slic3r::ptFFF, reset_sequential_print_clearance(), scale_, Slic3r::Geometry::Transformation::set_offset(), set_sequential_print_clearance_polygons(), set_sequential_print_clearance_render_fill(), set_sequential_print_clearance_visible(), Slic3r::GLVolume::transformed_convex_hull_bounding_box(), Slic3r::Print::wipe_tower_data(), Slic3r::WipeTowerData::wipe_tower_mesh_data, and Slic3r::wipe_tower_sparse_layers_skipped().
Referenced by on_mouse().
|
inline |
References m_gcode_viewer.
| void Slic3r::GUI::GLCanvas3D::update_gizmos_on_off_state | ( | ) |
| void Slic3r::GUI::GLCanvas3D::update_instance_printable_state_for_object | ( | size_t | obj_idx | ) |
References Slic3r::GLVolume::instance_idx(), Slic3r::ModelObject::instances, m_model, m_volumes, Slic3r::GLVolume::object_idx(), Slic3r::ModelInstance::printable, Slic3r::GLVolume::render_color, and Slic3r::GLVolume::UNPRINTABLE_COLOR.
Referenced by anonymous_namespace{EmbossJob.cpp}::create_volume(), and update_instance_printable_state_for_objects().
| void Slic3r::GUI::GLCanvas3D::update_instance_printable_state_for_objects | ( | const std::vector< size_t > & | object_idxs | ) |
References update_instance_printable_state_for_object().
|
staticprivate |
References Slic3r::RenderColor::colors, DEFAULT_BG_LIGHT_COLOR, Slic3r::GUI::ImGuiWrapper::from_ImVec4(), and RenderCol_3D_Background.
Referenced by _render_style_editor().
| void Slic3r::GUI::GLCanvas3D::update_sequential_clearance | ( | ) |
References _, Slic3r::Geometry::assemble_transform(), Slic3r::ByLayer, Slic3r::Print::config(), Slic3r::Geometry::convex_hull(), Slic3r::ModelObject::convex_hull_2d(), current_printer_technology(), Slic3r::MultiPoint::empty(), fff_print(), Slic3r::GUI::PartPlate::get_bounding_box_crd(), Slic3r::GLVolume::get_instance_transformation(), Slic3r::Geometry::Transformation::get_matrix(), Slic3r::ModelInstance::get_mirror(), Slic3r::ModelInstance::get_offset(), Slic3r::ModelInstance::get_rotation(), Slic3r::ModelInstance::get_scaling_factor(), Slic3r::GLVolume::instance_idx(), Slic3r::ModelObject::instances, Slic3r::jtRound, m_gizmos, m_model, m_sequential_print_clearance, m_sequential_print_clearance_first_displacement, m_volumes, MAX_OUTER_NOZZLE_DIAMETER, Slic3r::GLVolume::object_idx(), Slic3r::Print::object_skirt_offset(), Slic3r::offset(), Slic3r::BoundingBoxBase< PointType, APointsType >::overlap(), Slic3r::MultiPoint::points, Slic3r::print_sequence(), Slic3r::ptFFF, scale_, Slic3r::scaled(), Slic3r::GUI::sequential_clearance_height_polygons(), Slic3r::Geometry::Transformation::set_offset(), Slic3r::Geometry::Transformation::set_rotation(), set_sequential_print_clearance_polygons(), set_sequential_print_clearance_render_fill(), set_sequential_print_clearance_visible(), Slic3r::GUI::sort_sequential_clearance_instances(), Slic3r::transform(), Slic3r::unscale(), and Slic3r::Z.
Referenced by on_mouse().
| void Slic3r::GUI::GLCanvas3D::update_shortcut_tooltips | ( | ) |
References _u8L, Slic3r::GUI::AddInstance, Slic3r::GUI::Arrange, Slic3r::GUI::ArrangePlate, Slic3r::GUI::ImportModel, m_main_toolbar, Slic3r::GUI::Orient, Slic3r::GUI::OrientPlate, Slic3r::GUI::RemoveInstance, and Slic3r::GUI::ShortcutRegistry::with_key().
Referenced by _init_main_toolbar().
| void Slic3r::GUI::GLCanvas3D::update_ui_from_settings | ( | ) |
References _refresh_if_shown_on_screen(), camera, and m_dirty.
| void Slic3r::GUI::GLCanvas3D::update_volumes_colors_by_extruder | ( | ) |
References m_config, and m_volumes.
Referenced by _load_sla_shells(), and reload_scene().
|
inline |
| BoundingBoxf3 Slic3r::GUI::GLCanvas3D::volumes_bounding_box | ( | bool | current_plate_only = false | ) | const |
References _current_plate_box(), CanvasAssembleView, m_apply_zoom_to_volumes_filter, m_canvas_type, m_volumes, Slic3r::BoundingBox3Base< PointType >::merge(), Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::overlap(), scale(), and Slic3r::GLVolume::transformed_bounding_box().
Referenced by _get_section_view_plane(), _max_bounding_box(), get_camera_orbit_target(), Slic3r::GUI::anonymous_namespace{SceneBenchmark.cpp}::SceneBenchmarkDialog::on_timer(), scene_bounding_box(), and zoom_to_volumes().
| void Slic3r::GUI::GLCanvas3D::zoom_to_bed | ( | ) |
References _zoom_to_box(), DefaultCameraZoomToBedMarginFactor, m_bed, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::max, and Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::min.
Referenced by _render_canvas_toolbar(), _render_frame(), _render_imgui_select_plate_toolbar(), and Slic3r::GUI::MainFrame::add_common_view_menu_items().
| void Slic3r::GUI::GLCanvas3D::zoom_to_gcode | ( | ) |
| void Slic3r::GUI::GLCanvas3D::zoom_to_plate | ( | int | plate_idx = -1 | ) |
References _hides_inactive_plates(), _zoom_to_box(), DefaultCameraZoomToPlateMarginFactor, Slic3r::GUI::PartPlate::get_bounding_box(), Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::max, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::min, Slic3r::GUI::plater(), REQUIRES_ZOOM_TO_ALL_PLATE, and REQUIRES_ZOOM_TO_CUR_PLATE.
Referenced by _render_canvas_toolbar(), and _render_frame().
| void Slic3r::GUI::GLCanvas3D::zoom_to_selection | ( | ) |
References _zoom_to_box(), and m_selection.
Referenced by _render_canvas_toolbar().
| void Slic3r::GUI::GLCanvas3D::zoom_to_volumes | ( | ) |
References _zoom_to_box(), m_apply_zoom_to_volumes_filter, and volumes_bounding_box().
Referenced by _render_canvas_toolbar(), _render_frame(), and Slic3r::GUI::DesignSketchTool::on_mouse_impl().
|
private |
|
private |
|
private |
Referenced by _init_main_toolbar().
|
private |
Referenced by _can_reuse_cached_scene(), _capture_scene_cache(), _mouse_to_3d(), _rectangular_selection_picking_pass(), _render_3d_navigator(), _render_below_plate_volumes(), _render_frame(), _render_imex_ghosts(), _render_objects(), _render_scene(), _render_sla_slices(), _render_ssao_pass(), _render_volumes_for_picking(), _render_wireframe_overlay(), _render_xray_volumes(), _scene_cache_key(), get_camera(), get_camera_pan_anchor(), on_gesture(), Slic3r::GUI::GLCanvas3D::CenterOfMass::on_left_down(), on_mouse(), Slic3r::GUI::GLCanvas3D::Labels::render(), Slic3r::GUI::GLCanvas3D::SequentialPrintClearance::render(), render_thumbnail_internal(), Slic3r::GUI::GLCanvas3D::LayersEditing::render_volumes(), and update_ui_from_settings().
|
private |
|
staticprivate |
Referenced by Slic3r::GUI::wxDEFINE_EVENT(), and zoom_to_bed().
|
staticprivate |
Referenced by Slic3r::GUI::wxDEFINE_EVENT().
|
staticprivate |
Referenced by Slic3r::GUI::wxDEFINE_EVENT(), and zoom_to_plate().
|
private |
Referenced by on_key(), and on_mouse_wheel().
|
private |
Referenced by GLCanvas3D(), volumes_bounding_box(), and zoom_to_volumes().
|
private |
Referenced by get_arrange_settings(), and load_arrange_settings().
|
private |
Referenced by get_arrange_settings(), and load_arrange_settings().
|
private |
Referenced by get_arrange_settings(), and load_arrange_settings().
|
mutableprivate |
Referenced by GLCanvas3D(), _check_and_update_toolbar_icon_scale(), _init_assemble_view_toolbar(), _overlay_signature(), _render_assemble_view_toolbar(), _render_fps_overlay(), _render_frame(), _switch_toolbars_icon_filename(), enable_assemble_view_toolbar(), get_assemble_view_toolbar_height(), get_assemble_view_toolbar_width(), get_main_toolbar_offset(), on_change_color_mode(), on_idle(), and on_mouse().
|
private |
| GLModel Slic3r::GUI::GLCanvas3D::m_background |
Referenced by _render_background(), _render_frame(), _render_fxaa_pass(), and _render_ssao_pass().
|
private |
Referenced by GLCanvas3D(), _current_plate_box(), _max_bounding_box(), _render_bed(), _render_cad_grid(), _render_frame(), _render_objects(), _render_shadows(), check_volumes_outside_state(), get_size_proportional_to_max_bed_size(), on_change_color_mode(), reload_scene(), scene_bounding_box(), and zoom_to_bed().
|
private |
Referenced by _is_fps_overlay_enabled(), _is_render_timings_enabled(), _render_frame(), on_idle(), and set_benchmarking().
|
private |
Referenced by _render_cad_grid().
|
private |
Referenced by _render_cad_grid().
|
private |
Referenced by _render_cad_grid().
|
private |
Referenced by _render_cad_grid().
|
private |
Referenced by _render_cad_grid().
|
private |
Referenced by _render_objects().
|
private |
Referenced by GLCanvas3D(), mouse_up_cleanup(), on_key(), and on_mouse().
|
private |
Referenced by GLCanvas3D(), _init_assemble_view_toolbar(), _init_main_toolbar(), _is_shown_on_screen(), _mouse_to_3d(), _render_frame(), _render_gcode_overlay(), _render_imgui_select_plate_toolbar(), _render_paint_toolbar(), _render_return_toolbar(), _resize(), _set_current(), bind_event_handlers(), force_set_focus(), get_canvas_size(), get_local_mouse_position(), get_wxglcanvas(), get_wxglcanvas(), has_mouse_capture(), init(), load_sla_preview(), mouse_up_cleanup(), on_key(), on_mouse(), on_mouse_wheel(), on_set_focus(), post_event(), reload_scene(), select_plate(), select_view(), set_cursor(), set_imgui_scaling(), set_tooltip(), and unbind_event_handlers().
|
mutableprivate |
Referenced by _render_3d_navigator(), and _render_canvas_toolbar().
|
private |
Referenced by GLCanvas3D(), _check_and_update_toolbar_icon_scale(), _hides_inactive_plates(), _is_realistic_view_enabled(), _is_xray_view_active(), _max_bounding_box(), _render_assemble_control(), _render_assemble_info(), _render_canvas_toolbar(), _render_fps_overlay(), _render_frame(), _render_objects(), _render_paint_toolbar(), _render_scene(), _render_section_view_caps(), _render_shadows(), _render_xray_volumes(), do_move(), do_rotate(), ensure_on_bed(), get_camera_orbit_target(), get_canvas_type(), handle_shortcut(), is_bed_visible(), on_change_color_mode(), on_mouse(), on_mouse_wheel(), reload_scene(), Slic3r::GUI::GLCanvas3D::CenterOfMass::render(), scene_bounding_box(), set_type(), and volumes_bounding_box().
|
private |
Referenced by _render_overlays(), _render_scene(), and on_mouse().
|
private |
Referenced by _render_objects(), _render_sla_slices(), get_clipping_planes(), and set_clipping_plane().
|
private |
Referenced by collapse_side(), and set_collapse_toolbar().
Referenced by _init_collapse_toolbar(), collapse_toolbar(), and set_collapse_toolbar().
|
private |
Referenced by _render_collapse_toolbar(), and enable_collapse_toolbar().
|
private |
Referenced by GLCanvas3D(), load_object(), reload_scene(), and set_color_by().
|
private |
|
private |
Referenced by GLCanvas3D(), _resize(), _set_current(), init(), and set_context().
|
private |
Referenced by GLCanvas3D(), and set_cursor().
|
private |
|
private |
Referenced by GLCanvas3D(), _render_canvas_toolbar(), _render_frame(), _update_camera_zoom(), _update_selection_from_hover(), _zoom_to_box(), adaptive_layer_height_profile(), apply_selection_move(), apply_selection_rotate(), bed_shape_changed(), do_mirror(), do_move(), do_rotate(), do_scale(), finish_selection_edit(), handle_shortcut(), handle_sidebar_focus_event(), mouse_up_cleanup(), on_change_color_mode(), on_gesture(), on_idle(), on_key(), on_mouse(), on_mouse_wheel(), on_paint(), on_size(), plates_count_changed(), reload_scene(), remove_curr_plate_all(), reset_layer_height_profile(), reset_volumes(), schedule_extra_frame(), select_all(), select_curr_plate_all(), select_object_from_idx(), set_as_dirty(), smooth_layer_height_profile(), and update_ui_from_settings().
|
private |
Referenced by GLCanvas3D(), _render_background(), and enable_dynamic_background().
|
private |
Referenced by _render_frame(), enable_render(), and is_rendering_enabled().
|
private |
Referenced by bind_event_handlers(), and unbind_event_handlers().
|
mutableprivate |
Referenced by _render_assemble_control(), get_explosion_ratio(), on_mouse_wheel(), and reset_explosion_ratio().
|
private |
Referenced by GLCanvas3D(), on_idle(), and request_extra_frame().
|
private |
Referenced by _render_frame(), and on_fps_overlay_timer().
|
private |
Referenced by GLCanvas3D(), and _render_frame().
|
private |
Referenced by ~GLCanvas3D(), _render_fps_overlay(), _render_frame(), _render_scene(), and get_frame_profiler().
| unsigned int Slic3r::GUI::GLCanvas3D::m_fxaa_texture_id { 0 } |
Referenced by ~GLCanvas3D(), and _render_fxaa_pass().
| std::array<unsigned int, 2> Slic3r::GUI::GLCanvas3D::m_fxaa_texture_size { 0, 0 } |
Referenced by _render_fxaa_pass().
|
private |
Referenced by get_gcode_layers_times_cache(), load_gcode_preview(), and reset_gcode_layers_times_cache().
|
private |
Referenced by _check_and_update_toolbar_icon_scale(), _get_section_view_plane(), _max_bounding_box(), _render_background(), _render_canvas_toolbar(), _render_frame(), _render_gcode(), _render_gcode_overlay(), _render_gcode_translucent(), _render_imgui_select_plate_toolbar(), _render_scene(), _render_shadows(), _set_warning_notification(), _set_warning_notification_if_needed(), _shadow_casters_signature(), export_toolpaths_to_obj(), get_gcode_extruders_count(), get_gcode_layers_times(), get_gcode_layers_zs(), get_gcode_sequential_view(), get_gcode_vertex_at(), get_gcode_view_enabled_range(), get_gcode_view_full_range(), get_gcode_view_type(), get_gcode_view_visible_range(), get_gcode_viewer(), handle_shortcut(), has_toolpaths_to_export(), init_gcode_viewer(), load_gcode_preview(), load_shells(), msw_rescale(), on_change_color_mode(), reset_gcode_toolpaths(), reset_shells(), set_gcode_view_type(), set_shell_transparence(), set_shells_on_previewing(), update_gcode_sequential_view_current(), and zoom_to_gcode().
|
private |
Referenced by on_gesture().
| struct Slic3r::GUI::GLCanvas3D::GizmoHighlighter Slic3r::GUI::GLCanvas3D::m_gizmo_highlighter |
Referenced by _render_gizmos_overlay(), bind_event_handlers(), and highlight_gizmo().
|
private |
Referenced by GLCanvas3D(), _check_and_update_toolbar_icon_scale(), _get_volumes_clipping_plane(), _init_main_toolbar(), _is_below_plate_view_active(), _is_scene_cacheable(), _is_xray_view_active(), _max_bounding_box(), _on_section_view_changed(), _overlay_signature(), _picking_pass(), _picking_pass_imex_ghosts(), _rectangular_selection_picking_pass(), _render_3d_navigator(), _render_assemble_control(), _render_assemble_view_toolbar(), _render_canvas_toolbar(), _render_current_gizmo(), _render_fps_overlay(), _render_frame(), _render_gizmos_overlay(), _render_objects(), _render_overlays(), _render_plate_switcher(), _render_return_toolbar(), _render_scene(), _render_section_view_caps(), _render_selection(), _render_selection_sidebar_hints(), _render_separator_toolbar_right(), _render_sequential_clearance(), _scene_cache_key(), _update_inactive_plates_visibility(), _update_selection_from_hover(), can_sequential_clearance_show_in_gizmo(), deselect_all(), enable_gizmos(), exit_gizmo(), finish_selection_edit(), get_camera_orbit_target(), get_gizmos_manager(), get_gizmos_manager(), get_main_toolbar_offset(), get_raycaster_clipping_plane(), handle_layers_data_focus_event(), handle_shortcut(), highlight_gizmo(), init(), is_dragging(), on_change_color_mode(), on_char(), on_key(), on_mouse(), on_mouse_wheel(), on_set_color_timer(), reload_scene(), reset_all_gizmos(), select_all(), update_gizmos_on_off_state(), and update_sequential_clearance().
|
private |
Referenced by _picking_pass_imex_ghosts(), _render_frame(), _render_imex_ghost_tooltip(), get_hover_ghost_head(), and on_mouse().
|
private |
Referenced by _picking_pass_imex_ghosts(), _render_imex_ghost_tooltip(), and get_hover_ghost_plate().
|
private |
Referenced by _picking_pass(), _render_scene(), _scene_cache_key(), GetHoverId(), and on_mouse().
|
mutableprivate |
|
private |
|
private |
Referenced by GLCanvas3D(), _render_frame(), and schedule_extra_frame().
|
private |
Referenced by _update_inactive_plates_visibility().
|
private |
|
private |
Referenced by _init_assemble_view_toolbar(), _init_collapse_toolbar(), _init_main_toolbar(), _init_select_plate_toolbar(), _init_separator_toolbar(), _render_3d_navigator(), _render_background(), _render_canvas_toolbar(), _render_imgui_select_plate_toolbar(), _render_paint_toolbar(), _render_plate_switcher(), _render_return_toolbar(), _render_section_view_panel(), _switch_toolbars_icon_filename(), get_dark_mode_status(), and on_change_color_mode().
|
private |
Referenced by is_camera_pan(), is_camera_rotate(), on_key(), and on_set_focus().
|
private |
Referenced by handle_shortcut(), and on_key().
|
private |
Referenced by GLCanvas3D(), _render_overlays(), are_labels_shown(), enable_labels(), init(), and show_labels().
|
private |
Referenced by on_idle().
|
private |
Referenced by _resize().
|
private |
Referenced by _resize().
|
private |
Referenced by _is_scene_cacheable(), _is_xray_view_active(), _perform_layer_editing_action(), _render_3d_navigator(), _render_frame(), _render_objects(), _render_overlay_toolbars(), _render_overlays(), adaptive_layer_height_profile(), enable_layers_editing(), handle_shortcut(), init(), is_layers_editing_allowed(), is_layers_editing_enabled(), on_mouse(), on_mouse_wheel(), on_timer(), reset_layer_height_profile(), set_config(), and smooth_layer_height_profile().
|
mutableprivate |
Referenced by GLCanvas3D(), _check_and_update_toolbar_icon_scale(), _deactivate_arrange_menu(), _deactivate_layersediting_menu(), _deactivate_orient_menu(), _init_main_toolbar(), _max_bounding_box(), _overlay_signature(), _render_arrange_menu(), _render_assemble_view_toolbar(), _render_bed(), _render_fps_overlay(), _render_frame(), _render_main_toolbar(), _render_orient_menu(), _render_overlays(), _render_plate_switcher(), _render_scene(), _render_separator_toolbar_left(), _render_separator_toolbar_right(), _switch_toolbars_icon_filename(), enable_main_toolbar(), force_main_toolbar_left_action(), force_main_toolbar_right_action(), get_main_toolbar_height(), get_main_toolbar_item_id(), get_main_toolbar_offset(), get_main_toolbar_width(), highlight_toolbar_item(), init(), is_bed_visible(), on_change_color_mode(), on_idle(), on_mouse(), Slic3r::GUI::GLCanvas3D::LayersEditing::render_variable_layer_height_dialog(), and update_shortcut_tooltips().
|
private |
Referenced by GLCanvas3D(), _render_objects(), _render_section_view_caps(), _set_warning_notification(), do_center(), do_center_plate(), do_drop(), do_mirror(), do_move(), do_rotate(), do_scale(), ensure_on_bed(), get_empty_cells(), get_model(), on_mouse(), reload_scene(), set_model(), toggle_model_objects_visibility(), toggle_sla_auxiliaries_visibility(), update_compacted_wipe_tower_clearance(), update_instance_printable_state_for_object(), and update_sequential_clearance().
|
private |
Referenced by _is_scene_cacheable(), _picking_pass(), _picking_pass_imex_ghosts(), _render_frame(), _render_imex_ghost_tooltip(), _render_scene(), get_local_mouse_position(), get_move_volume_id(), is_mouse_dragging(), is_mouse_left_up_ignored(), mouse_up_cleanup(), on_key(), on_mouse(), and set_mouse_as_dragging().
|
private |
|
private |
Referenced by GLCanvas3D(), _render_3d_navigator(), is_dragging(), mouse_up_cleanup(), and on_mouse().
|
private |
Referenced by GLCanvas3D(), enable_moving(), and on_mouse().
|
private |
Referenced by GLCanvas3D(), _rectangular_selection_picking_pass(), allow_multisample(), and init().
|
private |
Referenced by _render_3d_navigator(), bind_event_handlers(), and on_mouse().
|
private |
Referenced by _resize(), and reset_old_size().
|
private |
|
private |
|
private |
Referenced by _set_overlay_as_dirty(), and on_idle().
|
mutableprivate |
Referenced by _render_paint_toolbar(), and get_assembly_paint_toolbar_width().
|
private |
|
private |
Referenced by _render_platelist(), and enable_plate_chrome().
| GLModel Slic3r::GUI::GLCanvas3D::m_plate_shadow_mask |
Referenced by ~GLCanvas3D(), and _render_shadows().
| std::string Slic3r::GUI::GLCanvas3D::m_plate_shadow_mask_key |
Referenced by ~GLCanvas3D(), and _render_shadows().
|
private |
Referenced by ~GLCanvas3D(), and _render_plate_switcher().
|
private |
Referenced by _render_plate_switcher().
|
private |
Referenced by _render_plate_switcher().
| std::optional<Vec2d> Slic3r::GUI::GLCanvas3D::m_popup_menu_positon |
Referenced by clear_popup_menu_position(), get_popup_menu_position(), and set_popup_menu_position().
| std::optional<size_t> Slic3r::GUI::GLCanvas3D::m_presented_signature |
Referenced by _render_frame(), on_paint(), and render().
|
private |
|
private |
|
private |
Referenced by GLCanvas3D(), _render_frame(), is_reload_delayed(), and reload_scene().
|
private |
Referenced by _render_frame(), _render_imgui_select_plate_toolbar(), _render_scene(), _scene_cache_key(), is_bed_visible(), and Slic3r::GUI::GLCanvas3D::CenterOfMass::render().
|
private |
|
private |
Referenced by _render_fps_overlay(), and _render_frame().
|
private |
Referenced by GLCanvas3D(), and schedule_extra_frame().
|
private |
Referenced by _render_objects(), and requires_check_outside_state().
|
mutableprivate |
Referenced by GLCanvas3D(), _init_return_toolbar(), _render_return_toolbar(), and enable_return_toolbar().
|
mutableprivate |
Referenced by on_mouse().
|
mutableprivate |
| SceneCache Slic3r::GUI::GLCanvas3D::m_scene_cache |
Referenced by ~GLCanvas3D(), _can_reuse_cached_scene(), _capture_scene_cache(), and _render_frame().
|
private |
|
private |
Referenced by ~GLCanvas3D(), _get_section_view_plane(), _render_canvas_toolbar(), _render_section_view_panel(), align_section_view_to_camera(), get_section_view_normal(), get_section_view_ratio(), is_section_view_active(), on_key(), set_section_view_ratio(), share_section_view(), and toggle_section_view().
|
private |
Referenced by ~GLCanvas3D(), _render_section_view_caps(), and reset_volumes().
|
mutableprivate |
|
private |
Referenced by set_selected_extruder().
|
private |
Referenced by GLCanvas3D(), _max_bounding_box(), _render_assemble_control(), _render_assemble_info(), _render_below_plate_volumes(), _render_canvas_toolbar(), _render_objects(), _render_selection(), _render_selection_sidebar_hints(), _update_selection_from_hover(), _update_volumes_hover_state(), apply_selection_move(), apply_selection_rotate(), delete_selected(), deselect_all(), do_center(), do_center_plate(), do_drop(), do_mirror(), do_move(), do_rotate(), do_scale(), enable_selection(), get_camera_orbit_target(), get_selection(), get_selection(), handle_shortcut(), init(), mirror_selection(), on_mouse(), on_mouse_wheel(), reload_scene(), remove_curr_plate_all(), reset_volumes(), select_all(), select_curr_plate_all(), select_object_from_idx(), set_model(), set_selected_visible(), toggle_selected_volume_visibility(), and zoom_to_selection().
|
private |
Referenced by apply_selection_move(), apply_selection_rotate(), bind_event_handlers(), finish_selection_edit(), handle_shortcut(), and on_key().
|
mutableprivate |
Referenced by GLCanvas3D(), _check_and_update_toolbar_icon_scale(), _init_separator_toolbar(), _overlay_signature(), _render_assemble_view_toolbar(), _render_fps_overlay(), _render_separator_toolbar_left(), _render_separator_toolbar_right(), _switch_toolbars_icon_filename(), enable_separator_toolbar(), get_main_toolbar_offset(), get_separator_toolbar_height(), get_separator_toolbar_width(), and on_change_color_mode().
| SequentialPrintClearance Slic3r::GUI::GLCanvas3D::m_sequential_print_clearance |
| bool Slic3r::GUI::GLCanvas3D::m_sequential_print_clearance_first_displacement { true } |
Referenced by on_mouse(), and update_sequential_clearance().
| Transform3d Slic3r::GUI::GLCanvas3D::m_shadow_light_vp { Transform3d::Identity() } |
Referenced by _render_gcode(), _render_objects(), and _render_shadows().
| unsigned int Slic3r::GUI::GLCanvas3D::m_shadow_map_fbo { 0 } |
Referenced by ~GLCanvas3D(), and _render_shadows().
| size_t Slic3r::GUI::GLCanvas3D::m_shadow_map_key { 0 } |
Referenced by _render_shadows().
| unsigned int Slic3r::GUI::GLCanvas3D::m_shadow_map_size { 0 } |
Referenced by _bind_gcode_shadow_map(), _render_gcode(), _render_objects(), and _render_shadows().
| unsigned int Slic3r::GUI::GLCanvas3D::m_shadow_map_texture_id { 0 } |
Referenced by ~GLCanvas3D(), _bind_gcode_shadow_map(), _render_objects(), and _render_shadows().
| bool Slic3r::GUI::GLCanvas3D::m_shadow_map_valid { false } |
Referenced by _bind_gcode_shadow_map(), _render_objects(), _render_scene(), and _render_shadows().
| std::array<float, 4> Slic3r::GUI::GLCanvas3D::m_shadow_plate_bounds { { 0.0f, 0.0f, 0.0f, 0.0f } } |
Referenced by _render_shadows().
|
private |
Referenced by GLCanvas3D(), and _render_assembly_tooltip_button().
|
private |
Referenced by _render_scene(), get_show_bed(), is_bed_visible(), and set_show_bed().
|
private |
Referenced by _render_canvas_toolbar(), _render_scene(), init(), and toggle_world_axes_visibility().
|
private |
Referenced by GLCanvas3D(), _render_selection_sidebar_hints(), and handle_sidebar_focus_event().
|
private |
Referenced by _render_objects(), and enable_sinking_contours().
|
private |
Referenced by _render_sla_slices(), reset_clipping_planes_cache(), and set_clipping_plane().
|
private |
Referenced by GLCanvas3D(), enable_slope(), init(), is_overhang_shown(), is_using_slope(), set_slope_normal_angle(), show_overhang(), and use_slope().
| unsigned int Slic3r::GUI::GLCanvas3D::m_ssao_color_texture_id { 0 } |
Referenced by ~GLCanvas3D(), and _render_ssao_pass().
| unsigned int Slic3r::GUI::GLCanvas3D::m_ssao_depth_texture_id { 0 } |
Referenced by ~GLCanvas3D(), and _render_ssao_pass().
| std::array<unsigned int, 2> Slic3r::GUI::GLCanvas3D::m_ssao_texture_size { { 0, 0 } } |
Referenced by _render_ssao_pass().
|
private |
Referenced by _render_objects(), and set_studio_lighting().
|
private |
Referenced by GLCanvas3D(), _start_timer(), and _stop_timer().
|
private |
Referenced by GLCanvas3D(), on_char(), and on_set_color_timer().
| struct Slic3r::GUI::GLCanvas3D::ToolbarHighlighter Slic3r::GUI::GLCanvas3D::m_toolbar_highlighter |
Referenced by _render_main_toolbar(), bind_event_handlers(), and highlight_toolbar_item().
|
private |
Referenced by _render_background().
|
private |
Referenced by _render_frame(), on_mouse(), and set_tooltip().
|
private |
Referenced by _render_frame(), on_mouse(), and on_set_focus().
|
private |
Referenced by GLCanvas3D(), _render_objects(), _render_sla_slices(), get_use_clipping_planes(), and set_use_clipping_planes().
|
private |
Referenced by GLCanvas3D(), _is_any_volume_outside(), _load_sla_shells(), _picking_pass(), _rectangular_selection_picking_pass(), _render_assemble_control(), _render_background(), _render_below_plate_volumes(), _render_canvas_toolbar(), _render_imex_ghosts(), _render_imex_ghosts_xray(), _render_objects(), _render_section_view_caps(), _render_shadows(), _render_volumes_for_picking(), _render_wireframe_overlay(), _render_xray_volumes(), _scene_cache_key(), _set_warning_notification_if_needed(), _shadow_casters_signature(), _update_inactive_plates_visibility(), _update_selection_from_hover(), _update_volumes_hover_state(), check_volumes_outside_state(), do_mirror(), do_move(), do_rotate(), do_scale(), ensure_on_bed(), get_volumes(), get_volumes_count(), get_wipe_tower_info(), is_object_sinking(), load_object(), on_mouse(), on_mouse_wheel(), reload_scene(), render_thumbnail(), reset_volumes(), set_color_clip_plane(), set_color_clip_plane_colors(), set_use_color_clip_plane(), set_volumes_z_range(), toggle_model_objects_visibility(), toggle_selected_volume_visibility(), toggle_sla_auxiliaries_visibility(), update_compacted_wipe_tower_clearance(), update_instance_printable_state_for_object(), update_sequential_clearance(), update_volumes_colors_by_extruder(), and volumes_bounding_box().
|
staticprivate |
Referenced by _render_frame(), is_frame_in_progress(), and Slic3r::GUI::wxDEFINE_EVENT().
|
private |
|
private |