#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/UVEditorCanvas.hpp>
Classes | |
| struct | Islands |
| struct | PaneState |
Public Types | |
| enum class | Command { FrameAll , ToggleSnap , AverageScale , CutSelectedIsland , ProjectFromView , JoinSelected , UnjoinSelected , Unwrap , SetSeamAngle , SetConnectIslands , SetSelectMode , SetMarkSeams , SetSeamPath , ClearSeams , ClearUVEdits , SetBackground , PickTexture , PaneClosed , SelectionChanged } |
| enum class | Background { Height , Checker , Distortion } |
| enum class | SelectMode { Island , Vertex , Edge } |
| using | IslandTransform = Eigen::Matrix<float, 2, 3> |
| using | CommandFn = std::function<void(Command, float)> |
| using | PaneStateFn = std::function<void(const PaneState &)> |
| using | StatusFn = std::function<void(const wxString &)> |
| using | IslandEditFn |
| using | UVVertexEditFn = std::function<void(const std::vector<std::pair<int, Vec2f>> &edits)> |
Public Member Functions | |
| UVEditorCanvas (wxWindow *parent) | |
| void | set_islands (Islands islands) |
| void | set_island_transforms (std::vector< IslandTransform > transforms) |
| void | set_island_fill_colors (std::vector< ColorRGBA > colors) |
| void | set_uv_transform (float tiling_scale, float rotation_deg, bool tile_enabled, bool tile_mirrored) |
| void | set_background_texture (const std::vector< unsigned char > &grayscale_pixels, int width, int height) |
| void | set_snap_enabled (bool enabled) |
| bool | snap_enabled () const |
| void | run_command (Command cmd, float value=0.f) |
| void | set_command_callback (CommandFn fn) |
| void | set_pane_state (PaneState state) |
| const PaneState & | pane_state () const |
| void | set_pane_state_callback (PaneStateFn fn) |
| void | set_status_callback (StatusFn fn) |
| void | set_island_edit_callback (IslandEditFn fn) |
| void | set_select_mode (SelectMode mode) |
| SelectMode | select_mode () const |
| void | set_vertex_edit_callback (UVVertexEditFn fn) |
| int | selected_island () const |
| bool | has_islands () const |
| const std::vector< int > & | selected_islands () const |
| void | reset_view () |
| void | invalidate_gl () |
Private Types | |
| enum class | Gesture { None , Pan , MoveIsland , RotateIsland , RotateIslandModal , ScaleIslandModal , MoveVertex , MoveEdge } |
Private Member Functions | |
| void | on_paint (wxPaintEvent &evt) |
| void | on_size (wxSizeEvent &evt) |
| void | on_mouse (wxMouseEvent &evt) |
| void | on_capture_lost (wxMouseCaptureLostEvent &evt) |
| void | on_key (wxKeyEvent &evt) |
| void | on_leave (wxMouseEvent &evt) |
| void | on_erase_background (wxEraseEvent &evt) |
| void | render () |
| void | rebuild_island_models () |
| void | rebuild_background_texture () |
| void | rebuild_background_quad () |
| void | rebuild_grid () |
| void | content_bounds (Vec2f &min_uv, Vec2f &max_uv) const |
| void | framed_bounds (Vec2f &min_uv, Vec2f &max_uv) const |
| void | fit_view_to_content () |
| void | view_half_extents (float &half_w, float &half_h) const |
| Vec2f | screen_to_uv (const wxPoint &px) const |
| Vec2f | island_uv (size_t vertex) const |
| int | island_at (const Vec2f &uv) const |
| int | vertex_at (const Vec2f &uv) const |
| std::pair< int, int > | edge_at (const Vec2f &uv) const |
| void | move_vertex_raw (int unwrapped_vertex, const Vec2f &delta_uv) |
| Vec2f | island_centroid (int island) const |
| Vec2f | uv_delta_to_unwrap (const Vec2f &delta_uv) const |
| Vec2f | snap_correction (int island) const |
| void | end_gesture () |
| void | cancel_gesture () |
| void | grab_mouse () |
| void | drop_mouse () |
| void | update_status () |
| void | update_hover (const wxPoint &pos) |
| bool | is_vertex_selected (int v) const |
| bool | is_edge_selected (const std::pair< int, int > &e) const |
| std::vector< int > | selected_edge_endpoints () const |
| bool | is_selected (int island) const |
| void | rebuild_rotation_dial () |
| float | island_rotation_deg (int island) const |
| struct Slic3r::GUI::UVEditorCanvas::Islands |
| struct Slic3r::GUI::UVEditorCanvas::PaneState |
| Class Members | ||
|---|---|---|
| Background | background = Background::Height | |
| bool | connect_islands = true | |
| size_t | face_count = 0 | |
| bool | has_layer = false | |
| bool | has_seams = false | |
| bool | has_uv_edits = false | |
| int | island_count = 0 | |
| wxString | layer_name | |
| bool | mark_seams = false | |
| float | seam_angle_deg = 40.f | |
| bool | seam_path = false | |
| int | thumbnail_px = 0 | |
| vector< unsigned char > | thumbnail_rgb | |
| float | tile_mm = 0.f | |
| bool | unwrap_stale = false | |
| bool | unwrapped = false | |
| using Slic3r::GUI::UVEditorCanvas::CommandFn = std::function<void(Command, float)> |
| using Slic3r::GUI::UVEditorCanvas::IslandTransform = Eigen::Matrix<float, 2, 3> |
| using Slic3r::GUI::UVEditorCanvas::PaneStateFn = std::function<void(const PaneState &)> |
| using Slic3r::GUI::UVEditorCanvas::StatusFn = std::function<void(const wxString &)> |
| using Slic3r::GUI::UVEditorCanvas::UVVertexEditFn = std::function<void(const std::vector<std::pair<int, Vec2f>> &edits)> |
|
strong |
| Enumerator | |
|---|---|
| Height | |
| Checker | |
| Distortion | |
|
strong |
|
strongprivate |
| Enumerator | |
|---|---|
| None | |
| Pan | |
| MoveIsland | |
| RotateIsland | |
| RotateIslandModal | |
| ScaleIslandModal | |
| MoveVertex | |
| MoveEdge | |
|
strong |
|
explicit |
References m_context, on_capture_lost(), on_erase_background(), on_key(), on_leave(), on_mouse(), on_paint(), and on_size().
|
private |
References m_gesture, m_modal_scale_accum, m_on_island_edit, m_rot_applied_deg, m_rot_raw_deg, m_selected_island, m_vertex_edit_moved, None, RotateIslandModal, and ScaleIslandModal.
Referenced by on_capture_lost().
References island_uv(), and m_islands.
Referenced by framed_bounds().
|
private |
Referenced by end_gesture(), and on_mouse().
|
private |
References Slic3r::dot(), island_uv(), Slic3r::l2(), m_islands, and m_zoom.
Referenced by on_mouse(), and update_hover().
|
private |
References drop_mouse(), m_active_edge, m_active_vertex, m_gesture, m_islands, m_modal_scale_accum, m_on_island_edit, m_on_vertex_edit, m_rot_applied_deg, m_rot_raw_deg, m_sel_vertices, m_selected_island, m_vertex_edit_moved, MoveEdge, MoveIsland, MoveVertex, None, RotateIsland, RotateIslandModal, ScaleIslandModal, selected_edge_endpoints(), snap_correction(), and uv_delta_to_unwrap().
Referenced by on_key(), and on_mouse().
|
private |
References framed_bounds(), m_needs_fit, m_pan, and m_zoom.
Referenced by render().
References content_bounds(), and m_tile_enabled.
Referenced by fit_view_to_content(), and rebuild_background_quad().
|
private |
Referenced by on_mouse().
|
inline |
References m_islands.
Referenced by render(), update_hover(), and update_status().
|
inline |
References m_gl_reset_pending.
|
inlineprivate |
References m_sel_edges.
Referenced by on_mouse(), and render().
|
inlineprivate |
References m_selection.
Referenced by island_at(), on_mouse(), and render().
|
inlineprivate |
References m_sel_vertices.
Referenced by on_mouse(), and render().
|
private |
References is_selected(), island_uv(), m_island_raw_bounds, m_island_tris, m_islands, and m_transforms.
Referenced by on_mouse(), and update_hover().
|
private |
References count, island_uv(), and m_islands.
Referenced by on_key(), on_mouse(), and rebuild_rotation_dial().
|
private |
References M_PI, and m_transforms.
Referenced by on_key(), and on_mouse().
|
private |
References m_islands, and m_transforms.
Referenced by content_bounds(), edge_at(), island_at(), island_centroid(), render(), snap_correction(), and vertex_at().
|
private |
References m_island_raw_bounds, m_islands, m_mesh_dirty, and m_transforms.
Referenced by on_mouse().
|
private |
References cancel_gesture().
Referenced by UVEditorCanvas().
|
inlineprivate |
Referenced by UVEditorCanvas().
|
private |
References end_gesture(), Island, island_centroid(), island_rotation_deg(), m_gesture, m_gesture_last_angle, m_gesture_last_dist, m_modal_scale_accum, m_on_island_edit, m_rot_applied_deg, m_rot_base_deg, m_rot_display_deg, m_rot_raw_deg, m_select_mode, m_selected_island, None, reset_view(), RotateIslandModal, ScaleIslandModal, and screen_to_uv().
Referenced by UVEditorCanvas().
|
private |
References m_cursor_inside, m_gesture, m_hover_edge, m_hover_island, m_hover_vertex, None, and Slic3r::GUI::wxMouseEvent.
Referenced by UVEditorCanvas().
|
private |
References Slic3r::angle(), Slic3r::Geometry::dist(), drop_mouse(), Edge, edge_at(), end_gesture(), grab_mouse(), is_edge_selected(), is_selected(), is_vertex_selected(), Island, island_at(), island_centroid(), island_rotation_deg(), m_active_edge, m_active_vertex, m_cursor_inside, m_cursor_px, m_drag_last_px, m_gesture, m_gesture_last_angle, m_gesture_last_dist, m_gesture_last_uv, m_modal_scale_accum, m_on_island_edit, m_pan, M_PI, m_rot_applied_deg, m_rot_base_deg, m_rot_display_deg, m_rot_raw_deg, m_sel_edges, m_sel_vertices, m_select_mode, m_selected_island, m_selection, m_vertex_edit_moved, m_zoom, move_vertex_raw(), MoveEdge, MoveIsland, MoveVertex, None, Pan, RotateIsland, RotateIslandModal, run_command(), scale(), ScaleIslandModal, screen_to_uv(), selected_edge_endpoints(), SelectionChanged, update_hover(), uv_delta_to_unwrap(), Vertex, vertex_at(), and Slic3r::GUI::wxMouseEvent.
Referenced by UVEditorCanvas().
|
private |
References render().
Referenced by UVEditorCanvas().
|
private |
References Slic3r::GUI::GLCanvas3D::is_frame_in_progress().
Referenced by UVEditorCanvas().
|
inline |
References m_pane_state.
|
private |
References Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), Slic3r::GUI::GLModel::Geometry::format, framed_bounds(), m_background_glmodel, m_background_height, m_background_quad_dirty, m_background_width, m_tile_enabled, Slic3r::GUI::GLModel::Geometry::P3T2, Slic3r::GUI::GLModel::Geometry::reserve_indices(), Slic3r::GUI::GLModel::Geometry::reserve_vertices(), and Slic3r::GUI::GLModel::Geometry::Triangles.
Referenced by render().
|
private |
References m_background_dirty, m_background_height, m_background_pixels, m_background_quad_dirty, m_background_texture, and m_background_width.
Referenced by render().
|
private |
References Slic3r::grid(), Slic3r::GUI::GLModel::Geometry::Lines, m_grid_glmodel, m_grid_step, m_pan, m_zoom, Slic3r::GUI::GLModel::Geometry::P3, and view_half_extents().
Referenced by render().
|
private |
References Slic3r::GUI::GLModel::Geometry::Lines, m_island_fill, m_island_wireframe, m_islands, m_mesh_dirty, Slic3r::GUI::GLModel::Geometry::P3, and Slic3r::GUI::GLModel::Geometry::Triangles.
Referenced by render().
|
private |
References Slic3r::GUI::GLModel::Geometry::add_line(), Slic3r::GUI::GLModel::Geometry::add_vertex(), Slic3r::GUI::GLModel::Geometry::format, Slic3r::GUI::GLModel::Geometry::is_empty(), island_centroid(), Slic3r::GUI::GLModel::Geometry::Lines, m_dial_glmodel, m_gesture, M_PI, m_rot_display_deg, m_selected_island, m_zoom, Slic3r::GUI::GLModel::Geometry::P3, RotateIsland, and RotateIslandModal.
Referenced by render().
|
private |
References Slic3r::ColorRGBA::a(), Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), Slic3r::ColorRGBA::b(), Slic3r::GUI::draw(), Edge, fit_view_to_content(), Slic3r::GUI::GLModel::Geometry::format, Slic3r::ColorRGBA::g(), GL_ALWAYS, GL_BLEND, GL_CLAMP_TO_BORDER, GL_COLOR_BUFFER_BIT, GL_CULL_FACE, GL_DEPTH_TEST, GL_DRAW_FRAMEBUFFER, GL_EQUAL, GL_FALSE, GL_FILL, GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE, GL_FRONT_AND_BACK, GL_KEEP, GL_MIRRORED_REPEAT, GL_NO_ERROR, GL_ONE_MINUS_SRC_ALPHA, GL_REPEAT, GL_REPLACE, GL_SCISSOR_TEST, GL_SRC_ALPHA, GL_STENCIL, GL_STENCIL_BITS, GL_STENCIL_BUFFER_BIT, GL_STENCIL_TEST, GL_TEXTURE0, GL_TEXTURE_2D, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TRUE, glActiveTexture, glBindTexture, glBlendFunc, glClear, glClearColor, glClearStencil, glColorMask, glDisable, glEnable, glGetError, glGetFramebufferAttachmentParameteriv, glGetIntegerv, glIsEnabled, glPolygonMode, glsafe, glStencilFunc, glStencilMask, glStencilOp, glTexParameterfv, glTexParameteri, glViewport, has_islands(), Slic3r::identity(), is_edge_selected(), Slic3r::GUI::GLModel::Geometry::is_empty(), Slic3r::GUI::GLCanvas3D::is_frame_in_progress(), Slic3r::GUI::GLModel::is_initialized(), is_selected(), is_vertex_selected(), Island, island_uv(), m_active_edge, m_active_vertex, m_background_dirty, m_background_glmodel, m_background_quad_dirty, m_background_texture, m_context, m_cursor_inside, m_cursor_px, m_dial_glmodel, m_dim_quad_glmodel, m_gl_reset_pending, m_grid_glmodel, m_hover_edge, m_hover_island, m_hover_vertex, m_island_boundary_edges, m_island_fill, m_island_fill_colors, m_island_wireframe, m_islands, m_mesh_dirty, m_needs_fit, m_pan, m_sel_edges, m_sel_vertices, m_select_mode, m_stencil_bits, m_stroke_glmodel, m_tile_enabled, m_tile_mirrored, m_tile_outline_glmodel, m_transforms, m_vertex_marker_glmodel, m_zoom, Slic3r::GUI::GLModel::Geometry::P3, Slic3r::ColorRGBA::r(), rebuild_background_quad(), rebuild_background_texture(), rebuild_grid(), rebuild_island_models(), rebuild_rotation_dial(), Slic3r::GUI::GLModel::render(), Slic3r::GUI::GLModel::Geometry::reserve_indices(), Slic3r::GUI::GLModel::Geometry::reserve_vertices(), screen_to_uv(), Slic3r::GUI::GLModel::set_color(), Slic3r::GLShaderProgram::set_uniform(), Slic3r::GLShaderProgram::start_using(), Slic3r::GLShaderProgram::stop_using(), Slic3r::GUI::GLModel::Geometry::Triangles, update_status(), Vertex, view_half_extents(), and Slic3r::ColorRGBA::WHITE().
Referenced by on_paint().
| void Slic3r::GUI::UVEditorCanvas::reset_view | ( | ) |
References m_needs_fit.
Referenced by on_key(), and run_command().
References FrameAll, m_on_command, m_snap_enabled, reset_view(), set_select_mode(), SetSelectMode, ToggleSnap, and update_status().
Referenced by on_mouse().
|
private |
References m_pan, and view_half_extents().
Referenced by on_key(), on_mouse(), render(), and update_hover().
|
inline |
References m_select_mode.
|
private |
References m_sel_edges.
Referenced by end_gesture(), and on_mouse().
|
inline |
References m_selected_island.
Referenced by Slic3r::GUI::GLGizmoTextureDisplacement::run_uv_command().
|
inline |
References m_selection.
Referenced by Slic3r::GUI::GLGizmoTextureDisplacement::island_highlight_selection().
| void Slic3r::GUI::UVEditorCanvas::set_background_texture | ( | const std::vector< unsigned char > & | grayscale_pixels, |
| int | width, | ||
| int | height ) |
References m_background_dirty, m_background_height, m_background_pixels, and m_background_width.
Referenced by Slic3r::GUI::GLGizmoTextureDisplacement::update_uv_editor().
|
inline |
References m_on_command.
Referenced by Slic3r::GUI::GLGizmoTextureDisplacement::update_uv_editor().
|
inline |
References m_on_island_edit.
Referenced by Slic3r::GUI::GLGizmoTextureDisplacement::update_uv_editor().
| void Slic3r::GUI::UVEditorCanvas::set_island_fill_colors | ( | std::vector< ColorRGBA > | colors | ) |
References m_island_fill_colors.
Referenced by Slic3r::GUI::GLGizmoTextureDisplacement::update_uv_editor().
| void Slic3r::GUI::UVEditorCanvas::set_island_transforms | ( | std::vector< IslandTransform > | transforms | ) |
References m_background_quad_dirty, and m_transforms.
Referenced by Slic3r::GUI::GLGizmoTextureDisplacement::update_uv_editor().
| void Slic3r::GUI::UVEditorCanvas::set_islands | ( | Islands | islands | ) |
References Slic3r::GUI::UVEditorCanvas::Islands::island_count, m_active_edge, m_active_vertex, m_background_quad_dirty, m_hover_edge, m_hover_island, m_hover_vertex, m_island_boundary_edges, m_island_boundary_verts, m_island_raw_bounds, m_island_tris, m_islands, m_mesh_dirty, m_needs_fit, m_sel_edges, m_sel_vertices, m_selected_island, m_selection, and Slic3r::GUI::UVEditorCanvas::Islands::uvs.
Referenced by Slic3r::GUI::GLGizmoTextureDisplacement::update_uv_editor().
| void Slic3r::GUI::UVEditorCanvas::set_pane_state | ( | PaneState | state | ) |
References m_on_pane_state, m_pane_state, and update_status().
Referenced by Slic3r::GUI::GLGizmoTextureDisplacement::push_uv_pane_state().
|
inline |
References m_on_pane_state.
| void Slic3r::GUI::UVEditorCanvas::set_select_mode | ( | SelectMode | mode | ) |
References m_active_edge, m_active_vertex, m_gesture, m_hover_edge, m_hover_island, m_hover_vertex, m_sel_edges, m_sel_vertices, m_select_mode, None, and update_status().
Referenced by run_command(), and Slic3r::GUI::GLGizmoTextureDisplacement::update_uv_editor().
|
inline |
References m_snap_enabled.
|
inline |
References m_on_status.
| void Slic3r::GUI::UVEditorCanvas::set_uv_transform | ( | float | tiling_scale, |
| float | rotation_deg, | ||
| bool | tile_enabled, | ||
| bool | tile_mirrored ) |
References m_background_quad_dirty, m_rotation_deg, m_tile_enabled, m_tile_mirrored, and m_tiling_scale.
Referenced by Slic3r::GUI::GLGizmoTextureDisplacement::update_uv_editor().
|
inline |
References m_on_vertex_edit.
Referenced by Slic3r::GUI::GLGizmoTextureDisplacement::update_uv_editor().
|
private |
References island_uv(), m_island_boundary_verts, m_snap_enabled, and m_zoom.
Referenced by end_gesture().
|
inline |
References m_snap_enabled.
|
private |
References Edge, edge_at(), has_islands(), Island, island_at(), m_hover_edge, m_hover_island, m_hover_vertex, m_select_mode, screen_to_uv(), Vertex, and vertex_at().
Referenced by on_mouse().
|
private |
References _L, _L_PLURAL, Edge, has_islands(), m_gesture, m_on_status, m_pane_state, m_rot_display_deg, m_sel_edges, m_sel_vertices, m_select_mode, m_selected_island, m_selection, m_snap_enabled, MoveEdge, MoveIsland, MoveVertex, None, Pan, RotateIsland, RotateIslandModal, ScaleIslandModal, and Vertex.
Referenced by render(), run_command(), set_pane_state(), and set_select_mode().
References M_PI, m_rotation_deg, and m_tiling_scale.
Referenced by end_gesture(), and on_mouse().
|
private |
References island_uv(), m_islands, and m_zoom.
Referenced by on_mouse(), and update_hover().
|
private |
References m_zoom.
Referenced by rebuild_grid(), render(), and screen_to_uv().
|
private |
Referenced by end_gesture(), on_mouse(), render(), set_islands(), and set_select_mode().
|
private |
Referenced by end_gesture(), on_mouse(), render(), set_islands(), and set_select_mode().
|
private |
Referenced by rebuild_background_texture(), render(), and set_background_texture().
|
private |
Referenced by rebuild_background_quad(), and render().
|
private |
Referenced by rebuild_background_quad(), rebuild_background_texture(), and set_background_texture().
|
private |
Referenced by rebuild_background_texture(), and set_background_texture().
|
private |
Referenced by rebuild_background_quad(), rebuild_background_texture(), render(), set_island_transforms(), set_islands(), and set_uv_transform().
|
private |
Referenced by rebuild_background_texture(), and render().
|
private |
Referenced by rebuild_background_quad(), rebuild_background_texture(), and set_background_texture().
|
private |
Referenced by UVEditorCanvas(), and render().
|
private |
Referenced by on_leave(), on_mouse(), and render().
|
private |
Referenced by on_mouse(), and render().
|
private |
Referenced by rebuild_rotation_dial(), and render().
|
private |
Referenced by on_mouse().
|
private |
Referenced by cancel_gesture(), end_gesture(), on_key(), on_leave(), on_mouse(), rebuild_rotation_dial(), set_select_mode(), and update_status().
|
private |
Referenced by on_key(), and on_mouse().
|
private |
Referenced by on_key(), and on_mouse().
|
private |
Referenced by on_mouse().
|
private |
Referenced by invalidate_gl(), and render().
|
private |
Referenced by rebuild_grid(), and render().
|
private |
Referenced by rebuild_grid().
|
private |
Referenced by on_leave(), render(), set_islands(), set_select_mode(), and update_hover().
|
private |
Referenced by on_leave(), render(), set_islands(), set_select_mode(), and update_hover().
|
private |
Referenced by on_leave(), render(), set_islands(), set_select_mode(), and update_hover().
|
private |
Referenced by render(), and set_islands().
|
private |
Referenced by set_islands(), and snap_correction().
|
private |
Referenced by rebuild_island_models(), and render().
|
private |
Referenced by render(), and set_island_fill_colors().
Referenced by island_at(), move_vertex_raw(), and set_islands().
|
private |
Referenced by island_at(), and set_islands().
|
private |
Referenced by rebuild_island_models(), and render().
|
private |
Referenced by content_bounds(), edge_at(), end_gesture(), has_islands(), island_at(), island_centroid(), island_uv(), move_vertex_raw(), rebuild_island_models(), render(), set_islands(), and vertex_at().
|
private |
Referenced by move_vertex_raw(), rebuild_island_models(), render(), and set_islands().
|
private |
Referenced by cancel_gesture(), end_gesture(), on_key(), and on_mouse().
|
private |
Referenced by fit_view_to_content(), render(), reset_view(), and set_islands().
|
private |
Referenced by run_command(), and set_command_callback().
|
private |
Referenced by cancel_gesture(), end_gesture(), on_key(), on_mouse(), and set_island_edit_callback().
|
private |
Referenced by set_pane_state(), and set_pane_state_callback().
|
private |
Referenced by set_status_callback(), and update_status().
|
private |
Referenced by end_gesture(), and set_vertex_edit_callback().
Referenced by fit_view_to_content(), on_mouse(), rebuild_grid(), render(), and screen_to_uv().
|
private |
Referenced by pane_state(), set_pane_state(), and update_status().
|
private |
Referenced by cancel_gesture(), end_gesture(), on_key(), and on_mouse().
|
private |
Referenced by on_key(), and on_mouse().
|
private |
Referenced by on_key(), on_mouse(), rebuild_rotation_dial(), and update_status().
|
private |
Referenced by cancel_gesture(), end_gesture(), on_key(), and on_mouse().
|
private |
Referenced by set_uv_transform(), and uv_delta_to_unwrap().
|
private |
Referenced by is_edge_selected(), on_mouse(), render(), selected_edge_endpoints(), set_islands(), set_select_mode(), and update_status().
|
private |
Referenced by end_gesture(), is_vertex_selected(), on_mouse(), render(), set_islands(), set_select_mode(), and update_status().
|
private |
Referenced by on_key(), on_mouse(), render(), select_mode(), set_select_mode(), update_hover(), and update_status().
|
private |
Referenced by cancel_gesture(), end_gesture(), on_key(), on_mouse(), rebuild_rotation_dial(), selected_island(), set_islands(), and update_status().
|
private |
Referenced by is_selected(), on_mouse(), selected_islands(), set_islands(), and update_status().
|
private |
Referenced by run_command(), set_snap_enabled(), snap_correction(), snap_enabled(), and update_status().
|
private |
Referenced by render().
|
private |
Referenced by framed_bounds(), rebuild_background_quad(), render(), and set_uv_transform().
|
private |
Referenced by render(), and set_uv_transform().
|
private |
Referenced by set_uv_transform(), and uv_delta_to_unwrap().
|
private |
Referenced by island_at(), island_rotation_deg(), island_uv(), move_vertex_raw(), render(), and set_island_transforms().
|
private |
Referenced by cancel_gesture(), end_gesture(), and on_mouse().
|
private |
Referenced by edge_at(), fit_view_to_content(), on_mouse(), rebuild_grid(), rebuild_rotation_dial(), render(), snap_correction(), vertex_at(), and view_half_extents().