#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/CAD/DesignSketchTool.hpp>
Classes | |
| struct | DisplaySketch |
| struct | MateConnectorGlyph |
| struct | LoopInfo |
| struct | LoopReport |
| struct | DimAnnot |
| struct | Handle |
| struct | Feature |
| struct | RegionLoop |
| struct | AutoEditStep |
| struct | SketchSnap |
| struct | GlyphHit |
| struct | LabelRect |
| struct | SolidPick |
| struct | FaceHighlight |
Public Types | |
| enum class | Mode { Select , Dimension , Polyline , Line , CornerRect , CenterRect , ObliqueRect , RoundedRect , CenterCircle , TwoPointCircle , Point , ThreePointCircle , ThreePointArc , TangentArc , CenterArc , Slot , ArcSlot , Polygon , Ellipse , EllipseArc , BSpline , Fillet , Chamfer , Offset , Mirror , Trim , Extend , Move , Rotate , Scale , Array , PolarArray , TransformArt , Constrain } |
| enum class | SolidSel { None , Whole , Face , Edge , Vertex } |
| enum class | DimType { None , Length , Diameter , Radius , Angle , Distance , DistanceToLine } |
Public Member Functions | |
| Mode | mode () const |
| int | pending_points () const |
| bool | has_pending_picks () const |
| bool | gesture_pending () const |
| bool | confirm_pending () |
| bool | end_chain () |
| void | emit_step_hint () |
| bool | value_field_open () const |
| bool | is_edit_op_mode () const |
| bool | is_transform_mode () const |
| bool | is_creation_autoedit_mode () const |
| void | set_inline_busy (bool b) |
| bool | inline_busy () const |
| bool | live_sketch_has_work () const |
| void | set_escalate_on_repick (bool on) |
| bool | constrain_value_anchor (wxPoint &out) const |
| void | begin (const SketchPlane &plane, Mode mode=Mode::Polyline) |
| void | begin_edit (const std::vector< SketchEntity > &entities, const std::vector< SketchEntityConstraintDef > &constraints, const SketchPlane &plane) |
| bool | add_imported_regions (const std::vector< std::vector< std::vector< Vec2d > > > ®ions) |
| void | set_tool (Mode mode) |
| void | set_construction (bool c) |
| void | set_polygon_sides (int n) |
| void | set_polygon_circumscribed (bool c) |
| void | finish () |
| void | cancel () |
| bool | is_active () const |
| bool | has_entities () const |
| bool | on_mouse (wxMouseEvent &evt, GLCanvas3D &canvas) |
| bool | right_abandon () |
| bool | take_right_click (GLCanvas3D &canvas) |
| void | drop_right_click () |
| void | render (GLCanvas3D &canvas) |
| void | set_display_sketches (std::vector< DisplaySketch > ds) |
| void | set_highlight_sketches (std::vector< std::pair< int, ColorRGBA > > hl) |
| bool | has_display () const |
| void | set_show_planes (bool s) |
| void | set_show_axes (bool s) |
| bool | toggle_show_planes () |
| bool | toggle_show_axes () |
| void | set_solid_pick (const std::vector< CadBody > *bodies, const TriangleMesh *mesh, const std::vector< int > *tri_face, const std::vector< int > *tri_body, const std::vector< bool > *visible=nullptr, const std::vector< Transform3d > *xform=nullptr) |
| void | set_pick_only_body (int b) |
| void | set_body_edges_hidden (bool h) |
| void | clear_solid_selection () |
| void | refresh_body_edges () |
| bool | has_solid_selection () const |
| std::vector< int > | selected_edges () const |
| void | select_body (int body) |
| void | set_highlight_faces (const std::vector< std::pair< int, int > > &faces) |
| std::vector< std::pair< int, int > > | selected_faces () const |
| BoundingBoxf3 | fit_box (const GLVolumeCollection &volumes) const |
| BoundingBoxf3 | selection_box () const |
| BoundingBoxf3 | faces_box (std::vector< std::pair< int, int > > faces) const |
| void | set_move_gizmo (int body, const Vec3d &pivot, const Transform3d &base_xform, double body_radius=0.0) |
| void | clear_move_gizmo () |
| int | move_body_index () const |
| void | grab_move_arrow (int axis, const Linef3 &ray) |
| void | drag_move_arrow (const Linef3 &ray) |
| std::vector< SketchEntity > | selected_loop_entities () const |
| std::vector< std::vector< int > > | region_entity_indices (const std::vector< SketchEntity > &ents) const |
| std::vector< std::vector< int > > | region_entity_indices_with_holes (const std::vector< SketchEntity > &ents) const |
| void | clear_display_pick () |
| void | set_display_pick (int feature, int region) |
| int | display_pick () const |
| int | display_pick_region () const |
| void | set_extrude_gizmo (const SketchPlane &plane, const Vec2d ¢roid, double depth, double depth2, bool two_sided, bool flip) |
| void | clear_extrude_gizmo () |
| void | set_datum_gizmo (const SketchPlane &plane, double usize, double vsize, const Vec3d &base_origin, const Vec3d &base_normal, double offset, bool offset_on) |
| void | clear_datum_gizmo () |
| void | set_helix_gizmo (const SketchPlane &plane, double radius, double pitch, double height, double taper, bool left_handed) |
| void | clear_helix_gizmo () |
| void | set_rib_gizmo (const SketchPlane &plane, const Vec2d &p0, const Vec2d &p1, double thickness) |
| void | clear_rib_gizmo () |
| void | set_base_pick (std::vector< SketchPlane > planes, std::vector< int > bases, std::vector< std::string > labels={}) |
| void | clear_base_pick () |
| bool | draws_reference_axes () const |
| bool | set_fillet_gizmo (const Vec3d &body_centroid, double radius) |
| void | clear_fillet_gizmo () |
| bool | filleting () const |
| void | set_hole_gizmo (const SketchPlane &plane, double x, double y, double diameter, double depth, bool through) |
| void | set_hole_face_bounds (bool has, double umin, double umax, double vmin, double vmax) |
| void | clear_hole_gizmo () |
| bool | holing () const |
| void | set_thread_gizmo (const SketchPlane &plane, double x, double y, double radius, double height) |
| void | clear_thread_gizmo () |
| bool | threading () const |
| void | set_shell_gizmo (const Vec3d &face_centroid, const Vec3d &inward_dir, double thickness) |
| void | clear_shell_gizmo () |
| bool | shelling () const |
| void | set_datum_planes (std::vector< SketchPlane > planes, std::vector< Vec2d > sizes={}) |
| void | set_mate_connectors (std::vector< MateConnectorGlyph > g) |
| void | set_mate_links (std::vector< std::pair< Vec3d, Vec3d > > l) |
| void | clear_mate_connectors () |
| void | set_revolve_gizmo (const SketchPlane &plane, const Vec2d ¢roid, const Vec3d &axis_origin, const Vec3d &axis_dir, double angle, bool flip) |
| void | clear_revolve_gizmo () |
| bool | revolving () const |
| void | set_draft_gizmo (const Vec3d &face_centroid, const Vec3d &face_normal, double angle) |
| void | clear_draft_gizmo () |
| bool | drafting () const |
| void | set_on_draft_angle_changed (std::function< void(double)> cb) |
| void | set_cut_gizmo (const SketchPlane &plane, double offset, const Vec3d &body_center, double half_extent) |
| void | clear_cut_gizmo () |
| bool | cutting () const |
| void | set_on_cut_offset_changed (std::function< void(double)> cb) |
| void | set_pattern_gizmo (const SketchPlane &plane, const Vec3d &body_centroid, bool circular, int count, int dir, double spacing, double angle) |
| void | clear_pattern_gizmo () |
| bool | patterning () const |
| void | begin_constrain (const SketchProfile &prof, const SketchPlane &plane) |
| bool | is_constraining () const |
| void | set_profile_points (const std::vector< Vec2d > &pts) |
| bool | selected_segment (int &a, int &b) const |
| void | begin_constrain_entities (const std::vector< SketchEntity > &ents, const SketchPlane &plane) |
| bool | is_constraining_entities () const |
| void | begin_imported_transform (int feat, const std::vector< std::vector< std::vector< Vec2d > > > &base_regions, const SketchPlane &plane, const Vec2d &offset, double scale_x, double scale_y) |
| bool | selected_constrain_entities (int &e0, int &e1) const |
| int | pick2 () const |
| bool | pick0_point (Vec2d &out) const |
| void | set_constrain_entities (const std::vector< SketchEntity > &ents) |
| void | set_constraint_highlight (std::vector< int > v) |
| void | set_constraint_glyphs (std::vector< SketchEntityConstraintDef > v) |
| void | apply_segment_length (double len) |
| void | keep_segment_as_drawn () |
| const std::vector< int > & | selection () const |
| bool | sketch_has_selection () const |
| bool | first_selected_type (SketchEntity::Type &out) const |
| bool | select_at_screen (GLCanvas3D &canvas, int sx, int sy) |
| bool | open_selection_dimension_editor () |
| const std::vector< SketchEntity > & | entities () const |
| const SketchPlane & | plane () const |
| int | dof () const |
| bool | solve_ok () const |
| int | add_entities_scripted (const std::vector< SketchEntity > &ents) |
| bool | select_indices (const std::vector< int > &idx) |
| bool | try_add_constraints (const std::vector< SketchEntityConstraintDef > &cands) |
| bool | remove_constraint_near (const Vec2d &p) |
| bool | remove_constraint (int idx) |
| LoopReport | loop_report () const |
| int | heal_coincidences (double tol, bool ignore_construction) |
| void | clear_selection () |
| int | toggle_selection_construction () |
| void | delete_selected () |
| void | reset_autoedit () |
| void | close_session_chrome () |
| bool | undo_last_entity () |
| bool | redo_last_entity () |
| bool | can_undo_entity () const |
| bool | can_redo_entity () const |
| DimType | dimension_kind () const |
| double | dimension_current () const |
| void | apply_dimension (double v) |
| DimType | pending_dimension_type () const |
| void | set_dimension_value (double v) |
| void | cancel_dimension_value () |
| void | notify (const std::string &msg, bool error=true) |
| void | show_refusal (const std::string &why) |
| const std::vector< SketchEntityConstraintDef > & | constraints () const |
| bool | abort_gesture () |
| bool | disarm_tool () |
| void | request_exit () |
Static Public Member Functions | |
| static BoundingBoxf3 | sketch_box (const std::vector< SketchEntity > &entities, const SketchPlane &plane) |
| static void | pad_box (BoundingBoxf3 &box) |
Public Attributes | |
| class SketchInlineEditor * | inline_editor {nullptr} |
| std::function< void()> | render_overlays |
| int | m_pick_press_x = 0 |
| int | m_pick_press_y = 0 |
| bool | m_pick_pending = false |
| std::function< void(int body, const Transform3d &xform)> | on_body_move_changed |
| std::function< void(int level, int body, int face, int edge)> | on_solid_selection_changed |
| std::function< void()> | on_empty_pick |
| std::function< void(int feature, int region, int entity)> | on_display_sketch_selected |
| std::function< void(int feature)> | on_display_sketch_activated |
| std::function< void(double depth, bool second)> | on_extrude_depth_changed |
| std::function< void(double usize, double vsize)> | on_datum_size_changed |
| std::function< void(double offset)> | on_datum_offset_changed |
| std::function< void(double radius, double pitch, double height)> | on_helix_changed |
| std::function< void(double thickness)> | on_rib_thickness_changed |
| std::function< void(int base)> | on_datum_base_picked |
| std::function< int()> | selected_base |
| std::function< void(double radius)> | on_fillet_radius_changed |
| std::function< void(double x, double y, double diameter, double depth)> | on_hole_changed |
| std::function< void(double x, double y, double radius, double height)> | on_thread_changed |
| std::function< void(double thickness)> | on_shell_thickness_changed |
| std::function< void(double angle)> | on_revolve_angle_changed |
| std::function< void(double value)> | on_pattern_changed |
| std::function< void(int feat, Vec2d offset, double scale_x, double scale_y)> | on_imported_transform |
| std::function< void(double length, double angle_deg)> | on_segment_drawn |
| std::function< void(double length, double angle_deg, bool locked)> | on_cursor_metrics |
| std::function< void(Mode mode, int step, int picks)> | on_step_changed |
| std::function< void()> | on_constraints_changed |
| std::function< void(int dof, bool ok, bool has_constraints)> | on_solve_state |
| std::function< void(int count)> | on_selection_changed |
| std::function< void(double current)> | on_dimension_pick_complete |
| std::function< void(wxPoint screen_px, double current, const std::string &title, std::function< void(double)> commit, std::function< void()> cancel)> | on_inline_edit |
| std::function< void()> | on_inline_dismiss |
| std::function< void()> | on_inline_commit |
| std::function< void(const std::string &)> | on_readout |
| std::function< void(const std::string &msg, bool error)> | on_notice |
| std::function< void(const std::vector< SketchEntity > &, const std::vector< SketchEntityConstraintDef > &, const SketchPlane &)> | on_commit_entities |
| std::function< void(const SketchProfile &, const SketchPlane &)> | on_commit |
| std::function< void(int)> | on_face_selected |
| std::function< void()> | on_exit |
| std::function< void()> | on_exit_refused |
Private Types | |
| enum class | HandleRole { P0 , P1 , Center , RadiusHandle , SlotCenter0 , SlotCenter1 , SlotWidth , RectCorner , PolygonVertex , MajorAxis , MinorAxis , BSplineCtrl } |
| enum class | FeatureKind { Free , Line , Circle , Arc , CornerRect , CenterRect , Slot , ArcSlot , Polygon , Ellipse , RoundedRect , BSpline } |
Private Member Functions | |
| bool | screen_to_plane (GLCanvas3D &canvas, const wxMouseEvent &evt, Vec2d &out) const |
| bool | snap_chain_start (GLCanvas3D &canvas, const wxMouseEvent &evt, Vec2d &p) const |
| Vec2d | snap_dir (const Vec2d &anchor, const Vec2d &raw, bool &locked) const |
| Vec2d | snap_vertex (GLCanvas3D &canvas, const wxMouseEvent &evt, const Vec2d &raw, bool &snapped) const |
| bool | click_snaps () const |
| double | screen_tol (GLCanvas3D &canvas, const wxMouseEvent &evt, const Vec2d &at, double px=kPickPx) const |
| InferenceSnap | infer_at (GLCanvas3D &canvas, const wxMouseEvent &evt, const Vec2d &raw) const |
| bool | has_coincident (int ea, SketchPointRole ra, int eb, SketchPointRole rb) const |
| void | infer_auto_constraints (int base, double ang_tol_rad=3.0 *M_PI/180.0, double weld_tol=1e-3) |
| int | hit_test (const Vec2d &p, double tol) const |
| std::vector< int > | connected_loop (int seed) const |
| void | apply_angle_between (int ia, int ib, double deg) |
| bool | selection_valid () const |
| void | record_dimension_constraint (double v) |
| void | resolve_live () |
| void | announce_loop_defects () |
| void | resolve_live_drag (int dragged_ei, SketchPointRole dragged_role) |
| std::vector< Handle > | build_handles () const |
| bool | hit_test_handle (const Vec2d &p, double tol, Handle &out) const |
| void | set_handle (const Handle &h, const Vec2d &target) |
| bool | update_hover (GLCanvas3D &canvas, wxMouseEvent &evt) |
| int | feature_of (int ei) const |
| void | rebuild_features_from_entities () |
| void | begin_feature (FeatureKind kind) |
| void | end_feature (const Vec2d &c0=Vec2d(0, 0), const Vec2d &c1=Vec2d(0, 0), double param=0.0, int sides=0) |
| bool | point_at (int ei, SketchPointRole role, Vec2d &out) const |
| void | set_point (int ei, SketchPointRole role, const Vec2d &v) |
| bool | hit_test_point (const Vec2d &p, double tol, int &ei, SketchPointRole &role) const |
| int | hit_test_dimension (const Vec2d &p, double tol) const |
| void | edit_dimension (int di) |
| Vec2d | dim_anchor (const DimAnnot &a) const |
| void | open_value_editor (int di) |
| void | open_angle_editor (int ei) |
| void | set_line_angle (int ei, double deg) |
| void | open_primary_autoedit () |
| std::string | build_readout () const |
| void | open_next_autoedit_dim () |
| void | arm_polyline_segment_edit () |
| void | open_polygon_side_editor (int fi) |
| void | open_polygon_angle_editor (int fi) |
| void | set_polygon_side (int fi, double side) |
| void | set_polygon_angle (int fi, double deg) |
| void | set_polygon_radius (int fi, double R) |
| void | open_arc_angle_editor (int ei) |
| void | set_arc_sweep (int ei, double deg) |
| void | drag_arc_handle (int ei, SketchPointRole role, const Vec2d &target) |
| void | open_ellipse_axis_editor (int ei, bool major) |
| void | set_ellipse_axis (int ei, bool major, double v) |
| void | set_ellipsearc_sweep (int ei, double deg) |
| void | set_rect_angle (int fi, double deg) |
| void | drag_ellipsearc_handle (int ei, SketchPointRole role, const Vec2d &target) |
| int | erase_constraints (const std::function< bool(int, const SketchEntityConstraintDef &)> &drop) |
| void | drop_orientation_constraints (int begin, int end) |
| void | drop_constraints_referencing (int ei) |
| bool | apply_live_trim (const Vec2d &p, double tol, bool extend) |
| bool | compute_trim_preview (const Vec2d &p, double tol, bool extend, int &subject_ei, std::vector< Vec2d > &removed_poly) const |
| void | drag_polygon_vertex (int fi, int ei, SketchPointRole role, const Vec2d &target) |
| double | measure_dim (const DimAnnot &a) const |
| std::string | dimtype_title (DimType k) const |
| SketchEntityConstraintDef | constraint_for (const DimAnnot &a) const |
| int | upsert_constraint (const SketchEntityConstraintDef &c) |
| int | upsert_dimension (const DimAnnot &a) |
| int | upsert_dimension_constraint (const SketchEntityConstraintDef &c) |
| int | place_dimension (DimAnnot a) |
| std::string | dim_text (const DimAnnot &a) const |
| void | render_dimensions (double unit_per_px) |
| bool | draw_dim_quote (const DimAnnot &a, double th, const ColorRGBA &col, Vec2d &out_label) |
| void | render_live_quotes (double unit_per_px) |
| void | build_constraint_glyphs (double unit_per_px, const std::vector< SketchEntityConstraintDef > &cons, std::vector< std::pair< Vec2d, Vec2d > > &out) |
| void | draw_strokes (GLModel &model, const std::vector< std::pair< Vec2d, Vec2d > > &segs, double hw, const ColorRGBA &color) |
| void | draw_text (GLModel &model, const std::string &s, const Vec2d ¢er, double height, const ColorRGBA &color) |
| void | draw_dim_label (const std::string &txt, const Vec2d &plane_center) |
| void | push_line (const Vec2d &a, const Vec2d &b) |
| void | push_closed_lines (const std::vector< Vec2d > &corners) |
| void | push_open_chain (const std::vector< Vec2d > &pts) |
| void | push_circle (const Vec2d ¢er, double radius) |
| void | push_point (const Vec2d &p) |
| std::vector< SketchEntity > | make_three_point_circle (const Vec2d &a, const Vec2d &b, const Vec2d &c) const |
| std::vector< SketchEntity > | make_three_point_arc (const Vec2d &start, const Vec2d &end, const Vec2d &on_arc) const |
| std::vector< SketchEntity > | make_tangent_arc (const Vec2d &start, const Vec2d &end) const |
| std::vector< SketchEntity > | make_center_arc (const Vec2d ¢er, const Vec2d &start, const Vec2d &end_dir) const |
| std::vector< SketchEntity > | make_slot (const Vec2d &c0, const Vec2d &c1, double half_width) const |
| std::vector< SketchEntity > | make_arc_slot (const Vec2d ¢er, const Vec2d &start, const Vec2d &end_dir, double half_width) const |
| std::vector< SketchEntity > | make_rounded_rect (const Vec2d &a, const Vec2d &b, const Vec2d &radius_pt) const |
| std::vector< SketchEntity > | rounded_rect_entities (double xmin, double ymin, double xmax, double ymax, double r) const |
| void | open_rounded_rect_editor (int fi, int which) |
| void | set_rounded_rect (int fi, double w, double h, double r) |
| void | open_arc_slot_editor (int fi, bool radius) |
| void | set_arc_slot (int fi, double Rc, double w) |
| void | open_slot_editor (int fi, int which) |
| void | set_slot (int fi, double length, double w) |
| void | set_slot_angle (int fi, double deg) |
| void | drag_rect_corner (int fi, const Vec2d &cursor) |
| void | drag_slot_handle (int fi, const Vec2d &cursor) |
| std::vector< SketchEntity > | make_polygon (const Vec2d ¢er, const Vec2d &vertex, int sides) const |
| std::vector< SketchEntity > | make_ellipse (const Vec2d ¢er, const Vec2d &major_end, const Vec2d &minor_pt) const |
| std::vector< SketchEntity > | make_bspline (const std::vector< Vec2d > &ctrl) const |
| std::vector< SketchEntity > | make_ellipse_arc (const Vec2d ¢er, const Vec2d &major_end, const Vec2d &minor_pt, const Vec2d &start_pt, const Vec2d &end_pt) const |
| void | append_entities (const std::vector< SketchEntity > &ents) |
| void | draw_entities_preview (const std::vector< SketchEntity > &ents, const ColorRGBA &color) |
| bool | op_corner (int a, int b, Vec2d &C, Vec2d &bis, double &theta) const |
| void | op_pick (int ei) |
| void | recompute_op_ghost () |
| void | render_op_gizmo (double unit_per_px) |
| bool | hit_test_op_arrow (const Vec2d &p, double tol) const |
| void | drag_op_arrow (const Vec2d &target) |
| void | open_op_editor () |
| void | confirm_op () |
| void | reset_op () |
| bool | op_ready () const |
| std::vector< std::vector< Vec2d > > | closed_regions () const |
| std::vector< std::vector< Vec2d > > | closed_regions (const std::vector< SketchEntity > &ents) const |
| std::vector< RegionLoop > | region_loops (const std::vector< SketchEntity > &ents) const |
| int | region_at (const Vec2d &p) const |
| void | draw_quad_strip (GLModel &model, const std::vector< Vec2d > &pts, bool closed, const ColorRGBA &color) |
| void | draw_vertices (GLModel &model, const std::vector< Vec2d > &pts, const ColorRGBA &color, double half_size=1.3) |
| void | draw_fill (GLModel &model, const std::vector< Vec2d > &poly, const ColorRGBA &color) |
| void | draw_fill_holed (GLModel &model, const std::vector< Vec2d > &outer, const std::vector< std::vector< Vec2d > > &holes, const ColorRGBA &color) |
| const ColorRGBA * | sketch_hl_color (int feature) const |
| std::vector< SketchEntity > | op_chain_entities () const |
| void | xform_world_corners (Vec2d out[4]) const |
| int | hit_test_xform_handle (const Vec2d &p, double tol) const |
| void | drag_xform_handle (const Vec2d &target) |
| void | render_xform_gizmo () |
| void | emit_xform () |
| void | reset_xform () |
| bool | tf_ready () const |
| void | tf_pick (int ei) |
| void | compute_tf_pivot () |
| void | recompute_tf_ghost () |
| Vec2d | tf_handle_pos () const |
| bool | hit_test_tf_handle (const Vec2d &p, double tol) const |
| void | drag_tf_handle (const Vec2d &target) |
| void | render_tf_gizmo (double unit_per_px) |
| void | open_tf_editor_a () |
| void | open_tf_editor_count () |
| void | confirm_transform () |
| void | reset_tf () |
| Vec3d | body_xform_pt (int body, const Vec3d &p) const |
| void | render_body_edges () |
| const TopoDS_Shape * | body_shape (int body) const |
| bool | is_current_shape (int body, const TopoDS_Shape &sampled) const |
| void | append_ribbons (GLModel::Geometry &g, int body, const std::vector< std::vector< Vec3d > > &polylines, const Vec3d &vd, const Vec3d &pull, double hw) const |
| bool | body_pickable (int b) const |
| bool | handle_solid_click (GLCanvas3D &canvas, const wxMouseEvent &evt) |
| bool | resolve_solid_pick (GLCanvas3D &canvas, int mx, int my, SolidPick &out) const |
| bool | update_solid_hover (GLCanvas3D &canvas, const wxMouseEvent &evt) |
| void | pick_bodies_in_rectangle () |
| bool | on_mouse_impl (wxMouseEvent &evt, GLCanvas3D &canvas) |
| void | hit_display_sketch (const DisplaySketch &d, const Vec2d &p, double tol, int &edge_feat, int &edge_reg, int &edge_ent, double &edge_d, int &face_feat, int &face_reg) const |
| void | render_solid_highlight () |
| void | render_solid_sel (SolidSel kind, const std::vector< Vec3d > &edge_pts, const Vec3d &vertex_pt, const ColorRGBA &rgb) |
| FaceHighlight | make_face_highlight (int body, std::vector< int > faces) const |
| std::vector< std::pair< int, int > > | picked_faces () const |
| const FaceHighlight & | cached_face_highlight (FaceHighlight &cache, int body, std::vector< int > faces) const |
| void | render_face_outline (const FaceHighlight &h, bool quiet) |
| void | render_datum_planes () |
| void | render_view_helpers () |
| void | render_mate_connectors () |
| void | render_mate_face (const Vec3d &origin, const Vec3d &X, const Vec3d &Y, const Vec3d &Z, double R, const ColorRGBA &body) |
| void | render_extrude_gizmo () |
| bool | hit_test_extrude_arrow (GLCanvas3D &canvas, const wxMouseEvent &evt, int &which) const |
| void | drag_extrude_arrow (GLCanvas3D &canvas, const wxMouseEvent &evt, int which) |
| void | open_extrude_editor (int which) |
| void | render_datum_gizmo () |
| bool | hit_test_datum_handle (GLCanvas3D &canvas, const wxMouseEvent &evt, int &which) const |
| void | drag_datum_handle (GLCanvas3D &canvas, const wxMouseEvent &evt, int which) |
| Vec3d | helix_point (double t) const |
| void | render_helix_gizmo () |
| bool | hit_test_helix_handle (GLCanvas3D &canvas, const wxMouseEvent &evt, int &which) const |
| void | drag_helix_handle (GLCanvas3D &canvas, const wxMouseEvent &evt, int which) |
| void | render_rib_gizmo () |
| bool | hit_test_rib_handle (GLCanvas3D &canvas, const wxMouseEvent &evt, int &which) const |
| void | drag_rib_handle (GLCanvas3D &canvas, const wxMouseEvent &evt, int which) |
| double | dbp_half_extent () const |
| std::vector< SketchPlane > | dbp_squares (double half) const |
| void | render_reference_axes (const Vec3d &origin, double half) |
| void | render_base_pick () |
| int | hit_test_base_pick (GLCanvas3D &canvas, const wxMouseEvent &evt) const |
| Transform3d | compose_move_xform () const |
| void | ring_basis (int axis, Vec3d &e, Vec3d &u, Vec3d &v) const |
| void | render_move_gizmo () |
| double | move_gizmo_arm (const Camera &cam) const |
| bool | hit_test_move_arrow (GLCanvas3D &canvas, const wxMouseEvent &evt, int &axis) const |
| bool | hit_test_move_arc (GLCanvas3D &canvas, const wxMouseEvent &evt, int &axis) const |
| void | drag_move_arc (GLCanvas3D &canvas, const wxMouseEvent &evt, int axis) |
| bool | arc_mouse_angle (GLCanvas3D &canvas, const wxMouseEvent &evt, int axis, double &ang) const |
| void | open_move_editor (int axis) |
| void | render_fillet_gizmo () |
| bool | hit_test_fillet_arrow (GLCanvas3D &canvas, const wxMouseEvent &evt) const |
| double | fillet_axis_proj (GLCanvas3D &canvas, const wxMouseEvent &evt) const |
| void | start_fillet_drag (GLCanvas3D &canvas, const wxMouseEvent &evt) |
| void | drag_fillet_arrow (GLCanvas3D &canvas, const wxMouseEvent &evt) |
| void | open_fillet_editor () |
| void | render_hole_gizmo () |
| int | hit_test_hole_handle (GLCanvas3D &canvas, const wxMouseEvent &evt) const |
| double | hole_axis_proj (GLCanvas3D &canvas, const wxMouseEvent &evt, const Vec3d &anchor, const Vec3d &dir) const |
| void | start_hole_drag (GLCanvas3D &canvas, const wxMouseEvent &evt, int which) |
| void | drag_hole_handle (GLCanvas3D &canvas, const wxMouseEvent &evt) |
| void | open_hole_editor (int which) |
| void | render_thread_gizmo () |
| int | hit_test_thread_handle (GLCanvas3D &canvas, const wxMouseEvent &evt) const |
| void | start_thread_drag (GLCanvas3D &canvas, const wxMouseEvent &evt, int which) |
| void | drag_thread_handle (GLCanvas3D &canvas, const wxMouseEvent &evt) |
| void | open_thread_editor (int which) |
| void | render_shell_gizmo () |
| bool | hit_test_shell_arrow (GLCanvas3D &canvas, const wxMouseEvent &evt) const |
| void | start_shell_drag (GLCanvas3D &canvas, const wxMouseEvent &evt) |
| void | drag_shell_arrow (GLCanvas3D &canvas, const wxMouseEvent &evt) |
| void | open_shell_editor () |
| void | render_revolve_gizmo () |
| bool | hit_test_revolve_handle (GLCanvas3D &canvas, const wxMouseEvent &evt) const |
| void | drag_revolve_arc (GLCanvas3D &canvas, const wxMouseEvent &evt) |
| void | open_revolve_editor () |
| void | render_draft_gizmo () |
| bool | hit_test_draft_handle (GLCanvas3D &canvas, const wxMouseEvent &evt) const |
| void | drag_draft_arc (GLCanvas3D &canvas, const wxMouseEvent &evt) |
| void | render_cut_gizmo () |
| bool | hit_test_cut_arrow (GLCanvas3D &canvas, const wxMouseEvent &evt) const |
| void | start_cut_drag (GLCanvas3D &canvas, const wxMouseEvent &evt) |
| void | drag_cut_arrow (GLCanvas3D &canvas, const wxMouseEvent &evt) |
| void | render_pattern_gizmo () |
| bool | hit_test_pattern_handle (GLCanvas3D &canvas, const wxMouseEvent &evt) const |
| void | drag_pattern_handle (GLCanvas3D &canvas, const wxMouseEvent &evt) |
| void | open_pattern_editor () |
Static Private Member Functions | |
| static std::vector< Vec2d > | entity_polyline (const SketchEntity &e, bool &closed) |
Static Private Attributes | |
| static constexpr double | kPickPx = 8.0 |
| static constexpr double | kToolPickPx = 24.0 |
| static constexpr double | kLabelPx = 24.0 |
| struct Slic3r::GUI::DesignSketchTool::DisplaySketch |
| Class Members | ||
|---|---|---|
| vector< SketchEntity > | entities | |
| int | feature {-1} | |
| SketchPlane | plane | |
| struct Slic3r::GUI::DesignSketchTool::MateConnectorGlyph |
| struct Slic3r::GUI::DesignSketchTool::LoopInfo |
| Class Members | ||
|---|---|---|
| double | area {0.0} | |
| bool | closed {false} | |
| bool | defect {false} | |
| Vec2d | defect_at {0, 0} | |
| vector< int > | ents | |
| vector< int > | holes | |
| struct Slic3r::GUI::DesignSketchTool::LoopReport |
| struct Slic3r::GUI::DesignSketchTool::DimAnnot |
| Class Members | ||
|---|---|---|
| int | con {-1} | |
| int | ea {-1} | |
| int | eb {-1} | |
| DimType | kind {DimType::None} | |
| Vec2d | label_pos {0, 0} | |
| SketchPointRole | ra {SketchPointRole::P0} | |
| SketchPointRole | rb {SketchPointRole::P0} | |
| double | side {1.0} | |
| double | value {0.0} | |
| struct Slic3r::GUI::DesignSketchTool::Handle |
| Class Members | ||
|---|---|---|
| int | ctrl_index {-1} | |
| int | ei {-1} | |
| int | group {-1} | |
| bool | hovered {false} | |
| Vec2d | pos {0, 0} | |
| HandleRole | role {HandleRole::P0} | |
| struct Slic3r::GUI::DesignSketchTool::Feature |
| Class Members | ||
|---|---|---|
| int | begin {0} | |
| Vec2d | c0 {0, 0} | |
| Vec2d | c1 {0, 0} | |
| int | end {0} | |
| FeatureKind | kind {FeatureKind::Free} | |
| double | param {0.0} | |
| int | sides {0} | |
| struct Slic3r::GUI::DesignSketchTool::RegionLoop |
| struct Slic3r::GUI::DesignSketchTool::AutoEditStep |
| Class Members | ||
|---|---|---|
| function< void(double)> | apply | |
| vector< int > | hi | |
| Vec2d | label | |
| string | title | |
| double | value | |
| struct Slic3r::GUI::DesignSketchTool::SketchSnap |
| Class Members | ||
|---|---|---|
| size_t | after_constraints {0} | |
| size_t | after_entities {0} | |
| vector< SketchEntityConstraintDef > | constraints | |
| vector< DimAnnot > | dimensions | |
| vector< SketchEntity > | entities | |
| vector< Feature > | features | |
| struct Slic3r::GUI::DesignSketchTool::GlyphHit |
| Class Members | ||
|---|---|---|
| Vec2d | c {0,0} | |
| int | con {-1} | |
| struct Slic3r::GUI::DesignSketchTool::LabelRect |
| struct Slic3r::GUI::DesignSketchTool::SolidPick |
| Class Members | ||
|---|---|---|
| int | body {-1} | |
| int | edge {-1} | |
| vector< Vec3d > | edge_pts | |
| int | face {-1} | |
| SolidSel | kind {SolidSel::None} | |
| Vec3d | vertex_pt {Vec3d::Zero()} | |
| struct Slic3r::GUI::DesignSketchTool::FaceHighlight |
| Class Members | ||
|---|---|---|
| int | body {-1} | |
| vector< vector< Vec3d > > | edges | |
| vector< int > | faces | |
| TopoDS_Shape | shape | |
|
strong |
|
strongprivate |
|
strongprivate |
|
strong |
|
strong |
| bool Slic3r::GUI::DesignSketchTool::abort_gesture | ( | ) |
References emit_step_hint(), gesture_pending(), has_pending_picks(), m_dim_e0, m_dim_has0, m_dim_r0, m_has_cursor, m_pick0, m_pick1, m_pick2, m_point_sel, m_points, m_sel_a, m_sel_b, m_selection, on_selection_changed, Slic3r::P0, reset_op(), and reset_tf().
Referenced by request_exit().
| int Slic3r::GUI::DesignSketchTool::add_entities_scripted | ( | const std::vector< SketchEntity > & | ents | ) |
References add_entities_scripted(), infer_auto_constraints(), m_autoedit_seen, m_entities, and resolve_live().
Referenced by Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_add(), Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_mirror(), Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_offset(), and add_entities_scripted().
| bool Slic3r::GUI::DesignSketchTool::add_imported_regions | ( | const std::vector< std::vector< std::vector< Vec2d > > > & | regions | ) |
References add_imported_regions(), m_active, m_construction, m_entities, push_closed_lines(), reset_autoedit(), and resolve_live().
Referenced by add_imported_regions().
|
private |
References _u8L, m_entities, m_loop_defect_shown, notify(), and region_loops().
Referenced by resolve_live_drag().
|
private |
References append_entities(), and m_entities.
Referenced by append_entities(), end_chain(), and on_mouse_impl().
|
private |
References Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), append_ribbons(), body_xform_pt(), Slic3r::cast(), Slic3r::GUI::GLModel::Geometry::format, Slic3r::GUI::GLModel::Geometry::P3, Slic3r::pull, Slic3r::GUI::GLModel::Geometry::Triangles, and Slic3r::GUI::GLModel::Geometry::vertices_count().
Referenced by append_ribbons(), render_body_edges(), render_face_outline(), and render_reference_axes().
|
private |
References Slic3r::cross(), m_entities, M_PI, Slic3r::SketchEntity::p0, and Slic3r::SketchEntity::p1.
Referenced by apply_dimension().
| void Slic3r::GUI::DesignSketchTool::apply_dimension | ( | double | v | ) |
References _u8L, Angle, apply_angle_between(), Diameter, dimension_kind(), Distance, DistanceToLine, Slic3r::dot(), Slic3r::GUI::entity_ref_point(), L, Length, Slic3r::SketchEntity::Line, m_entities, m_selection, m_solve_ok, None, notify(), on_selection_changed, Slic3r::P, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, Radius, record_dimension_constraint(), resolve_live(), show_refusal(), and Slic3r::GUI::translate_entity().
Referenced by Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_set_value(), and open_selection_dimension_editor().
|
private |
References apply_live_trim(), drop_constraints_referencing(), Slic3r::GUI::entity_pick_dist(), Slic3r::SketchEngine::extend_entity(), m_entities, and Slic3r::SketchEngine::trim_entity().
Referenced by apply_live_trim(), and on_mouse_impl().
| void Slic3r::GUI::DesignSketchTool::apply_segment_length | ( | double | len | ) |
References apply_segment_length(), Slic3r::Distance, Slic3r::SketchEntityConstraintDef::ea, Slic3r::SketchEntityConstraintDef::eb, keep_segment_as_drawn(), Slic3r::SketchEntity::Line, m_constraints, m_entities, m_points, Slic3r::P0, Slic3r::P1, Slic3r::SketchEntityConstraintDef::ra, Slic3r::SketchEntityConstraintDef::rb, resolve_live(), Slic3r::SketchEntityConstraintDef::type, and Slic3r::SketchEntityConstraintDef::value.
Referenced by apply_segment_length().
|
private |
References Slic3r::Linef3::a, arc_mouse_angle(), Slic3r::Linef3::b, m_mv_base, m_mv_offset, Slic3r::GUI::GLCanvas3D::mouse_ray(), ring_basis(), and Slic3r::GUI::wxMouseEvent.
Referenced by arc_mouse_angle(), drag_move_arc(), and on_mouse_impl().
|
private |
References _u8L, arm_polyline_segment_edit(), L, m_autoedit_dim_idx, m_autoedit_dims, M_PI, m_points, on_inline_edit, open_next_autoedit_dim(), and show_refusal().
Referenced by arm_polyline_segment_edit(), and on_mouse_impl().
| void Slic3r::GUI::DesignSketchTool::begin | ( | const SketchPlane & | plane, |
| Mode | mode = Mode::Polyline ) |
References m_active, m_autoedit_pending, m_autoedit_seen, m_awaiting_length, m_constrain_cons, m_constrain_entities, m_constraint_hl, m_constraints, m_construction, m_dim_has0, m_dimensions, m_dof, m_entities, m_entity_conflict, m_features, m_has_cursor, m_mode, m_open_feature, m_pending_dim, m_pick0, m_pick1, m_pick2, m_plane, m_point_sel, m_points, m_sel_a, m_sel_b, m_selection, m_sketch_redo, m_solve_ok, m_step_mode_last, mode(), and plane().
Referenced by begin_edit(), drop_orientation_constraints(), feature_of(), open_primary_autoedit(), toggle_selection_construction(), and undo_last_entity().
| void Slic3r::GUI::DesignSketchTool::begin_constrain | ( | const SketchProfile & | prof, |
| const SketchPlane & | plane ) |
References begin_constrain(), Constrain, m_active, m_constrain_entities, m_entities, m_has_cursor, m_mode, m_pick0, m_pick1, m_pick2, m_plane, m_points, m_sel_a, m_sel_b, plane(), and Slic3r::SketchProfile::points.
Referenced by begin_constrain().
| void Slic3r::GUI::DesignSketchTool::begin_constrain_entities | ( | const std::vector< SketchEntity > & | ents, |
| const SketchPlane & | plane ) |
References begin_constrain_entities(), Constrain, m_active, m_constrain_entities, m_entities, m_has_cursor, m_mode, m_pick0, m_pick1, m_pick2, m_plane, m_points, m_sel_a, m_sel_b, and plane().
Referenced by begin_constrain_entities().
| void Slic3r::GUI::DesignSketchTool::begin_edit | ( | const std::vector< SketchEntity > & | entities, |
| const std::vector< SketchEntityConstraintDef > & | constraints, | ||
| const SketchPlane & | plane ) |
References begin(), constraints(), entities(), m_constraints, m_entities, plane(), rebuild_features_from_entities(), resolve_live(), and Select.
|
private |
References Slic3r::f(), m_entities, m_features, and m_open_feature.
Referenced by on_mouse_impl().
| void Slic3r::GUI::DesignSketchTool::begin_imported_transform | ( | int | feat, |
| const std::vector< std::vector< std::vector< Vec2d > > > & | base_regions, | ||
| const SketchPlane & | plane, | ||
| const Vec2d & | offset, | ||
| double | scale_x, | ||
| double | scale_y ) |
References begin_imported_transform(), cancel(), Slic3r::contour(), m_active, m_has_cursor, m_mode, m_plane, m_xform_base, m_xform_feat, m_xform_handle, m_xform_max, m_xform_min, m_xform_offset, m_xform_sx, m_xform_sy, Slic3r::offset(), plane(), and TransformArt.
Referenced by begin_imported_transform().
|
private |
References body_pickable(), m_pick_only_body, m_solid_bodies, and m_solid_visible.
Referenced by body_pickable(), pick_bodies_in_rectangle(), render_face_outline(), resolve_solid_pick(), and select_body().
|
private |
References body_shape(), and m_solid_bodies.
Referenced by body_shape(), is_current_shape(), make_face_highlight(), picked_faces(), and set_highlight_faces().
References body_xform_pt(), and m_solid_xform.
Referenced by append_ribbons(), body_xform_pt(), and resolve_solid_pick().
|
private |
References Slic3r::SketchEntity::Arc, Slic3r::SketchEntity::BSpline, build_constraint_glyphs(), Slic3r::center(), Slic3r::SketchEntity::center, Slic3r::SketchEntity::Circle, Slic3r::SketchEntityConstraintDef::ea, Slic3r::SketchEntity::Ellipse, Slic3r::SketchEntity::EllipseArc, Slic3r::SketchEntity::Line, m_entities, m_glyph_hits, m_glyph_r, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, Slic3r::SketchEntity::Point, Slic3r::SketchEntity::type, and Slic3r::SketchEntityConstraintDef::type.
Referenced by build_constraint_glyphs(), and render().
|
private |
References Slic3r::SketchEntity::BSpline, BSplineCtrl, Center, Slic3r::SketchEntity::center, Slic3r::SketchEntity::Circle, Slic3r::SketchEntity::ctrl, Slic3r::GUI::DesignSketchTool::Handle::ctrl_index, Slic3r::GUI::DesignSketchTool::Handle::ei, Slic3r::SketchEntity::Ellipse, Slic3r::SketchEntity::EllipseArc, Slic3r::SketchEntity::Line, m_entities, MajorAxis, MinorAxis, P0, Slic3r::SketchEntity::p0, P1, Slic3r::SketchEntity::p1, Slic3r::GUI::DesignSketchTool::Handle::pos, Slic3r::SketchEntity::radius, RadiusHandle, Slic3r::SketchEntity::rminor, Slic3r::GUI::DesignSketchTool::Handle::role, Slic3r::SketchEntity::rotation, and Slic3r::SketchEntity::type.
Referenced by hit_test_handle(), and render().
|
private |
References _u8L, build_readout(), dim_text(), Line, m_active, m_cursor, m_has_cursor, m_live_quotes, m_mode, M_PI, m_points, and Polyline.
Referenced by build_readout(), and render().
|
private |
References Slic3r::GUI::DesignSketchTool::FaceHighlight::body, cached_face_highlight(), Slic3r::GUI::DesignSketchTool::FaceHighlight::faces, is_current_shape(), make_face_highlight(), and Slic3r::GUI::DesignSketchTool::FaceHighlight::shape.
Referenced by cached_face_highlight(), render_solid_highlight(), and set_highlight_faces().
| bool Slic3r::GUI::DesignSketchTool::can_redo_entity | ( | ) | const |
References m_active, m_constraints, m_entities, and m_sketch_redo.
Referenced by redo_last_entity(), and undo_last_entity().
|
inline |
References m_active, and m_entities.
| void Slic3r::GUI::DesignSketchTool::cancel | ( | ) |
References close_session_chrome(), m_active, m_awaiting_length, m_constrain_cons, m_constrain_entities, m_constraint_hl, m_constraints, m_construction, m_dim_has0, m_dimensions, m_dof, m_entities, m_entity_conflict, m_features, m_has_cursor, m_open_feature, m_pending_dim, m_pick0, m_pick1, m_pick2, m_point_sel, m_points, m_sel_a, m_sel_b, m_selection, m_sketch_redo, m_solve_ok, m_step_mode_last, reset_op(), reset_tf(), and reset_xform().
Referenced by begin_imported_transform(), and request_exit().
| void Slic3r::GUI::DesignSketchTool::cancel_dimension_value | ( | ) |
References cancel_dimension_value(), and m_pending_dim.
Referenced by cancel_dimension_value().
| void Slic3r::GUI::DesignSketchTool::clear_base_pick | ( | ) |
References clear_base_pick(), m_dbp_active, m_dbp_base, m_dbp_hover, m_dbp_labels, and m_dbp_planes.
Referenced by clear_base_pick().
| void Slic3r::GUI::DesignSketchTool::clear_cut_gizmo | ( | ) |
References clear_cut_gizmo(), m_ct_active, and m_ct_drag.
Referenced by clear_cut_gizmo().
| void Slic3r::GUI::DesignSketchTool::clear_datum_gizmo | ( | ) |
References clear_datum_gizmo(), m_dz_active, and m_dz_drag.
Referenced by clear_datum_gizmo().
|
inline |
References m_display_pick, and m_display_pick_region.
| void Slic3r::GUI::DesignSketchTool::clear_draft_gizmo | ( | ) |
References clear_draft_gizmo(), m_dr_active, and m_dr_drag.
Referenced by clear_draft_gizmo().
| void Slic3r::GUI::DesignSketchTool::clear_extrude_gizmo | ( | ) |
References clear_extrude_gizmo(), m_ex_active, and m_ex_drag.
Referenced by clear_extrude_gizmo().
| void Slic3r::GUI::DesignSketchTool::clear_fillet_gizmo | ( | ) |
References clear_fillet_gizmo(), m_fl_active, and m_fl_drag.
Referenced by clear_fillet_gizmo().
| void Slic3r::GUI::DesignSketchTool::clear_helix_gizmo | ( | ) |
References clear_helix_gizmo(), m_hx_active, and m_hx_drag.
Referenced by clear_helix_gizmo().
| void Slic3r::GUI::DesignSketchTool::clear_hole_gizmo | ( | ) |
References clear_hole_gizmo(), m_hl_active, and m_hl_drag.
Referenced by clear_hole_gizmo().
|
inline |
References m_mate_connectors, and m_mate_links.
| void Slic3r::GUI::DesignSketchTool::clear_move_gizmo | ( | ) |
References clear_move_gizmo(), m_mv_active, m_mv_body, m_mv_drag, m_mv_offset, and m_mv_rot.
Referenced by clear_move_gizmo().
| void Slic3r::GUI::DesignSketchTool::clear_pattern_gizmo | ( | ) |
References clear_pattern_gizmo(), m_pt_active, and m_pt_drag.
Referenced by clear_pattern_gizmo().
| void Slic3r::GUI::DesignSketchTool::clear_revolve_gizmo | ( | ) |
References clear_revolve_gizmo(), m_rv_active, and m_rv_drag.
Referenced by clear_revolve_gizmo().
| void Slic3r::GUI::DesignSketchTool::clear_rib_gizmo | ( | ) |
References clear_rib_gizmo(), m_rb_active, and m_rb_drag.
Referenced by clear_rib_gizmo().
| void Slic3r::GUI::DesignSketchTool::clear_selection | ( | ) |
References m_point_sel, m_selection, and on_selection_changed.
| void Slic3r::GUI::DesignSketchTool::clear_shell_gizmo | ( | ) |
References clear_shell_gizmo(), m_sh_active, and m_sh_drag.
Referenced by clear_shell_gizmo().
| void Slic3r::GUI::DesignSketchTool::clear_solid_selection | ( | ) |
References clear_solid_selection(), m_pre, m_sel_body, m_sel_edge, m_sel_edge_pts, m_sel_edges_more, m_sel_edges_more_pts, m_sel_face, m_sel_shape, m_solid_sel, and None.
Referenced by clear_solid_selection(), handle_solid_click(), on_mouse_impl(), pick_bodies_in_rectangle(), refresh_body_edges(), select_body(), and set_solid_pick().
| void Slic3r::GUI::DesignSketchTool::clear_thread_gizmo | ( | ) |
References clear_thread_gizmo(), m_th_active, and m_th_drag.
Referenced by clear_thread_gizmo().
|
private |
References ArcSlot, BSpline, CenterArc, CenterCircle, CenterRect, click_snaps(), CornerRect, Ellipse, EllipseArc, Line, m_mode, m_points, ObliqueRect, Point, Polygon, Polyline, RoundedRect, Slot, TangentArc, ThreePointArc, ThreePointCircle, and TwoPointCircle.
Referenced by click_snaps(), and on_mouse_impl().
|
inline |
References on_inline_dismiss, on_readout, and reset_autoedit().
Referenced by cancel(), and finish().
|
private |
References closed_regions(), and m_entities.
Referenced by closed_regions(), and closed_regions().
|
private |
References closed_regions(), and region_loops().
|
private |
References compose_move_xform(), m_mv_base, m_mv_base_xform, m_mv_offset, and m_mv_rot.
Referenced by compose_move_xform(), drag_move_arc(), drag_move_arrow(), and open_move_editor().
|
private |
References Slic3r::SketchEntity::center, compute_tf_pivot(), Slic3r::SketchEntity::ctrl, m_entities, m_tf_handle_r, m_tf_pivot, m_tf_targets, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, Slic3r::SketchEntity::radius, and Slic3r::SketchEntity::type.
Referenced by compute_tf_pivot(), and tf_pick().
|
private |
References compute_trim_preview(), Slic3r::SketchEntity::end_angle, Slic3r::GUI::entity_pick_dist(), entity_polyline(), Slic3r::SketchEngine::extend_entity(), m_entities, M_PI, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, Slic3r::SketchEntity::start_angle, Slic3r::SketchEngine::trim_entity(), and Slic3r::SketchEntity::type.
Referenced by compute_trim_preview(), and render().
|
private |
References _L_PLURAL, _u8L, Slic3r::SketchEntity::Arc, Chamfer, Slic3r::SketchEngine::chamfer_lines(), Slic3r::SketchEntity::Circle, Slic3r::Coincident, Slic3r::Concentric, confirm_op(), Slic3r::Distance, Slic3r::SketchEntityConstraintDef::ea, Slic3r::SketchEntityConstraintDef::eb, Slic3r::SketchEntityConstraintDef::ec, Slic3r::GUI::entity_moved(), erase_constraints(), Slic3r::f(), Fillet, Slic3r::SketchEngine::fillet_lines(), Slic3r::format(), Slic3r::into_u8(), Slic3r::SketchEntity::Line, m_constraints, m_entities, m_mirror_targets, m_mode, m_op_a, m_op_b, m_op_chain, m_op_value, m_selection, Mirror, Slic3r::SketchEngine::mirror_entities(), notify(), Offset, Slic3r::SketchEngine::offset_entities(), on_selection_changed, op_chain_entities(), op_ready(), Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, Slic3r::Parallel, Slic3r::SketchEntity::Point, Slic3r::SketchEntityConstraintDef::ra, Slic3r::SketchEntityConstraintDef::rb, reset_op(), resolve_live(), Slic3r::Symmetric, Slic3r::Tangent, try_add_constraints(), and Slic3r::SketchEntityConstraintDef::type.
Referenced by confirm_op(), confirm_pending(), finish(), open_op_editor(), and set_tool().
| bool Slic3r::GUI::DesignSketchTool::confirm_pending | ( | ) |
References confirm_op(), confirm_transform(), end_chain(), m_points, op_ready(), and tf_ready().
|
private |
References _L_PLURAL, _u8L, Slic3r::Angle, Slic3r::SketchEntity::Arc, Array, Slic3r::SketchEngine::array_entities(), Slic3r::Center, Slic3r::SketchEntity::center, Slic3r::SketchEntity::Circle, Slic3r::Coincident, Slic3r::Concentric, confirm_transform(), count, Slic3r::Diameter, Slic3r::Distance, Slic3r::SketchEntityConstraintDef::ea, Slic3r::SketchEntityConstraintDef::eb, Slic3r::SketchEntityConstraintDef::ec, Slic3r::EqualLength, erase_constraints(), Slic3r::Fix, Slic3r::format(), Slic3r::Horizontal, Slic3r::into_u8(), Slic3r::SketchEntity::Line, Slic3r::LockX, Slic3r::LockY, m_entities, m_mode, m_selection, m_tf_angle, m_tf_count, m_tf_delta, m_tf_pivot, m_tf_scale, m_tf_targets, Slic3r::Midpoint, mode(), Move, notify(), on_selection_changed, Slic3r::Parallel, Slic3r::Perpendicular, Slic3r::PointOnLine, Slic3r::PointOnObject, PolarArray, Slic3r::SketchEntityConstraintDef::ra, Slic3r::Radius, Slic3r::SketchEntity::radius, Slic3r::SketchEntityConstraintDef::rb, reset_tf(), resolve_live(), Rotate, Scale, Slic3r::Symmetric, tf_ready(), Slic3r::SketchEngine::transform_entities(), try_add_constraints(), Slic3r::SketchEntity::type, Slic3r::SketchEntityConstraintDef::type, Slic3r::SketchEntityConstraintDef::value, and Slic3r::Vertical.
Referenced by confirm_pending(), confirm_transform(), finish(), open_tf_editor_a(), open_tf_editor_count(), and set_tool().
|
private |
References connected_loop(), Slic3r::GUI::entity_endpoints(), m_entities, and Slic3r::sketch_join_tol().
Referenced by connected_loop(), on_mouse_impl(), and op_pick().
| bool Slic3r::GUI::DesignSketchTool::constrain_value_anchor | ( | wxPoint & | out | ) | const |
References constrain_value_anchor(), Slic3r::GUI::Camera::get_viewport(), m_entities, m_pick0, m_pick1, m_plane, and Slic3r::GUI::world_to_screen_px().
Referenced by constrain_value_anchor().
|
private |
References Slic3r::Coincident, Diameter, Slic3r::Diameter, Distance, Slic3r::Distance, DistanceToLine, Slic3r::GUI::DesignSketchTool::DimAnnot::ea, Slic3r::SketchEntityConstraintDef::ea, Slic3r::GUI::DesignSketchTool::DimAnnot::eb, Slic3r::SketchEntityConstraintDef::eb, Slic3r::GUI::DesignSketchTool::DimAnnot::kind, Length, Slic3r::P0, Slic3r::P1, Slic3r::PointOnLine, Slic3r::GUI::DesignSketchTool::DimAnnot::ra, Slic3r::SketchEntityConstraintDef::ra, Radius, Slic3r::Radius, Slic3r::GUI::DesignSketchTool::DimAnnot::rb, Slic3r::SketchEntityConstraintDef::rb, Slic3r::SketchEntityConstraintDef::type, Slic3r::GUI::DesignSketchTool::DimAnnot::value, and Slic3r::SketchEntityConstraintDef::value.
Referenced by open_primary_autoedit(), place_dimension(), and set_dimension_value().
|
inline |
References m_constraints.
Referenced by Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_describe(), and begin_edit().
|
inline |
References m_ct_active.
|
private |
References dbp_half_extent(), Slic3r::BoundingBoxBase< PointType, APointsType >::max, Slic3r::BoundingBoxBase< PointType, APointsType >::min, and Slic3r::GUI::plater().
Referenced by dbp_half_extent(), hit_test_base_pick(), and render_base_pick().
|
private |
References dbp_squares(), m_dbp_base, m_dbp_planes, and Slic3r::GUI::reference_square().
Referenced by dbp_squares(), hit_test_base_pick(), and render_base_pick().
| void Slic3r::GUI::DesignSketchTool::delete_selected | ( | ) |
References Slic3r::GUI::DesignSketchTool::Feature::begin, Slic3r::SketchEntityConstraintDef::ea, Slic3r::SketchEntityConstraintDef::eb, Slic3r::SketchEntityConstraintDef::ec, Slic3r::GUI::DesignSketchTool::Feature::end, Slic3r::f(), m_constraints, m_dim_e0, m_dim_has0, m_dim_r0, m_dimensions, m_entities, m_features, m_open_feature, m_pending_dim, m_point_sel, m_selection, on_selection_changed, Slic3r::P0, reset_autoedit(), and resolve_live().
Referenced by Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_delete(), and undo_last_entity().
References Slic3r::Center, Diameter, Slic3r::GUI::DesignSketchTool::DimAnnot::ea, Slic3r::GUI::DesignSketchTool::DimAnnot::eb, Slic3r::GUI::DesignSketchTool::DimAnnot::kind, Slic3r::GUI::DesignSketchTool::DimAnnot::label_pos, point_at(), Slic3r::GUI::DesignSketchTool::DimAnnot::ra, Radius, and Slic3r::GUI::DesignSketchTool::DimAnnot::rb.
Referenced by open_selection_dimension_editor(), and open_value_editor().
|
private |
References Angle, Diameter, dim_text(), Slic3r::GUI::DesignSketchTool::DimAnnot::kind, Radius, and Slic3r::GUI::DesignSketchTool::DimAnnot::value.
Referenced by build_readout(), dim_text(), draw_dim_quote(), render_cut_gizmo(), render_draft_gizmo(), render_extrude_gizmo(), render_fillet_gizmo(), render_hole_gizmo(), render_live_quotes(), render_move_gizmo(), render_op_gizmo(), render_pattern_gizmo(), render_revolve_gizmo(), render_shell_gizmo(), render_tf_gizmo(), and render_thread_gizmo().
| double Slic3r::GUI::DesignSketchTool::dimension_current | ( | ) | const |
References Angle, Diameter, dimension_kind(), Distance, DistanceToLine, Slic3r::GUI::entity_ref_point(), L, Length, Slic3r::SketchEntity::Line, m_entities, M_PI, m_selection, Slic3r::P, Radius, and Slic3r::SketchEntity::type.
Referenced by Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_set_value(), and open_selection_dimension_editor().
| DesignSketchTool::DimType Slic3r::GUI::DesignSketchTool::dimension_kind | ( | ) | const |
References Angle, Slic3r::SketchEntity::Arc, Slic3r::SketchEntity::Circle, Diameter, Distance, DistanceToLine, Slic3r::GUI::entity_ref_point(), Length, Slic3r::SketchEntity::Line, m_entities, m_selection, None, Radius, selection_valid(), and Slic3r::SketchEntity::type.
Referenced by Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_set_value(), apply_dimension(), dimension_current(), open_selection_dimension_editor(), and record_dimension_constraint().
|
private |
References _u8L, Angle, Diameter, dimtype_title(), Distance, DistanceToLine, Length, and Radius.
Referenced by dimtype_title(), open_primary_autoedit(), open_selection_dimension_editor(), open_value_editor(), and set_dimension_value().
| bool Slic3r::GUI::DesignSketchTool::disarm_tool | ( | ) |
References m_mode, reset_op(), reset_tf(), Select, and set_tool().
Referenced by request_exit().
|
inline |
References m_display_pick.
|
inline |
References m_display_pick_region.
|
inline |
References m_dof.
Referenced by Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_add(), Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_describe(), Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_heal(), Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_mirror(), Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_offset(), Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_set_value(), and Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_validate().
|
inline |
References m_dr_active.
|
private |
References Slic3r::SketchEntity::Arc, Slic3r::Center, Slic3r::SketchEntity::center, drag_arc_handle(), Slic3r::SketchEntity::end_angle, m_entities, M_PI, Slic3r::P0, Slic3r::SketchEntity::p0, Slic3r::P1, Slic3r::SketchEntity::p1, Slic3r::SketchEntity::radius, resolve_live(), Slic3r::SketchEntity::start_angle, and Slic3r::SketchEntity::type.
Referenced by drag_arc_handle(), and on_mouse_impl().
|
private |
References drag_cut_arrow(), hole_axis_proj(), m_ct_base, m_ct_grab_proj, m_ct_grab_val, m_ct_n, m_ct_offset, m_on_cut_offset_changed, and Slic3r::GUI::wxMouseEvent.
Referenced by drag_cut_arrow(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, drag_datum_handle(), m_dz_anchor, m_dz_normal, m_dz_offset, m_dz_plane, m_dz_usize, m_dz_vsize, Slic3r::GUI::GLCanvas3D::mouse_ray(), on_datum_offset_changed, on_datum_size_changed, and Slic3r::GUI::wxMouseEvent.
Referenced by drag_datum_handle(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::dot(), Slic3r::GUI::dr_yaxis(), drag_draft_arc(), m_dr_angle, m_dr_axis, m_dr_center, m_dr_ref, m_on_draft_angle_changed, M_PI, Slic3r::GUI::GLCanvas3D::mouse_ray(), and Slic3r::GUI::wxMouseEvent.
Referenced by drag_draft_arc(), and on_mouse_impl().
|
private |
References Slic3r::Center, Slic3r::SketchEntity::center, drag_ellipsearc_handle(), Slic3r::GUI::ellipse_param_of(), Slic3r::GUI::ellipse_point(), Slic3r::SketchEntity::EllipseArc, Slic3r::SketchEntity::end_angle, m_entities, M_PI, Slic3r::P0, Slic3r::SketchEntity::p0, Slic3r::P1, Slic3r::SketchEntity::p1, Slic3r::SketchEntity::radius, resolve_live(), Slic3r::SketchEntity::rminor, Slic3r::SketchEntity::rotation, Slic3r::SketchEntity::start_angle, and Slic3r::SketchEntity::type.
Referenced by drag_ellipsearc_handle(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, drag_extrude_arrow(), m_ex_centroid, m_ex_depth, m_ex_depth2, m_ex_flip, m_ex_plane, Slic3r::GUI::GLCanvas3D::mouse_ray(), on_extrude_depth_changed, and Slic3r::GUI::wxMouseEvent.
Referenced by drag_extrude_arrow(), and on_mouse_impl().
|
private |
References drag_fillet_arrow(), fillet_axis_proj(), m_fl_grab_proj, m_fl_grab_radius, m_fl_radius, on_fillet_radius_changed, and Slic3r::GUI::wxMouseEvent.
Referenced by drag_fillet_arrow(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, drag_helix_handle(), m_hx_height, m_hx_pitch, m_hx_plane, m_hx_radius, Slic3r::GUI::GLCanvas3D::mouse_ray(), Slic3r::SketchPlane::normal, on_helix_changed, Slic3r::SketchPlane::origin, Slic3r::SketchPlane::project(), and Slic3r::GUI::wxMouseEvent.
Referenced by drag_helix_handle(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, drag_hole_handle(), hole_axis_proj(), m_hl_depth, m_hl_diameter, m_hl_drag, m_hl_grab_proj, m_hl_grab_uv, m_hl_grab_val, m_hl_grab_x, m_hl_grab_y, m_hl_plane, m_hl_x, m_hl_y, Slic3r::GUI::GLCanvas3D::mouse_ray(), on_hole_changed, and Slic3r::GUI::wxMouseEvent.
Referenced by drag_hole_handle(), and on_mouse_impl().
|
private |
References arc_mouse_angle(), compose_move_xform(), drag_move_arc(), m_mv_arc_a0, m_mv_body, m_mv_rot, m_mv_rot_start, on_body_move_changed, ring_basis(), and Slic3r::GUI::wxMouseEvent.
Referenced by drag_move_arc(), and on_mouse_impl().
| void Slic3r::GUI::DesignSketchTool::drag_move_arrow | ( | const Linef3 & | ray | ) |
References compose_move_xform(), drag_move_arrow(), m_mv_base, m_mv_body, m_mv_drag, m_mv_grab_along, m_mv_offset, on_body_move_changed, and Slic3r::GUI::ray_axis_proj().
Referenced by drag_move_arrow(), and on_mouse_impl().
|
private |
References Slic3r::dot(), drag_op_arrow(), m_mode, m_op_anchor, m_op_dir, m_op_value, Offset, and recompute_op_ghost().
Referenced by drag_op_arrow(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::dot(), drag_pattern_handle(), M_PI, m_pt_angle, m_pt_base, m_pt_ccenter, m_pt_circular, m_pt_count, m_pt_cref, m_pt_dirw, m_pt_normal, m_pt_spacing, Slic3r::GUI::GLCanvas3D::mouse_ray(), on_pattern_changed, and Slic3r::GUI::wxMouseEvent.
Referenced by drag_pattern_handle(), and on_mouse_impl().
|
private |
References drag_polygon_vertex(), drop_orientation_constraints(), Slic3r::f(), Slic3r::SketchEntity::Line, m_entities, m_features, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, point_at(), and Slic3r::SketchEntity::type.
Referenced by drag_polygon_vertex(), and on_mouse_impl().
|
private |
References Slic3r::SketchEntity::construction, drag_rect_corner(), Slic3r::f(), Slic3r::SketchEntity::Line, m_drag_rect_anchor, m_entities, m_features, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, and Slic3r::SketchEntity::type.
Referenced by drag_rect_corner(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::dot(), drag_revolve_arc(), M_PI, m_rv_angle, m_rv_axis, m_rv_center, m_rv_flip, m_rv_ref, Slic3r::GUI::GLCanvas3D::mouse_ray(), on_revolve_angle_changed, Slic3r::GUI::rv_yaxis(), and Slic3r::GUI::wxMouseEvent.
Referenced by drag_revolve_arc(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::Geometry::dist(), drag_rib_handle(), m_rb_p0, m_rb_p1, m_rb_plane, m_rb_thickness, Slic3r::GUI::GLCanvas3D::mouse_ray(), on_rib_thickness_changed, Slic3r::perp(), Slic3r::GUI::rib_frame(), and Slic3r::GUI::wxMouseEvent.
Referenced by drag_rib_handle(), and on_mouse_impl().
|
private |
References drag_shell_arrow(), hole_axis_proj(), m_sh_anchor, m_sh_dir, m_sh_grab_proj, m_sh_grab_val, m_sh_thickness, on_shell_thickness_changed, and Slic3r::GUI::wxMouseEvent.
Referenced by drag_shell_arrow(), and on_mouse_impl().
|
private |
References drag_slot_handle(), Slic3r::f(), m_drag_slot_c1, m_entities, m_features, and make_slot().
Referenced by drag_slot_handle(), and on_mouse_impl().
|
private |
References Array, drag_tf_handle(), m_mode, m_tf_angle, m_tf_delta, m_tf_handle_r, m_tf_pivot, m_tf_scale, Move, PolarArray, recompute_tf_ghost(), Rotate, and Scale.
Referenced by drag_tf_handle(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, drag_thread_handle(), hole_axis_proj(), m_th_drag, m_th_grab_proj, m_th_grab_uv, m_th_grab_val, m_th_grab_x, m_th_grab_y, m_th_height, m_th_plane, m_th_radius, m_th_x, m_th_y, Slic3r::GUI::GLCanvas3D::mouse_ray(), on_thread_changed, and Slic3r::GUI::wxMouseEvent.
Referenced by drag_thread_handle(), and on_mouse_impl().
|
private |
References drag_xform_handle(), emit_xform(), m_xform_anchor, m_xform_handle, m_xform_max, m_xform_min, m_xform_offset, m_xform_sx, and m_xform_sy.
Referenced by drag_xform_handle(), and on_mouse_impl().
|
private |
References Slic3r::GUI::ImGuiWrapper::begin(), draw_dim_label(), Slic3r::GUI::ImGuiWrapper::end(), m_dim_label_seq, m_label_rects, m_plane, m_render_scale, Slic3r::GUI::ImGuiWrapper::pop_common_window_style(), Slic3r::GUI::ImGuiWrapper::push_common_window_style(), Slic3r::GUI::ImGuiWrapper::set_next_window_bg_alpha(), Slic3r::GUI::ImGuiWrapper::set_next_window_pos(), Slic3r::GUI::ImGuiWrapper::text(), Slic3r::GUI::ImGuiWrapper::to_ImU32(), and Slic3r::GUI::world_to_screen_px().
Referenced by draw_dim_label(), and draw_text().
|
private |
References Angle, Slic3r::SketchEntity::center, Diameter, dim_text(), Distance, DistanceToLine, Slic3r::dot(), draw_dim_quote(), draw_strokes(), draw_text(), Slic3r::GUI::DesignSketchTool::DimAnnot::ea, Slic3r::GUI::DesignSketchTool::DimAnnot::eb, Slic3r::GUI::DesignSketchTool::DimAnnot::kind, L, Length, Slic3r::SketchEntity::Line, m_entities, m_highlight_model, m_line_model, Slic3r::GUI::N, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, point_at(), Slic3r::GUI::DesignSketchTool::DimAnnot::ra, Radius, Slic3r::SketchEntity::radius, Slic3r::GUI::DesignSketchTool::DimAnnot::rb, Slic3r::GUI::DesignSketchTool::DimAnnot::side, and Slic3r::SketchEntity::type.
Referenced by draw_dim_quote(), render_dimensions(), and render_live_quotes().
|
private |
References draw_entities_preview(), draw_quad_strip(), draw_vertices(), entity_polyline(), m_highlight_model, and Slic3r::SketchEntity::Point.
Referenced by draw_entities_preview(), render(), render_op_gizmo(), and render_tf_gizmo().
|
private |
References Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), draw_fill(), Slic3r::GUI::GLModel::Geometry::format, Slic3r::GUI::GLModel::init_from(), m_plane, Slic3r::GUI::GLModel::Geometry::P3, Slic3r::GUI::GLModel::render(), Slic3r::GUI::GLModel::reset(), Slic3r::GUI::GLModel::set_color(), and Slic3r::GUI::GLModel::Geometry::Triangles.
Referenced by draw_fill(), draw_fill_holed(), render_mate_face(), render_tf_gizmo(), and render_xform_gizmo().
|
private |
References Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), Slic3r::cast(), draw_fill(), draw_fill_holed(), Slic3r::GUI::GLModel::Geometry::format, Slic3r::holes(), Slic3r::GUI::GLModel::init_from(), m_plane, Slic3r::GUI::GLModel::Geometry::P3, Slic3r::GUI::GLModel::render(), Slic3r::GUI::GLModel::reset(), Slic3r::GUI::GLModel::set_color(), and Slic3r::GUI::GLModel::Geometry::Triangles.
Referenced by draw_fill_holed(), and render().
|
private |
References Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), draw_quad_strip(), Slic3r::GUI::GLModel::Geometry::format, Slic3r::GUI::GLModel::init_from(), m_plane, Slic3r::GUI::GLModel::Geometry::P3, Slic3r::GUI::GLModel::render(), Slic3r::GUI::GLModel::reset(), Slic3r::GUI::GLModel::set_color(), and Slic3r::GUI::GLModel::Geometry::Triangles.
Referenced by draw_entities_preview(), draw_quad_strip(), and render().
|
private |
References Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), draw_strokes(), Slic3r::GUI::GLModel::Geometry::format, Slic3r::GUI::GLModel::init_from(), m_plane, Slic3r::GUI::GLModel::Geometry::P3, Slic3r::GUI::GLModel::render(), Slic3r::GUI::GLModel::reset(), Slic3r::GUI::GLModel::set_color(), and Slic3r::GUI::GLModel::Geometry::Triangles.
Referenced by draw_dim_quote(), draw_strokes(), render(), render_base_pick(), render_cut_gizmo(), render_draft_gizmo(), render_extrude_gizmo(), render_fillet_gizmo(), render_hole_gizmo(), render_live_quotes(), render_mate_connectors(), render_move_gizmo(), render_op_gizmo(), render_pattern_gizmo(), render_revolve_gizmo(), render_shell_gizmo(), render_tf_gizmo(), render_thread_gizmo(), and render_xform_gizmo().
|
private |
References Slic3r::center(), draw_dim_label(), draw_text(), and m_autoedit_label_pos.
Referenced by draw_dim_quote(), draw_text(), render_base_pick(), render_cut_gizmo(), render_draft_gizmo(), render_extrude_gizmo(), render_fillet_gizmo(), render_hole_gizmo(), render_live_quotes(), render_move_gizmo(), render_op_gizmo(), render_pattern_gizmo(), render_revolve_gizmo(), render_shell_gizmo(), render_tf_gizmo(), and render_thread_gizmo().
|
private |
References Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), Slic3r::cast(), draw_vertices(), Slic3r::GUI::GLModel::Geometry::format, Slic3r::GUI::GLModel::init_from(), m_plane, Slic3r::GUI::GLModel::Geometry::P3, Slic3r::GUI::GLModel::render(), Slic3r::GUI::GLModel::reset(), Slic3r::GUI::GLModel::set_color(), and Slic3r::GUI::GLModel::Geometry::Triangles.
Referenced by draw_entities_preview(), draw_vertices(), render(), and render_tf_gizmo().
|
inline |
References m_active, and m_dbp_active.
Referenced by render().
|
private |
References drop_constraints_referencing(), Slic3r::SketchEntityConstraintDef::ea, Slic3r::SketchEntityConstraintDef::eb, Slic3r::SketchEntityConstraintDef::ec, and erase_constraints().
Referenced by apply_live_trim(), and drop_constraints_referencing().
|
private |
References Slic3r::Angle, begin(), drop_orientation_constraints(), Slic3r::SketchEntityConstraintDef::ea, Slic3r::SketchEntityConstraintDef::eb, erase_constraints(), Slic3r::Horizontal, Slic3r::LockX, Slic3r::LockY, Slic3r::Geometry::orient(), Slic3r::Parallel, Slic3r::Perpendicular, Slic3r::SketchEntityConstraintDef::type, and Slic3r::Vertical.
Referenced by drag_polygon_vertex(), drop_orientation_constraints(), set_line_angle(), set_polygon_angle(), and set_rect_angle().
|
inline |
References m_right_press.
|
private |
References m_dimensions, and open_value_editor().
Referenced by on_mouse_impl().
| void Slic3r::GUI::DesignSketchTool::emit_step_hint | ( | ) |
References Constrain, Dimension, emit_step_hint(), is_edit_op_mode(), is_transform_mode(), m_active, m_constrain_entities, m_dim_has0, m_mirror_targets, m_mode, m_op_a, m_op_b, m_pick0, m_pick1, m_pick2, m_points, m_selection, m_step_last, m_step_mode_last, m_step_picks_last, m_tf_targets, Mirror, on_step_changed, op_ready(), and Select.
Referenced by abort_gesture(), emit_step_hint(), end_chain(), and render().
|
private |
References emit_xform(), m_xform_feat, m_xform_offset, m_xform_sx, m_xform_sy, and on_imported_transform.
Referenced by drag_xform_handle(), and emit_xform().
| bool Slic3r::GUI::DesignSketchTool::end_chain | ( | ) |
References append_entities(), BSpline, emit_step_hint(), infer_auto_constraints(), m_chain_dup_tol, m_entities, m_mode, m_points, make_bspline(), Polyline, and push_open_chain().
Referenced by confirm_pending(), and on_mouse_impl().
|
private |
References Slic3r::f(), m_entities, m_features, and m_open_feature.
Referenced by on_mouse_impl().
|
inline |
References m_entities.
Referenced by Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_add(), Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_delete(), Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_describe(), Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_mirror(), Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_offset(), begin_edit(), sketch_box(), and Slic3r::GUI::anonymous_namespace{McpControl.cpp}::sketch_targets().
|
staticprivate |
References Slic3r::SketchEntity::Arc, Slic3r::SketchEntity::BSpline, Slic3r::GUI::bspline_polyline(), Slic3r::SketchEntity::center, Slic3r::SketchEntity::Circle, Slic3r::GUI::circle_polygon(), Slic3r::SketchEntity::ctrl, Slic3r::SketchEntity::Ellipse, Slic3r::GUI::ellipse_polyline(), Slic3r::SketchEntity::EllipseArc, Slic3r::SketchEntity::end_angle, entity_polyline(), Slic3r::GUI::kArcFacets, Slic3r::SketchEntity::Line, M_PI, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, Slic3r::SketchEntity::Point, Slic3r::SketchEntity::radius, Slic3r::SketchEntity::rminor, Slic3r::SketchEntity::rotation, Slic3r::SketchEntity::start_angle, and Slic3r::SketchEntity::type.
Referenced by compute_trim_preview(), draw_entities_preview(), entity_polyline(), op_pick(), recompute_op_ghost(), region_loops(), render(), and sketch_box().
|
private |
References erase_constraints(), m_constraints, and m_dimensions.
Referenced by confirm_op(), confirm_transform(), drop_constraints_referencing(), drop_orientation_constraints(), erase_constraints(), remove_constraint(), and upsert_dimension_constraint().
| BoundingBoxf3 Slic3r::GUI::DesignSketchTool::faces_box | ( | std::vector< std::pair< int, int > > | faces | ) | const |
References faces_box(), m_solid_mesh, m_solid_tri_body, m_solid_tri_face, and Slic3r::BoundingBox3Base< PointType >::merge().
Referenced by faces_box(), and selection_box().
|
private |
References begin(), and m_features.
Referenced by on_mouse_impl(), render_live_quotes(), and toggle_selection_construction().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, fillet_axis_proj(), m_fl_anchor, m_fl_dir, Slic3r::GUI::GLCanvas3D::mouse_ray(), and Slic3r::GUI::wxMouseEvent.
Referenced by drag_fillet_arrow(), fillet_axis_proj(), and start_fillet_drag().
|
inline |
References m_fl_active.
| void Slic3r::GUI::DesignSketchTool::finish | ( | ) |
References close_session_chrome(), confirm_op(), confirm_transform(), finish(), m_active, m_constraints, m_dim_has0, m_dimensions, m_entities, m_features, m_has_cursor, m_open_feature, m_pending_dim, m_plane, m_point_sel, m_points, on_commit_entities, op_ready(), and tf_ready().
Referenced by finish().
|
inline |
References m_entities, and m_selection.
| BoundingBoxf3 Slic3r::GUI::DesignSketchTool::fit_box | ( | const GLVolumeCollection & | volumes | ) | const |
References Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::defined, fit_box(), m_active, m_display_sketches, m_entities, m_plane, Slic3r::BoundingBox3Base< PointType >::merge(), pad_box(), selection_box(), sketch_box(), Slic3r::GLVolume::transformed_bounding_box(), and Slic3r::GLVolumeCollection::volumes.
Referenced by fit_box().
|
inline |
References has_pending_picks(), and m_points.
Referenced by abort_gesture().
| void Slic3r::GUI::DesignSketchTool::grab_move_arrow | ( | int | axis, |
| const Linef3 & | ray ) |
References grab_move_arrow(), m_mv_base, m_mv_drag, m_mv_grab_along, m_mv_offset, and Slic3r::GUI::ray_axis_proj().
Referenced by grab_move_arrow(), and on_mouse_impl().
|
private |
References Slic3r::GUI::DesignSketchTool::SolidPick::body, clear_solid_selection(), Slic3r::GUI::dp_pick_trace(), Edge, Slic3r::GUI::DesignSketchTool::SolidPick::edge, Slic3r::GUI::DesignSketchTool::SolidPick::edge_pts, Face, Slic3r::GUI::DesignSketchTool::SolidPick::face, handle_solid_click(), Slic3r::GUI::DesignSketchTool::SolidPick::kind, m_escalate_repick, m_sel_body, m_sel_edge, m_sel_edge_pts, m_sel_edges_more, m_sel_edges_more_pts, m_sel_face, m_sel_shape, m_sel_vertex_pt, m_solid_sel, on_solid_selection_changed, resolve_solid_pick(), select_body(), selected_edges(), Vertex, Slic3r::GUI::DesignSketchTool::SolidPick::vertex_pt, and Slic3r::GUI::wxMouseEvent.
Referenced by handle_solid_click(), and on_mouse_impl().
|
private |
References Slic3r::Coincident, has_coincident(), and m_constraints.
Referenced by has_coincident(), heal_coincidences(), and infer_auto_constraints().
|
inline |
References m_active, m_ct_active, m_datum_planes, m_dbp_active, m_display_sketches, m_dr_active, m_dz_active, m_ex_active, m_fl_active, m_hl_active, m_hx_active, m_mv_active, m_rb_active, m_sh_active, m_show_axes, m_show_planes, m_solid_bodies, and m_th_active.
Referenced by render().
|
inline |
References m_entities.
|
inline |
References m_dim_has0, m_op_a, m_pick0, m_sel_a, and m_tf_targets.
Referenced by abort_gesture(), and gesture_pending().
|
inline |
References m_solid_sel, and None.
| int Slic3r::GUI::DesignSketchTool::heal_coincidences | ( | double | tol, |
| bool | ignore_construction ) |
References Slic3r::Coincident, Slic3r::SketchEntityConstraintDef::ea, Slic3r::SketchEntityConstraintDef::eb, has_coincident(), heal_coincidences(), m_entities, point_at(), Slic3r::SketchEntityConstraintDef::ra, Slic3r::SketchEntityConstraintDef::rb, resolve_live(), set_point(), Slic3r::GUI::sketch_endpoint_roles(), try_add_constraints(), and Slic3r::SketchEntityConstraintDef::type.
Referenced by Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_heal(), and heal_coincidences().
|
private |
References helix_point(), m_hx_left, m_hx_pitch, m_hx_plane, m_hx_radius, m_hx_taper, and M_PI.
Referenced by helix_point(), hit_test_helix_handle(), and render_helix_gizmo().
|
private |
References Slic3r::GUI::dp_pick_trace(), Slic3r::GUI::dp_pick_trace_on(), Slic3r::GUI::DesignSketchTool::DisplaySketch::entities, Slic3r::GUI::entity_pick_dist(), Slic3r::GUI::DesignSketchTool::DisplaySketch::feature, hit_display_sketch(), Slic3r::holes(), Slic3r::GUI::point_in_poly(), and region_loops().
Referenced by hit_display_sketch(), and on_mouse_impl().
|
private |
References Slic3r::GUI::entity_pick_dist(), hit_test(), and m_entities.
Referenced by hit_test(), on_mouse_impl(), and select_at_screen().
|
private |
References Slic3r::Linef3::a, Slic3r::area(), Slic3r::Linef3::b, dbp_half_extent(), dbp_squares(), Slic3r::empty(), Slic3r::GUI::Camera::get_projection_matrix(), Slic3r::GUI::Camera::get_view_matrix(), Slic3r::GUI::Camera::get_viewport(), hit_test_base_pick(), Slic3r::GUI::is_base_plane(), m_dbp_active, m_dbp_base, m_dbp_labels, m_render_scale, Slic3r::GUI::GLCanvas3D::mouse_ray(), Slic3r::GUI::pick_reference_square(), Slic3r::GUI::reference_label_box(), and Slic3r::GUI::wxMouseEvent.
Referenced by hit_test_base_pick(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::GUI::Camera::get_zoom(), hit_test_cut_arrow(), m_ct_active, m_ct_base, m_ct_n, m_ct_offset, Slic3r::GUI::GLCanvas3D::mouse_ray(), Slic3r::GUI::ray_segment_dist3(), and Slic3r::GUI::wxMouseEvent.
Referenced by hit_test_cut_arrow(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::GUI::Camera::get_zoom(), hit_test_datum_handle(), m_dz_active, m_dz_anchor, m_dz_normal, m_dz_offset, m_dz_offset_on, m_dz_plane, m_dz_usize, m_dz_vsize, Slic3r::GUI::GLCanvas3D::mouse_ray(), and Slic3r::GUI::wxMouseEvent.
Referenced by hit_test_datum_handle(), and on_mouse_impl().
|
private |
References m_dimensions.
Referenced by on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::dot(), Slic3r::GUI::dr_yaxis(), Slic3r::f(), Slic3r::GUI::Camera::get_zoom(), hit_test_draft_handle(), m_dr_active, m_dr_angle, m_dr_axis, m_dr_center, m_dr_radius, m_dr_ref, M_PI, Slic3r::GUI::GLCanvas3D::mouse_ray(), Slic3r::GUI::N, and Slic3r::GUI::wxMouseEvent.
Referenced by hit_test_draft_handle(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::GUI::Camera::get_zoom(), hit_test_extrude_arrow(), m_ex_active, m_ex_centroid, m_ex_depth, m_ex_depth2, m_ex_flip, m_ex_plane, m_ex_two_sided, Slic3r::GUI::GLCanvas3D::mouse_ray(), Slic3r::GUI::ray_segment_dist3(), and Slic3r::GUI::wxMouseEvent.
Referenced by hit_test_extrude_arrow(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::GUI::Camera::get_zoom(), hit_test_fillet_arrow(), L, m_fl_active, m_fl_anchor, m_fl_dir, m_fl_radius, Slic3r::GUI::GLCanvas3D::mouse_ray(), Slic3r::GUI::ray_segment_dist3(), and Slic3r::GUI::wxMouseEvent.
Referenced by hit_test_fillet_arrow(), and on_mouse_impl().
|
private |
References build_handles(), and Slic3r::GUI::DesignSketchTool::Handle::hovered.
Referenced by on_mouse_impl(), and update_hover().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::GUI::Camera::get_zoom(), helix_point(), hit_test_helix_handle(), m_hx_active, m_hx_height, m_hx_pitch, m_hx_plane, Slic3r::GUI::GLCanvas3D::mouse_ray(), and Slic3r::GUI::wxMouseEvent.
Referenced by hit_test_helix_handle(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::GUI::Camera::get_zoom(), hit_test_hole_handle(), m_hl_active, m_hl_depth, m_hl_diameter, m_hl_plane, m_hl_through, m_hl_x, m_hl_y, Slic3r::GUI::GLCanvas3D::mouse_ray(), Slic3r::GUI::ray_segment_dist3(), and Slic3r::GUI::wxMouseEvent.
Referenced by hit_test_hole_handle(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::GUI::Camera::get_zoom(), hit_test_move_arc(), m_mv_active, m_mv_base, m_mv_offset, M_PI, Slic3r::GUI::GLCanvas3D::mouse_ray(), move_gizmo_arm(), Slic3r::GUI::N, Slic3r::GUI::ray_segment_dist3(), ring_basis(), and Slic3r::GUI::wxMouseEvent.
Referenced by hit_test_move_arc(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::GUI::Camera::get_zoom(), hit_test_move_arrow(), L, m_mv_active, m_mv_base, m_mv_offset, Slic3r::GUI::GLCanvas3D::mouse_ray(), move_gizmo_arm(), Slic3r::GUI::ray_segment_dist3(), and Slic3r::GUI::wxMouseEvent.
Referenced by hit_test_move_arrow(), and on_mouse_impl().
|
private |
References hit_test_op_arrow(), m_mode, m_op_anchor, m_op_dir, m_op_value, Mirror, op_ready(), and Slic3r::GUI::point_segment_dist().
Referenced by hit_test_op_arrow(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::dot(), Slic3r::f(), Slic3r::GUI::Camera::get_zoom(), hit_test_pattern_handle(), L, M_PI, m_pt_active, m_pt_angle, m_pt_base, m_pt_ccenter, m_pt_circular, m_pt_count, m_pt_cref, m_pt_dirw, m_pt_normal, m_pt_radius, m_pt_spacing, Slic3r::GUI::GLCanvas3D::mouse_ray(), Slic3r::GUI::N, Slic3r::GUI::pt_linear_len(), Slic3r::GUI::ray_segment_dist3(), and Slic3r::GUI::wxMouseEvent.
Referenced by hit_test_pattern_handle(), and on_mouse_impl().
|
private |
References Slic3r::SketchEntity::Arc, Slic3r::SketchEntity::BSpline, Slic3r::Center, Slic3r::SketchEntity::center, Slic3r::SketchEntity::Circle, Slic3r::SketchEntity::Ellipse, Slic3r::SketchEntity::EllipseArc, Slic3r::SketchEntity::Line, m_entities, Slic3r::P0, Slic3r::SketchEntity::p0, Slic3r::P1, Slic3r::SketchEntity::p1, Slic3r::SketchEntity::Point, and Slic3r::SketchEntity::type.
Referenced by on_mouse_impl(), and select_at_screen().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::dot(), Slic3r::f(), Slic3r::GUI::Camera::get_zoom(), hit_test_revolve_handle(), M_PI, m_rv_active, m_rv_angle, m_rv_axis, m_rv_center, m_rv_flip, m_rv_radius, m_rv_ref, Slic3r::GUI::GLCanvas3D::mouse_ray(), Slic3r::GUI::N, Slic3r::GUI::rv_yaxis(), and Slic3r::GUI::wxMouseEvent.
Referenced by hit_test_revolve_handle(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::GUI::Camera::get_zoom(), hit_test_rib_handle(), m_rb_active, m_rb_p0, m_rb_p1, m_rb_plane, m_rb_thickness, Slic3r::GUI::GLCanvas3D::mouse_ray(), Slic3r::perp(), Slic3r::GUI::rib_frame(), and Slic3r::GUI::wxMouseEvent.
Referenced by hit_test_rib_handle(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::GUI::Camera::get_zoom(), hit_test_shell_arrow(), L, m_sh_active, m_sh_anchor, m_sh_dir, m_sh_thickness, Slic3r::GUI::GLCanvas3D::mouse_ray(), Slic3r::GUI::ray_segment_dist3(), and Slic3r::GUI::wxMouseEvent.
Referenced by hit_test_shell_arrow(), and on_mouse_impl().
|
private |
References hit_test_tf_handle(), tf_handle_pos(), and tf_ready().
Referenced by hit_test_tf_handle(), and on_mouse_impl().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::GUI::Camera::get_zoom(), hit_test_thread_handle(), m_th_active, m_th_height, m_th_plane, m_th_radius, m_th_x, m_th_y, Slic3r::GUI::GLCanvas3D::mouse_ray(), Slic3r::GUI::ray_segment_dist3(), and Slic3r::GUI::wxMouseEvent.
Referenced by hit_test_thread_handle(), and on_mouse_impl().
|
private |
References bd, hit_test_xform_handle(), and xform_world_corners().
Referenced by hit_test_xform_handle(), and on_mouse_impl().
|
private |
References hole_axis_proj(), Slic3r::GUI::GLCanvas3D::mouse_ray(), Slic3r::GUI::ray_axis_proj(), and Slic3r::GUI::wxMouseEvent.
Referenced by drag_cut_arrow(), drag_hole_handle(), drag_shell_arrow(), drag_thread_handle(), hole_axis_proj(), start_cut_drag(), start_hole_drag(), start_shell_drag(), and start_thread_drag().
|
inline |
References m_hl_active.
|
private |
References infer_at(), Slic3r::infer_point_snap(), m_entities, Slic3r::InferenceSnap::point, screen_tol(), and Slic3r::GUI::wxMouseEvent.
Referenced by infer_at(), and snap_vertex().
|
private |
References Slic3r::Coincident, Slic3r::SketchEntityConstraintDef::ea, Slic3r::SketchEntityConstraintDef::eb, has_coincident(), infer_auto_constraints(), Slic3r::infer_axis_constraint(), Slic3r::infer_relations(), Slic3r::SketchEntity::Line, m_entities, Slic3r::P0, Slic3r::P1, point_at(), Slic3r::SketchEntityConstraintDef::ra, Slic3r::SketchEntityConstraintDef::rb, resolve_live(), Slic3r::GUI::sketch_endpoint_roles(), try_add_constraints(), and Slic3r::SketchEntityConstraintDef::type.
Referenced by add_entities_scripted(), end_chain(), infer_auto_constraints(), keep_segment_as_drawn(), and on_mouse_impl().
|
inline |
References m_awaiting_length.
|
inline |
|
inline |
|
inline |
References Constrain, m_active, m_constrain_entities, and m_mode.
|
inline |
References ArcSlot, CenterArc, CenterCircle, CenterRect, CornerRect, Ellipse, EllipseArc, Line, m_mode, ObliqueRect, Polygon, RoundedRect, Slot, TangentArc, ThreePointArc, ThreePointCircle, and TwoPointCircle.
Referenced by render().
|
private |
References body_shape(), and is_current_shape().
Referenced by cached_face_highlight(), is_current_shape(), make_face_highlight(), refresh_body_edges(), render_face_outline(), and selected_faces().
|
inline |
References Chamfer, Fillet, m_mode, Mirror, and Offset.
Referenced by emit_step_hint(), on_mouse_impl(), render(), and render_live_quotes().
|
inline |
References Array, m_mode, Move, PolarArray, Rotate, and Scale.
Referenced by emit_step_hint(), on_mouse_impl(), render(), and render_live_quotes().
| void Slic3r::GUI::DesignSketchTool::keep_segment_as_drawn | ( | ) |
References infer_auto_constraints(), keep_segment_as_drawn(), m_awaiting_length, m_entities, m_has_cursor, m_points, and push_line().
Referenced by apply_segment_length(), keep_segment_as_drawn(), and on_mouse_impl().
|
inline |
| DesignSketchTool::LoopReport Slic3r::GUI::DesignSketchTool::loop_report | ( | ) | const |
References Slic3r::SketchEntity::Arc, Slic3r::GUI::DesignSketchTool::LoopInfo::area, Slic3r::SketchEntity::BSpline, Slic3r::SketchEntity::center, Slic3r::SketchEntity::Circle, Slic3r::GUI::DesignSketchTool::LoopInfo::closed, Slic3r::GUI::DesignSketchTool::LoopInfo::defect, Slic3r::GUI::DesignSketchTool::LoopInfo::defect_at, Slic3r::SketchEntity::Ellipse, Slic3r::SketchEntity::EllipseArc, Slic3r::SketchEntity::end_angle, Slic3r::GUI::DesignSketchTool::LoopInfo::ents, Slic3r::GUI::DesignSketchTool::LoopInfo::holes, Slic3r::SketchEntity::Line, loop_report(), Slic3r::GUI::DesignSketchTool::LoopReport::loops, m_entities, M_PI, Slic3r::GUI::DesignSketchTool::LoopReport::open_ends, Slic3r::P, Slic3r::SketchEntity::radius, region_loops(), Slic3r::SketchEntity::rminor, Slic3r::sketch_join_tol(), Slic3r::SketchEntity::start_angle, and Slic3r::SketchEntity::type.
Referenced by loop_report(), and Slic3r::GUI::anonymous_namespace{McpControl.cpp}::sketch_report().
|
private |
References Slic3r::center(), m_construction, make_arc_slot(), Slic3r::GUI::make_arc_through(), and Slic3r::wrap_2pi().
Referenced by make_arc_slot(), on_mouse_impl(), render(), and set_arc_slot().
|
private |
References Slic3r::SketchEntity::BSpline, Slic3r::SketchEntity::construction, Slic3r::SketchEntity::ctrl, m_construction, make_bspline(), Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, and Slic3r::SketchEntity::type.
Referenced by end_chain(), and make_bspline().
|
private |
References Slic3r::center(), m_construction, Slic3r::GUI::make_arc_through(), make_center_arc(), and Slic3r::wrap_2pi().
Referenced by make_center_arc(), on_mouse_impl(), and render().
|
private |
References Slic3r::center(), Slic3r::SketchEntity::center, Slic3r::SketchEntity::construction, Slic3r::SketchEntity::Ellipse, Slic3r::GUI::ellipse_axes(), Slic3r::SketchEntity::end_angle, m_construction, M_PI, make_ellipse(), Slic3r::SketchEntity::p0, Slic3r::SketchEntity::radius, Slic3r::SketchEntity::rminor, Slic3r::SketchEntity::rotation, Slic3r::SketchEntity::start_angle, and Slic3r::SketchEntity::type.
Referenced by make_ellipse(), on_mouse_impl(), and render().
|
private |
References Slic3r::center(), Slic3r::SketchEntity::center, Slic3r::SketchEntity::construction, Slic3r::GUI::ellipse_axes(), Slic3r::GUI::ellipse_param_of(), Slic3r::GUI::ellipse_point(), Slic3r::SketchEntity::EllipseArc, Slic3r::SketchEntity::end_angle, m_construction, M_PI, make_ellipse_arc(), Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, Slic3r::SketchEntity::radius, Slic3r::SketchEntity::rminor, Slic3r::SketchEntity::rotation, Slic3r::SketchEntity::start_angle, and Slic3r::SketchEntity::type.
Referenced by make_ellipse_arc(), on_mouse_impl(), and render().
|
private |
References Slic3r::GUI::DesignSketchTool::FaceHighlight::body, body_shape(), Slic3r::GUI::display_edge_tol(), Slic3r::GeometryEngine::display_edges(), Slic3r::GUI::DesignSketchTool::FaceHighlight::edges, Slic3r::f(), Slic3r::GUI::DesignSketchTool::FaceHighlight::faces, Slic3r::GeometryEngine::faces_of(), is_current_shape(), m_body_edges, m_body_edges_shape, m_body_edges_tol, make_face_highlight(), and Slic3r::GUI::DesignSketchTool::FaceHighlight::shape.
Referenced by cached_face_highlight(), and make_face_highlight().
|
private |
References Slic3r::center(), Slic3r::SketchEntity::construction, Slic3r::SketchEntity::Line, m_construction, M_PI, m_polygon_circumscribed, make_polygon(), Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, and Slic3r::SketchEntity::type.
Referenced by make_polygon(), on_mouse_impl(), and render().
|
private |
References Slic3r::SketchEntity::construction, Slic3r::SketchEntity::Line, m_construction, make_rounded_rect(), Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, rounded_rect_entities(), and Slic3r::SketchEntity::type.
Referenced by make_rounded_rect(), on_mouse_impl(), and render().
|
private |
References Slic3r::SketchEntity::construction, Slic3r::SketchEntity::Line, m_construction, Slic3r::GUI::make_arc_through(), make_slot(), Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, and Slic3r::SketchEntity::type.
Referenced by drag_slot_handle(), make_slot(), on_mouse_impl(), render(), set_slot(), and set_slot_angle().
|
private |
References Slic3r::SketchEntity::Arc, Slic3r::center(), Slic3r::SketchEntity::center, Slic3r::SketchEntity::construction, Slic3r::SketchEntity::end_angle, Slic3r::SketchEntity::Line, m_construction, m_entities, Slic3r::GUI::make_arc_through(), make_tangent_arc(), Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, Slic3r::SketchEntity::start_angle, and Slic3r::SketchEntity::type.
Referenced by make_tangent_arc(), on_mouse_impl(), and render().
|
private |
References Slic3r::center(), Slic3r::GUI::circumcircle(), m_construction, Slic3r::GUI::make_arc_through(), and make_three_point_arc().
Referenced by make_three_point_arc(), on_mouse_impl(), and render().
|
private |
References Slic3r::center(), Slic3r::SketchEntity::center, Slic3r::SketchEntity::Circle, Slic3r::GUI::circumcircle(), Slic3r::SketchEntity::construction, m_construction, make_three_point_circle(), Slic3r::SketchEntity::p0, Slic3r::SketchEntity::radius, and Slic3r::SketchEntity::type.
Referenced by make_three_point_circle(), on_mouse_impl(), and render().
|
private |
References Angle, Diameter, Distance, DistanceToLine, Slic3r::GUI::DesignSketchTool::DimAnnot::ea, Slic3r::GUI::DesignSketchTool::DimAnnot::eb, Slic3r::GUI::DesignSketchTool::DimAnnot::kind, L, Length, Slic3r::SketchEntity::Line, m_entities, M_PI, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, point_at(), Slic3r::GUI::DesignSketchTool::DimAnnot::ra, Radius, Slic3r::GUI::DesignSketchTool::DimAnnot::rb, and Slic3r::SketchEntity::type.
Referenced by open_angle_editor(), open_primary_autoedit(), place_dimension(), and render_live_quotes().
|
inline |
References m_mode.
Referenced by Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_describe(), begin(), confirm_transform(), and set_tool().
|
inline |
|
private |
References Slic3r::GUI::Camera::get_zoom(), m_mv_radius, and move_gizmo_arm().
Referenced by hit_test_move_arc(), hit_test_move_arrow(), move_gizmo_arm(), and render_move_gizmo().
|
inline |
References on_notice.
Referenced by announce_loop_defects(), apply_dimension(), confirm_op(), confirm_transform(), on_mouse_impl(), op_pick(), resolve_live_drag(), set_dimension_value(), and show_refusal().
| bool Slic3r::GUI::DesignSketchTool::on_mouse | ( | wxMouseEvent & | evt, |
| GLCanvas3D & | canvas ) |
References m_right_press, on_mouse(), on_mouse_impl(), and Slic3r::GUI::wxMouseEvent.
Referenced by on_mouse().
|
private |
References _u8L, Slic3r::Linef3::a, Angle, append_entities(), apply_live_trim(), Slic3r::SketchEntity::Arc, arc_mouse_angle(), ArcSlot, arm_polyline_segment_edit(), Slic3r::GUI::DesignSketchTool::Feature::begin, begin_feature(), BSpline, BSplineCtrl, Slic3r::GUI::DesignSketchTool::Feature::c0, Slic3r::GUI::DesignSketchTool::Feature::c1, Slic3r::Center, CenterArc, CenterCircle, CenterRect, Slic3r::SketchEntity::Circle, clear_solid_selection(), click_snaps(), connected_loop(), Constrain, CornerRect, Diameter, Dimension, Distance, DistanceToLine, Slic3r::GUI::dp_pick_trace(), drag_arc_handle(), drag_cut_arrow(), drag_datum_handle(), drag_draft_arc(), drag_ellipsearc_handle(), drag_extrude_arrow(), drag_fillet_arrow(), drag_helix_handle(), drag_hole_handle(), drag_move_arc(), drag_move_arrow(), drag_op_arrow(), drag_pattern_handle(), drag_polygon_vertex(), drag_rect_corner(), drag_revolve_arc(), drag_rib_handle(), drag_shell_arrow(), drag_slot_handle(), drag_tf_handle(), drag_thread_handle(), drag_xform_handle(), Slic3r::GUI::DesignSketchTool::DimAnnot::ea, Slic3r::GUI::DesignSketchTool::DimAnnot::eb, edit_dimension(), Slic3r::GUI::DesignSketchTool::Handle::ei, Ellipse, EllipseArc, Slic3r::SketchEntity::EllipseArc, end_chain(), end_feature(), Slic3r::GUI::entity_pick_dist(), Extend, Slic3r::f(), feature_of(), grab_move_arrow(), handle_solid_click(), hit_display_sketch(), hit_test(), hit_test_base_pick(), hit_test_cut_arrow(), hit_test_datum_handle(), hit_test_dimension(), hit_test_draft_handle(), hit_test_extrude_arrow(), hit_test_fillet_arrow(), hit_test_handle(), hit_test_helix_handle(), hit_test_hole_handle(), hit_test_move_arc(), hit_test_move_arrow(), hit_test_op_arrow(), hit_test_pattern_handle(), hit_test_point(), hit_test_revolve_handle(), hit_test_rib_handle(), hit_test_shell_arrow(), hit_test_tf_handle(), hit_test_thread_handle(), hit_test_xform_handle(), infer_auto_constraints(), is_edit_op_mode(), is_transform_mode(), keep_segment_as_drawn(), Slic3r::GUI::DesignSketchTool::DimAnnot::kind, Slic3r::GUI::DesignSketchTool::Feature::kind, kLabelPx, kPickPx, kToolPickPx, Length, Line, Slic3r::SketchEntity::Line, m_active, m_awaiting_length, m_chain_dup_tol, m_constrain_entities, m_ct_active, m_ct_drag, m_cursor, m_cursor_locked, m_cursor_snap, m_dbp_active, m_dbp_base, m_dbp_hover, m_dim_e0, m_dim_has0, m_dim_r0, m_display_pick, m_display_pick_region, m_display_sketches, m_dr_active, m_dr_drag, m_dr_press_x, m_dr_press_y, m_drag_ei, m_drag_handle, m_drag_poly_fi, m_drag_rect_anchor, m_drag_rect_fi, m_drag_role, m_drag_slot_c1, m_drag_slot_fi, m_dragging_handle, m_dragging_point, m_dz_active, m_dz_drag, m_dz_press_x, m_dz_press_y, m_entities, m_ex_active, m_ex_drag, m_ex_press_x, m_ex_press_y, m_features, m_fl_active, m_fl_drag, m_fl_press_x, m_fl_press_y, m_has_cursor, m_hl_active, m_hl_drag, m_hl_press_x, m_hl_press_y, m_hx_active, m_hx_drag, m_hx_press_x, m_hx_press_y, m_last_mouse_x, m_last_mouse_y, m_live_arc_angle_label, m_live_arc_ei, m_live_aslot_fi, m_live_aslot_r_label, m_live_aslot_w_label, m_live_ellipse_ei, m_live_ellipse_major_label, m_live_ellipse_minor_label, m_live_poly_angle_label, m_live_poly_fi, m_live_poly_side_label, m_live_quotes, m_live_rrect_fi, m_live_rrect_h_label, m_live_rrect_r_label, m_live_rrect_w_label, m_live_slot_angle_label, m_live_slot_fi, m_live_slot_len_label, m_live_slot_w_label, m_mirror_targets, m_mode, m_mv_active, m_mv_arc_a0, m_mv_drag, m_mv_press_x, m_mv_press_y, m_mv_rot, m_mv_rot_start, m_op_a, m_op_dragging_arrow, m_op_label, M_PI, m_pick0, m_pick0_pt, m_pick1, m_pick2, m_pick_pending, m_pick_press_x, m_pick_press_y, m_plane, m_point_sel, m_points, m_polygon_sides, m_pt_active, m_pt_drag, m_pt_press_x, m_pt_press_y, m_rb_active, m_rb_drag, m_rubber, m_rv_active, m_rv_drag, m_rv_press_x, m_rv_press_y, m_sel_a, m_sel_b, m_sel_body, m_sel_edge, m_sel_face, m_selection, m_sh_active, m_sh_drag, m_sh_press_x, m_sh_press_y, m_snap_off, m_solid_sel, m_tf_dragging, m_tf_label_a, m_tf_label_b, m_tf_targets, m_th_active, m_th_drag, m_th_press_x, m_th_press_y, m_xform_anchor, m_xform_handle, MajorAxis, make_arc_slot(), make_center_arc(), make_ellipse(), make_ellipse_arc(), make_polygon(), make_rounded_rect(), make_slot(), make_tangent_arc(), make_three_point_arc(), make_three_point_circle(), MinorAxis, Mirror, Slic3r::GUI::GLCanvas3D::mouse_ray(), None, notify(), ObliqueRect, on_cursor_metrics, on_datum_base_picked, on_display_sketch_activated, on_display_sketch_selected, on_empty_pick, on_face_selected, on_inline_commit, on_inline_dismiss, on_mouse_impl(), on_selection_changed, on_solid_selection_changed, op_pick(), op_ready(), open_angle_editor(), open_arc_angle_editor(), open_arc_slot_editor(), open_ellipse_axis_editor(), open_extrude_editor(), open_fillet_editor(), open_hole_editor(), open_move_editor(), open_op_editor(), open_pattern_editor(), open_polygon_angle_editor(), open_polygon_side_editor(), open_revolve_editor(), open_rounded_rect_editor(), open_shell_editor(), open_slot_editor(), open_tf_editor_a(), open_tf_editor_count(), open_thread_editor(), open_value_editor(), Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, pick_bodies_in_rectangle(), place_dimension(), Point, point_at(), Slic3r::GUI::point_segment_dist(), Polygon, Polyline, push_circle(), push_closed_lines(), push_point(), Slic3r::GUI::DesignSketchTool::DimAnnot::ra, Radius, RadiusHandle, Slic3r::GUI::DesignSketchTool::DimAnnot::rb, region_at(), remove_constraint_near(), reset_op(), reset_tf(), resolve_live(), resolve_live_drag(), right_abandon(), Slic3r::GUI::DesignSketchTool::Handle::role, RoundedRect, screen_to_plane(), screen_tol(), Select, Slic3r::GUI::GLSelectionRectangle::Select, Slic3r::GUI::GLCanvas3D::set_as_dirty(), set_handle(), set_point(), Slot, snap_chain_start(), snap_dir(), snap_vertex(), start_cut_drag(), start_fillet_drag(), start_hole_drag(), start_shell_drag(), start_thread_drag(), TangentArc, tf_pick(), tf_ready(), ThreePointArc, ThreePointCircle, TransformArt, Trim, TwoPointCircle, update_hover(), update_solid_hover(), Slic3r::Linef3::vector(), Slic3r::GUI::wxMouseEvent, xform_world_corners(), and Slic3r::GUI::GLCanvas3D::zoom_to_volumes().
Referenced by on_mouse(), on_mouse_impl(), and take_right_click().
|
private |
References m_entities, m_op_chain, and op_chain_entities().
Referenced by confirm_op(), op_chain_entities(), and recompute_op_ghost().
|
private |
References Slic3r::diff(), Slic3r::SketchEntity::Line, m_entities, op_corner(), Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, and Slic3r::SketchEntity::type.
Referenced by op_corner(), op_pick(), and recompute_op_ghost().
|
private |
References _u8L, Chamfer, connected_loop(), entity_polyline(), Fillet, Slic3r::SketchEntity::Line, m_entities, m_mirror_targets, m_mode, m_op_a, m_op_b, m_op_chain, m_op_value, m_selection, Mirror, notify(), Offset, on_selection_changed, op_corner(), op_pick(), and recompute_op_ghost().
Referenced by on_mouse_impl(), and op_pick().
|
private |
References Chamfer, Fillet, m_mirror_targets, m_mode, m_op_a, m_op_b, Mirror, Offset, and op_ready().
Referenced by confirm_op(), confirm_pending(), emit_step_hint(), finish(), hit_test_op_arrow(), on_mouse_impl(), op_ready(), open_op_editor(), render_op_gizmo(), and set_tool().
|
private |
References _u8L, Angle, Slic3r::GUI::DesignSketchTool::DimAnnot::ea, Slic3r::GUI::DesignSketchTool::DimAnnot::kind, Slic3r::SketchEntity::Line, m_entities, m_last_mouse_x, m_last_mouse_y, measure_dim(), on_inline_edit, and set_line_angle().
Referenced by on_mouse_impl().
|
private |
References _u8L, Slic3r::SketchEntity::Arc, Slic3r::SketchEntity::end_angle, m_entities, m_last_mouse_x, m_last_mouse_y, M_PI, on_inline_edit, open_arc_angle_editor(), set_arc_sweep(), Slic3r::SketchEntity::start_angle, and Slic3r::SketchEntity::type.
Referenced by on_mouse_impl(), and open_arc_angle_editor().
|
private |
References _u8L, Slic3r::GUI::DesignSketchTool::Feature::c0, Slic3r::GUI::DesignSketchTool::Feature::c1, Slic3r::f(), m_features, m_last_mouse_x, m_last_mouse_y, on_inline_edit, open_arc_slot_editor(), Slic3r::GUI::DesignSketchTool::Feature::param, and set_arc_slot().
Referenced by on_mouse_impl(), and open_arc_slot_editor().
|
private |
References _u8L, Slic3r::SketchEntity::Ellipse, Slic3r::SketchEntity::EllipseArc, m_entities, m_last_mouse_x, m_last_mouse_y, on_inline_edit, open_ellipse_axis_editor(), Slic3r::SketchEntity::radius, Slic3r::SketchEntity::rminor, set_ellipse_axis(), and Slic3r::SketchEntity::type.
Referenced by on_mouse_impl(), and open_ellipse_axis_editor().
|
private |
References m_ex_depth, m_ex_depth2, m_last_mouse_x, m_last_mouse_y, on_extrude_depth_changed, on_inline_edit, and open_extrude_editor().
Referenced by on_mouse_impl(), and open_extrude_editor().
|
private |
References m_fl_radius, m_last_mouse_x, m_last_mouse_y, on_fillet_radius_changed, on_inline_edit, and open_fillet_editor().
Referenced by on_mouse_impl(), and open_fillet_editor().
|
private |
References m_hl_depth, m_hl_diameter, m_hl_has_bounds, m_hl_umin, m_hl_vmin, m_hl_x, m_hl_y, m_last_mouse_x, m_last_mouse_y, on_hole_changed, on_inline_edit, and open_hole_editor().
Referenced by on_mouse_impl(), and open_hole_editor().
|
private |
References compose_move_xform(), m_last_mouse_x, m_last_mouse_y, m_mv_body, m_mv_offset, on_body_move_changed, on_inline_edit, and open_move_editor().
Referenced by on_mouse_impl(), and open_move_editor().
|
private |
References Slic3r::GUI::Camera::get_viewport(), m_active, m_autoedit_dim_idx, m_autoedit_dims, m_last_mouse_x, m_last_mouse_y, m_plane, on_inline_edit, and Slic3r::GUI::world_to_screen_px().
Referenced by arm_polyline_segment_edit(), and open_primary_autoedit().
|
private |
References _u8L, confirm_op(), Fillet, m_last_mouse_x, m_last_mouse_y, m_mode, m_op_value, Mirror, Offset, on_inline_edit, op_ready(), open_op_editor(), recompute_op_ghost(), and show_refusal().
Referenced by on_mouse_impl(), and open_op_editor().
|
private |
References m_last_mouse_x, m_last_mouse_y, m_pt_angle, m_pt_circular, m_pt_spacing, on_inline_edit, on_pattern_changed, and open_pattern_editor().
Referenced by on_mouse_impl(), and open_pattern_editor().
|
private |
References _u8L, Slic3r::f(), m_entities, m_features, m_last_mouse_x, m_last_mouse_y, M_PI, on_inline_edit, open_polygon_angle_editor(), and set_polygon_angle().
Referenced by on_mouse_impl(), and open_polygon_angle_editor().
|
private |
References _u8L, Slic3r::f(), m_entities, m_features, m_last_mouse_x, m_last_mouse_y, on_inline_edit, open_polygon_side_editor(), and set_polygon_side().
Referenced by on_mouse_impl(), and open_polygon_side_editor().
|
private |
References _u8L, Angle, begin(), Slic3r::GUI::DesignSketchTool::Feature::c0, Slic3r::GUI::DesignSketchTool::Feature::c1, Slic3r::GUI::DesignSketchTool::DimAnnot::con, constraint_for(), Diameter, dimtype_title(), Slic3r::GUI::DesignSketchTool::DimAnnot::ea, Slic3r::GUI::DesignSketchTool::DimAnnot::eb, Slic3r::SketchEntity::EllipseArc, Slic3r::SketchEntity::end_angle, Slic3r::f(), Slic3r::GUI::DesignSketchTool::DimAnnot::kind, Slic3r::GUI::DesignSketchTool::DimAnnot::label_pos, Length, m_active, m_autoedit_dim_idx, m_autoedit_dims, m_awaiting_length, m_entities, m_features, m_live_arc_angle_label, m_live_arc_ei, m_live_aslot_fi, m_live_aslot_r_label, m_live_aslot_w_label, m_live_ellipse_ei, m_live_ellipse_major_label, m_live_ellipse_minor_label, m_live_ellipsearc_sweep_label, m_live_obrect_angle_label, m_live_obrect_fi, m_live_poly_angle_label, m_live_poly_fi, m_live_poly_side_label, m_live_quotes, m_live_rrect_fi, m_live_rrect_h_label, m_live_rrect_r_label, m_live_rrect_w_label, m_live_slot_angle_label, m_live_slot_fi, m_live_slot_len_label, m_live_slot_w_label, M_PI, measure_dim(), on_inline_edit, open_next_autoedit_dim(), open_primary_autoedit(), Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, Slic3r::GUI::DesignSketchTool::Feature::param, Radius, Slic3r::SketchEntity::radius, resolve_live(), Slic3r::SketchEntity::rminor, set_arc_slot(), set_arc_sweep(), set_ellipse_axis(), set_ellipsearc_sweep(), set_line_angle(), set_polygon_angle(), set_polygon_side(), set_rect_angle(), set_rounded_rect(), set_slot(), set_slot_angle(), show_refusal(), Slic3r::SketchEntity::start_angle, Slic3r::GUI::trace_autoedit(), Slic3r::SketchEntity::type, upsert_dimension(), upsert_dimension_constraint(), and Slic3r::GUI::DesignSketchTool::DimAnnot::value.
Referenced by open_primary_autoedit(), and render().
|
private |
References m_last_mouse_x, m_last_mouse_y, m_rv_angle, on_inline_edit, on_revolve_angle_changed, and open_revolve_editor().
Referenced by on_mouse_impl(), and open_revolve_editor().
|
private |
References _u8L, Slic3r::GUI::DesignSketchTool::Feature::c0, Slic3r::GUI::DesignSketchTool::Feature::c1, Slic3r::f(), m_features, m_last_mouse_x, m_last_mouse_y, on_inline_edit, open_rounded_rect_editor(), Slic3r::GUI::DesignSketchTool::Feature::param, and set_rounded_rect().
Referenced by on_mouse_impl(), and open_rounded_rect_editor().
| bool Slic3r::GUI::DesignSketchTool::open_selection_dimension_editor | ( | ) |
References apply_dimension(), dim_anchor(), dimension_current(), dimension_kind(), dimtype_title(), Slic3r::GUI::DesignSketchTool::DimAnnot::ea, Slic3r::GUI::DesignSketchTool::DimAnnot::eb, Slic3r::GUI::DesignSketchTool::DimAnnot::kind, m_last_mouse_x, m_last_mouse_y, m_plane, m_selection, None, on_inline_edit, selection_valid(), and Slic3r::GUI::world_to_screen_px().
|
private |
References m_last_mouse_x, m_last_mouse_y, m_sh_thickness, on_inline_edit, on_shell_thickness_changed, and open_shell_editor().
Referenced by on_mouse_impl(), and open_shell_editor().
|
private |
References _u8L, Slic3r::GUI::DesignSketchTool::Feature::c0, Slic3r::GUI::DesignSketchTool::Feature::c1, Slic3r::f(), m_features, m_last_mouse_x, m_last_mouse_y, M_PI, on_inline_edit, open_slot_editor(), Slic3r::GUI::DesignSketchTool::Feature::param, set_slot(), and set_slot_angle().
Referenced by on_mouse_impl(), and open_slot_editor().
|
private |
References _u8L, Array, confirm_transform(), L, m_last_mouse_x, m_last_mouse_y, m_mode, M_PI, m_tf_angle, m_tf_delta, m_tf_scale, Move, on_inline_edit, open_tf_editor_a(), PolarArray, Rotate, Scale, show_refusal(), and tf_ready().
Referenced by on_mouse_impl(), and open_tf_editor_a().
|
private |
References _u8L, Array, confirm_transform(), m_last_mouse_x, m_last_mouse_y, m_mode, m_tf_count, on_inline_edit, open_tf_editor_count(), PolarArray, show_refusal(), and tf_ready().
Referenced by on_mouse_impl(), and open_tf_editor_count().
|
private |
References m_last_mouse_x, m_last_mouse_y, m_th_height, m_th_radius, m_th_x, m_th_y, on_inline_edit, on_thread_changed, and open_thread_editor().
Referenced by on_mouse_impl(), and open_thread_editor().
|
private |
References dim_anchor(), dimtype_title(), Slic3r::GUI::Camera::get_viewport(), Slic3r::GUI::DesignSketchTool::DimAnnot::kind, m_dimensions, m_last_mouse_x, m_last_mouse_y, m_pending_dim, m_plane, on_dimension_pick_complete, on_inline_edit, Slic3r::GUI::DesignSketchTool::DimAnnot::value, and Slic3r::GUI::world_to_screen_px().
Referenced by edit_dimension(), on_mouse_impl(), and place_dimension().
|
static |
References Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::defined, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::max, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::min, pad_box(), and Slic3r::BoundingBox3Base< PointType >::size().
Referenced by fit_box(), pad_box(), and Slic3r::GUI::DesignCanvas::zoom_to_box().
|
inline |
References m_pt_active.
| DesignSketchTool::DimType Slic3r::GUI::DesignSketchTool::pending_dimension_type | ( | ) | const |
References m_dimensions, m_pending_dim, None, and pending_dimension_type().
Referenced by pending_dimension_type().
|
inline |
References m_points.
Referenced by Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_describe().
|
inline |
References m_pick0, and m_pick0_pt.
|
inline |
|
private |
References body_pickable(), clear_solid_selection(), Slic3r::GUI::dp_pick_trace(), m_rubber, m_sel_body, m_sel_edge, m_sel_face, m_solid_bodies, m_solid_mesh, m_solid_sel, m_solid_tri_body, on_empty_pick, on_solid_selection_changed, pick_bodies_in_rectangle(), and select_body().
Referenced by on_mouse_impl(), and pick_bodies_in_rectangle().
|
private |
References body_shape(), Slic3r::f(), Face, Slic3r::GeometryEngine::face_count(), m_sel_body, m_sel_face, m_solid_sel, picked_faces(), and Whole.
Referenced by picked_faces(), render_solid_highlight(), and selected_faces().
|
private |
References Slic3r::GUI::DesignSketchTool::DimAnnot::con, constraint_for(), m_pending_dim, measure_dim(), open_value_editor(), resolve_live(), upsert_dimension(), upsert_dimension_constraint(), and Slic3r::GUI::DesignSketchTool::DimAnnot::value.
Referenced by on_mouse_impl().
|
inline |
References m_plane.
Referenced by begin(), begin_constrain(), begin_constrain_entities(), begin_edit(), begin_imported_transform(), set_cut_gizmo(), set_datum_gizmo(), set_extrude_gizmo(), set_helix_gizmo(), set_hole_gizmo(), set_pattern_gizmo(), set_revolve_gizmo(), set_rib_gizmo(), set_thread_gizmo(), and sketch_box().
|
private |
References Slic3r::Center, Slic3r::SketchEntity::center, m_entities, Slic3r::P0, Slic3r::SketchEntity::p0, Slic3r::P1, and Slic3r::SketchEntity::p1.
Referenced by dim_anchor(), drag_polygon_vertex(), draw_dim_quote(), heal_coincidences(), infer_auto_constraints(), measure_dim(), and on_mouse_impl().
|
private |
References Slic3r::center(), Slic3r::SketchEntity::center, Slic3r::SketchEntity::Circle, Slic3r::SketchEntity::construction, m_construction, m_entities, Slic3r::SketchEntity::p0, push_circle(), Slic3r::SketchEntity::radius, and Slic3r::SketchEntity::type.
Referenced by on_mouse_impl(), and push_circle().
|
private |
References push_closed_lines(), and push_line().
Referenced by add_imported_regions(), on_mouse_impl(), and push_closed_lines().
References Slic3r::SketchEntity::construction, Slic3r::SketchEntity::Line, m_construction, m_entities, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, push_line(), and Slic3r::SketchEntity::type.
Referenced by keep_segment_as_drawn(), push_closed_lines(), push_line(), and push_open_chain().
|
private |
References push_line(), and push_open_chain().
Referenced by end_chain(), and push_open_chain().
|
private |
References Slic3r::SketchEntity::center, Slic3r::SketchEntity::construction, m_construction, m_entities, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::Point, push_point(), and Slic3r::SketchEntity::type.
Referenced by on_mouse_impl(), and push_point().
|
private |
References ArcSlot, Slic3r::center(), CornerRect, Slic3r::f(), m_entities, m_features, m_open_feature, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, Polygon, RoundedRect, Slot, and Slic3r::SketchEntity::type.
Referenced by begin_edit().
|
private |
References Slic3r::SketchEntity::Arc, Slic3r::SketchEntity::center, Chamfer, Slic3r::SketchEngine::chamfer_lines(), Slic3r::SketchEntity::Circle, Slic3r::dot(), Slic3r::SketchEntity::end_angle, entity_polyline(), Fillet, Slic3r::SketchEngine::fillet_lines(), Slic3r::l2(), Slic3r::SketchEntity::Line, m_entities, m_mirror_targets, m_mode, m_op_a, m_op_anchor, m_op_b, m_op_chain, m_op_dir, m_op_ghost, m_op_value, Mirror, Slic3r::SketchEngine::mirror_entities(), Offset, Slic3r::SketchEngine::offset_entities(), op_chain_entities(), op_corner(), Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, Slic3r::SketchEntity::radius, recompute_op_ghost(), Slic3r::SketchEntity::start_angle, and Slic3r::SketchEntity::type.
Referenced by drag_op_arrow(), op_pick(), open_op_editor(), and recompute_op_ghost().
|
private |
References Array, Slic3r::SketchEngine::array_entities(), count, m_entities, m_mode, m_tf_angle, m_tf_count, m_tf_delta, m_tf_ghost, m_tf_pivot, m_tf_scale, m_tf_targets, Move, PolarArray, recompute_tf_ghost(), Rotate, Scale, and Slic3r::SketchEngine::transform_entities().
Referenced by drag_tf_handle(), recompute_tf_ghost(), and tf_pick().
|
private |
References Angle, Slic3r::Angle, Slic3r::Center, Slic3r::Coincident, Diameter, Slic3r::Diameter, dimension_kind(), Distance, Slic3r::Distance, DistanceToLine, Slic3r::SketchEntityConstraintDef::ea, Slic3r::SketchEntityConstraintDef::eb, Length, Slic3r::SketchEntity::Line, m_entities, m_selection, Slic3r::P0, Slic3r::P1, Slic3r::SketchEntity::Point, Slic3r::PointOnLine, Slic3r::SketchEntityConstraintDef::ra, Radius, Slic3r::Radius, Slic3r::SketchEntityConstraintDef::rb, Slic3r::SketchEntityConstraintDef::type, upsert_dimension_constraint(), and Slic3r::SketchEntityConstraintDef::value.
Referenced by apply_dimension().
| bool Slic3r::GUI::DesignSketchTool::redo_last_entity | ( | ) |
References can_redo_entity(), Slic3r::GUI::DesignSketchTool::SketchSnap::constraints, Slic3r::GUI::DesignSketchTool::SketchSnap::dimensions, Slic3r::GUI::DesignSketchTool::SketchSnap::entities, Slic3r::GUI::DesignSketchTool::SketchSnap::features, m_constraints, m_dimensions, m_entities, m_features, m_point_sel, m_selection, m_sketch_redo, on_selection_changed, reset_autoedit(), and resolve_live().
| void Slic3r::GUI::DesignSketchTool::refresh_body_edges | ( | ) |
References clear_solid_selection(), Slic3r::GUI::display_edge_tol(), Slic3r::GeometryEngine::display_edges(), is_current_shape(), m_body_edges, m_body_edges_shape, m_body_edges_tol, m_hl_faces, m_pre, m_pre_hl, m_sel_body, m_sel_hl, m_sel_shape, m_solid_bodies, m_solid_sel, None, and refresh_body_edges().
Referenced by refresh_body_edges(), and set_solid_pick().
|
private |
References Slic3r::holes(), m_entities, region_at(), and region_loops().
Referenced by on_mouse_impl(), and region_at().
| std::vector< std::vector< int > > Slic3r::GUI::DesignSketchTool::region_entity_indices | ( | const std::vector< SketchEntity > & | ents | ) | const |
References region_entity_indices(), and region_loops().
Referenced by region_entity_indices().
| std::vector< std::vector< int > > Slic3r::GUI::DesignSketchTool::region_entity_indices_with_holes | ( | const std::vector< SketchEntity > & | ents | ) | const |
References region_entity_indices_with_holes(), and region_loops().
Referenced by region_entity_indices_with_holes().
|
private |
References Slic3r::SketchEntity::Arc, Slic3r::SketchEntity::BSpline, Slic3r::SketchEntity::Circle, Slic3r::SketchEntity::construction, Slic3r::SketchEntity::Ellipse, Slic3r::SketchEntity::EllipseArc, entity_polyline(), Slic3r::SketchEntity::Line, region_loops(), Slic3r::sketch_join_tol(), Slic3r::sketch_loop_defect(), and Slic3r::SketchEntity::type.
Referenced by announce_loop_defects(), closed_regions(), hit_display_sketch(), loop_report(), region_at(), region_entity_indices(), region_entity_indices_with_holes(), region_loops(), render(), and selected_loop_entities().
| bool Slic3r::GUI::DesignSketchTool::remove_constraint | ( | int | idx | ) |
References erase_constraints(), m_constraints, m_glyph_hits, on_constraints_changed, remove_constraint(), and resolve_live().
Referenced by remove_constraint(), and remove_constraint_near().
| bool Slic3r::GUI::DesignSketchTool::remove_constraint_near | ( | const Vec2d & | p | ) |
References m_constraints, m_glyph_hits, m_glyph_r, remove_constraint(), and remove_constraint_near().
Referenced by on_mouse_impl(), and remove_constraint_near().
| void Slic3r::GUI::DesignSketchTool::render | ( | GLCanvas3D & | canvas | ) |
References Slic3r::ColorRGBA::a(), Slic3r::SketchEntity::Arc, ArcSlot, BSpline, Slic3r::SketchEntity::BSpline, Slic3r::GUI::bspline_polyline(), BSplineCtrl, build_constraint_glyphs(), build_handles(), build_readout(), Slic3r::InferenceSnap::Center, Slic3r::Center, Slic3r::SketchEntity::center, CenterArc, CenterCircle, CenterRect, Slic3r::SketchEntity::Circle, Slic3r::GUI::circle_polygon(), compute_trim_preview(), Constrain, Slic3r::SketchEntity::construction, CornerRect, Slic3r::GUI::dash_polyline(), Slic3r::GUI::design_idle_face_color(), Slic3r::GUI::design_selection_color(), Dimension, draw_entities_preview(), draw_fill_holed(), draw_quad_strip(), draw_strokes(), draw_vertices(), draws_reference_axes(), Ellipse, Slic3r::SketchEntity::Ellipse, EllipseArc, Slic3r::SketchEntity::EllipseArc, emit_step_hint(), entity_polyline(), Extend, Slic3r::GUI::Camera::get_projection_matrix(), Slic3r::GUI::GLCanvas3D::get_scale(), Slic3r::GUI::Camera::get_view_matrix(), Slic3r::GUI::Camera::get_zoom(), GL_BLEND, GL_CULL_FACE, GL_DEPTH_TEST, GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA, glBlendFunc, glDisable, glEnable, glsafe, Slic3r::GUI::grey, has_display(), Slic3r::holes(), inline_editor, is_creation_autoedit_mode(), is_edit_op_mode(), is_transform_mode(), L, Line, Slic3r::SketchEntity::Line, m_active, m_autoedit_dim_idx, m_autoedit_dims, m_autoedit_label_pos, m_autoedit_pending, m_autoedit_seen, m_awaiting_length, m_constrain_cons, m_constrain_entities, m_constraint_hl, m_constraints, m_construction, m_ct_active, m_cursor, m_cursor_locked, m_cursor_snap, m_dim_label_seq, m_display_pick, m_display_pick_region, m_display_sketches, m_dof, m_dr_active, m_dz_active, m_entities, m_entity_conflict, m_ex_active, m_fill_model, m_fl_active, m_has_cursor, m_has_hover_handle, m_highlight_model, m_hl_active, m_hover_handle, m_hx_active, m_label_rects, m_line_model, m_mode, m_mv_active, m_op_a, m_open_feature, m_pick0, m_pick1, m_pick2, m_plane, m_point_sel, m_points, m_polygon_sides, m_pt_active, m_rb_active, m_render_scale, m_rubber, m_rv_active, m_sel_a, m_sel_b, m_selection, m_sh_active, m_show_handles, m_solve_ok, m_th_active, m_vertex_model, MajorAxis, make_arc_slot(), make_center_arc(), make_ellipse(), make_ellipse_arc(), make_polygon(), make_rounded_rect(), make_slot(), make_tangent_arc(), make_three_point_arc(), make_three_point_circle(), Slic3r::InferenceSnap::Midpoint, MinorAxis, ObliqueRect, on_readout, Slic3r::InferenceSnap::OnEdge, open_primary_autoedit(), Slic3r::GUI::orange, Slic3r::InferenceSnap::Origin, Slic3r::P, Slic3r::P0, Slic3r::SketchEntity::p0, Slic3r::P1, Slic3r::SketchEntity::p1, Point, Slic3r::SketchEntity::Point, Polygon, Polyline, Slic3r::SketchEntity::radius, RadiusHandle, region_loops(), render(), render_base_pick(), render_body_edges(), render_cut_gizmo(), render_datum_gizmo(), render_datum_planes(), render_dimensions(), render_draft_gizmo(), render_extrude_gizmo(), render_fillet_gizmo(), render_helix_gizmo(), render_hole_gizmo(), render_live_quotes(), render_mate_connectors(), render_move_gizmo(), render_op_gizmo(), render_overlays, render_pattern_gizmo(), render_revolve_gizmo(), render_rib_gizmo(), render_shell_gizmo(), render_solid_highlight(), render_tf_gizmo(), render_thread_gizmo(), render_view_helpers(), render_xform_gizmo(), RoundedRect, Select, Slic3r::GLShaderProgram::set_uniform(), sketch_hl_color(), Slot, Slic3r::GLShaderProgram::start_using(), Slic3r::GLShaderProgram::stop_using(), TangentArc, ThreePointArc, ThreePointCircle, Slic3r::GUI::trace_autoedit(), TransformArt, Trim, TwoPointCircle, and Slic3r::SketchEntity::type.
Referenced by render().
|
private |
References Slic3r::ColorRGBA::a(), Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), Slic3r::GUI::PlanePiece::corners, dbp_half_extent(), dbp_squares(), draw_strokes(), draw_text(), Slic3r::empty(), Slic3r::GUI::GLModel::Geometry::format, Slic3r::GUI::Camera::get_dir_forward(), Slic3r::GUI::Camera::get_position(), Slic3r::GUI::Camera::get_type(), GL_BLEND, GL_CULL_FACE, GL_DEPTH_TEST, GL_ONE, GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA, glBlendFuncSeparate, glDisable, glEnable, glsafe, Slic3r::GUI::Idle, Slic3r::GUI::GLModel::init_from(), Slic3r::GUI::is_base_plane(), m_dbp_active, m_dbp_base, m_dbp_hover, m_dbp_labels, m_dbp_planes, m_line_model, m_plane, Slic3r::GUI::Camera::Perspective, Slic3r::GUI::PlanePiece::plane, Slic3r::GUI::planes_back_to_front(), Slic3r::GUI::GLModel::render(), render_base_pick(), render_reference_axes(), selected_base, and Slic3r::GUI::GLModel::set_color().
Referenced by render(), and render_base_pick().
|
private |
References append_ribbons(), Slic3r::GUI::Camera::get_dir_forward(), Slic3r::GUI::Camera::get_zoom(), m_body_edges, m_body_edges_hidden, m_body_edges_model, m_pick_only_body, m_solid_bodies, m_solid_visible, Slic3r::pull, render_body_edges(), and Slic3r::GUI::render_ribbons().
Referenced by render(), and render_body_edges().
|
private |
References dim_text(), Distance, Slic3r::dot(), draw_strokes(), draw_text(), Slic3r::GUI::Camera::get_dir_forward(), Slic3r::GUI::Camera::get_dir_right(), Slic3r::GUI::Camera::get_dir_up(), Slic3r::GUI::Camera::get_zoom(), GL_DEPTH_TEST, glDisable, glsafe, Slic3r::GUI::DesignSketchTool::DimAnnot::kind, m_ct_active, m_ct_base, m_ct_half, m_ct_n, m_ct_offset, m_ct_rect_model, m_ct_stroke_model, m_ct_u, m_ct_v, m_line_model, m_plane, Slic3r::SketchPlane::normal, Slic3r::SketchPlane::origin, render_cut_gizmo(), Slic3r::GUI::DesignSketchTool::DimAnnot::value, Slic3r::SketchPlane::x_axis, and Slic3r::SketchPlane::y_axis.
Referenced by render(), and render_cut_gizmo().
|
private |
References Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), Slic3r::cast(), Slic3r::GUI::GLModel::Geometry::format, Slic3r::GUI::Camera::get_dir_forward(), Slic3r::GUI::Camera::get_dir_right(), Slic3r::GUI::Camera::get_dir_up(), Slic3r::GUI::Camera::get_zoom(), GL_DEPTH_TEST, glDisable, glsafe, Slic3r::GUI::GLModel::init_from(), m_dz_active, m_dz_anchor, m_dz_normal, m_dz_offset, m_dz_offset_on, m_dz_plane, m_dz_usize, m_dz_vsize, Slic3r::GUI::GLModel::render(), render_datum_gizmo(), Slic3r::GUI::GLModel::set_color(), and Slic3r::SketchPlane::to_world().
Referenced by render(), and render_datum_gizmo().
|
private |
References Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), Slic3r::cast(), Slic3r::GUI::GLModel::Geometry::format, Slic3r::GUI::Camera::get_dir_forward(), Slic3r::GUI::Camera::get_dir_up(), Slic3r::GUI::Camera::get_zoom(), GL_BLEND, GL_DEPTH_TEST, GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA, glBlendFunc, glDisable, glEnable, glsafe, Slic3r::GUI::GLModel::init_from(), m_datum_planes, m_datum_sizes, Slic3r::GUI::GLModel::render(), render_datum_planes(), Slic3r::GUI::GLModel::set_color(), and Slic3r::SketchPlane::to_world().
Referenced by render(), and render_datum_planes().
|
private |
References draw_dim_quote(), m_bad_dims, m_dimensions, and render_dimensions().
Referenced by render(), and render_dimensions().
|
private |
References Angle, dim_text(), Slic3r::GUI::dr_yaxis(), draw_strokes(), draw_text(), Slic3r::GUI::Camera::get_zoom(), GL_DEPTH_TEST, glDisable, glsafe, Slic3r::GUI::DesignSketchTool::DimAnnot::kind, m_dr_active, m_dr_angle, m_dr_axis, m_dr_center, m_dr_radius, m_dr_ref, m_dr_stroke_model, m_line_model, M_PI, m_plane, Slic3r::GUI::N, Slic3r::SketchPlane::normal, Slic3r::SketchPlane::origin, render_draft_gizmo(), Slic3r::GUI::DesignSketchTool::DimAnnot::value, Slic3r::SketchPlane::x_axis, and Slic3r::SketchPlane::y_axis.
Referenced by render(), and render_draft_gizmo().
|
private |
References dim_text(), Distance, Slic3r::dot(), draw_strokes(), draw_text(), Slic3r::GUI::Camera::get_dir_forward(), Slic3r::GUI::Camera::get_dir_right(), Slic3r::GUI::Camera::get_dir_up(), Slic3r::GUI::Camera::get_zoom(), GL_DEPTH_TEST, glDisable, glsafe, Slic3r::GUI::DesignSketchTool::DimAnnot::kind, m_ex_active, m_ex_arrow_model, m_ex_centroid, m_ex_depth, m_ex_depth2, m_ex_flip, m_ex_plane, m_ex_two_sided, m_line_model, m_plane, Slic3r::SketchPlane::normal, Slic3r::SketchPlane::origin, render_extrude_gizmo(), Slic3r::GUI::DesignSketchTool::DimAnnot::value, Slic3r::SketchPlane::x_axis, and Slic3r::SketchPlane::y_axis.
Referenced by render(), and render_extrude_gizmo().
|
private |
References append_ribbons(), Slic3r::GUI::DesignSketchTool::FaceHighlight::body, body_pickable(), Slic3r::GUI::design_selection_color(), Slic3r::GUI::draw(), Slic3r::GUI::DesignSketchTool::FaceHighlight::edges, Slic3r::GUI::Camera::get_dir_forward(), Slic3r::GUI::Camera::get_zoom(), is_current_shape(), m_body_edges_hidden, m_solid_edge_model, Slic3r::pull, render_face_outline(), Slic3r::GUI::render_ribbons(), and Slic3r::GUI::DesignSketchTool::FaceHighlight::shape.
Referenced by render_face_outline(), and render_solid_highlight().
|
private |
References dim_text(), Slic3r::dot(), draw_strokes(), draw_text(), Slic3r::GUI::Camera::get_dir_forward(), Slic3r::GUI::Camera::get_dir_right(), Slic3r::GUI::Camera::get_dir_up(), Slic3r::GUI::Camera::get_zoom(), GL_DEPTH_TEST, glDisable, glsafe, Slic3r::GUI::DesignSketchTool::DimAnnot::kind, L, m_fl_active, m_fl_anchor, m_fl_arrow_model, m_fl_dir, m_fl_radius, m_line_model, m_plane, Slic3r::SketchPlane::normal, Slic3r::SketchPlane::origin, Radius, render_fillet_gizmo(), Slic3r::GUI::DesignSketchTool::DimAnnot::value, Slic3r::SketchPlane::x_axis, and Slic3r::SketchPlane::y_axis.
Referenced by render(), and render_fillet_gizmo().
|
private |
References Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), Slic3r::cast(), Slic3r::GUI::GLModel::Geometry::format, Slic3r::GUI::Camera::get_dir_forward(), Slic3r::GUI::Camera::get_dir_right(), Slic3r::GUI::Camera::get_dir_up(), Slic3r::GUI::Camera::get_zoom(), GL_DEPTH_TEST, glDisable, glsafe, helix_point(), Slic3r::GUI::GLModel::init_from(), m_hx_active, m_hx_drag, m_hx_height, m_hx_pitch, m_hx_plane, Slic3r::GUI::GLModel::render(), render_helix_gizmo(), Slic3r::GUI::GLModel::set_color(), and Slic3r::GUI::GLModel::Geometry::vertices.
Referenced by render(), and render_helix_gizmo().
|
private |
References Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), Diameter, dim_text(), Distance, Slic3r::dot(), draw_strokes(), draw_text(), Slic3r::f(), Slic3r::GUI::GLModel::Geometry::format, Slic3r::GUI::Camera::get_dir_forward(), Slic3r::GUI::Camera::get_dir_right(), Slic3r::GUI::Camera::get_dir_up(), Slic3r::GUI::Camera::get_zoom(), GL_CULL_FACE, GL_DEPTH_TEST, glDisable, glEnable, glsafe, Slic3r::GUI::GLModel::init_from(), Slic3r::GUI::DesignSketchTool::DimAnnot::kind, L, m_hl_active, m_hl_depth, m_hl_diameter, m_hl_plane, m_hl_stroke_model, m_hl_through, m_hl_x, m_hl_y, m_line_model, M_PI, m_plane, Slic3r::GUI::N, Slic3r::SketchPlane::normal, Slic3r::SketchPlane::origin, Slic3r::GUI::GLModel::render(), render_hole_gizmo(), Slic3r::GUI::GLModel::set_color(), Slic3r::GUI::DesignSketchTool::DimAnnot::value, Slic3r::SketchPlane::x_axis, and Slic3r::SketchPlane::y_axis.
Referenced by render(), and render_hole_gizmo().
|
private |
References Angle, Slic3r::SketchEntity::Arc, ArcSlot, Slic3r::center(), Slic3r::SketchEntity::center, CenterRect, Slic3r::SketchEntity::Circle, CornerRect, dim_text(), draw_dim_quote(), draw_strokes(), draw_text(), Slic3r::GUI::DesignSketchTool::DimAnnot::ea, Slic3r::GUI::DesignSketchTool::DimAnnot::eb, Slic3r::SketchEntity::Ellipse, Slic3r::GUI::ellipse_point(), Slic3r::SketchEntity::EllipseArc, Slic3r::SketchEntity::end_angle, Slic3r::f(), feature_of(), is_edit_op_mode(), is_transform_mode(), Slic3r::GUI::DesignSketchTool::DimAnnot::kind, Length, Slic3r::SketchEntity::Line, m_dimensions, m_drag_ei, m_drag_handle, m_dragging_handle, m_dragging_point, m_entities, m_features, m_highlight_model, m_line_model, m_live_arc_angle_label, m_live_arc_ei, m_live_aslot_fi, m_live_aslot_r_label, m_live_aslot_w_label, m_live_ellipse_ei, m_live_ellipse_major_label, m_live_ellipse_minor_label, m_live_ellipsearc_sweep_label, m_live_obrect_angle_label, m_live_obrect_fi, m_live_poly_angle_label, m_live_poly_fi, m_live_poly_side_label, m_live_quotes, m_live_rrect_fi, m_live_rrect_h_label, m_live_rrect_r_label, m_live_rrect_w_label, m_live_slot_angle_label, m_live_slot_fi, m_live_slot_len_label, m_live_slot_w_label, M_PI, m_selection, measure_dim(), Slic3r::GUI::N, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, Polygon, Radius, Slic3r::SketchEntity::radius, render_live_quotes(), Slic3r::SketchEntity::rminor, Slic3r::SketchEntity::rotation, RoundedRect, Slic3r::GUI::DesignSketchTool::DimAnnot::side, Slot, Slic3r::SketchEntity::start_angle, Slic3r::SketchEntity::type, and Slic3r::GUI::DesignSketchTool::DimAnnot::value.
Referenced by render(), and render_live_quotes().
|
private |
References draw_strokes(), Slic3r::GUI::Camera::get_dir_forward(), Slic3r::GUI::Camera::get_dir_right(), Slic3r::GUI::Camera::get_dir_up(), Slic3r::GUI::Camera::get_zoom(), GL_DEPTH_TEST, glDisable, glEnable, glsafe, Slic3r::GUI::grey, L, m_mate_connectors, m_mate_links, m_mc_stroke_model, M_PI, m_plane, Slic3r::GUI::N, Slic3r::SketchPlane::normal, Slic3r::SketchPlane::origin, render_mate_connectors(), render_mate_face(), Slic3r::X, Slic3r::SketchPlane::x_axis, Slic3r::Y, Slic3r::SketchPlane::y_axis, and Slic3r::Z.
Referenced by render(), and render_mate_connectors().
|
private |
References Slic3r::ColorRGBA::b(), Slic3r::cross(), Slic3r::dot(), draw_fill(), Slic3r::f(), Slic3r::ColorRGBA::g(), Slic3r::GUI::Camera::get_dir_forward(), Slic3r::GUI::Camera::get_dir_right(), Slic3r::GUI::Camera::get_dir_up(), GL_DEPTH_TEST, glDisable, glsafe, Slic3r::GUI::kBearChin, Slic3r::GUI::kBearCrest, Slic3r::GUI::kBearMarks, Slic3r::GUI::kBearOutline, Slic3r::GUI::kBearPlateZ, Slic3r::GUI::kBearSnoutBase, m_mc_fill_model, M_PI, m_plane, Slic3r::GUI::N, Slic3r::SketchPlane::normal, Slic3r::SketchPlane::origin, Slic3r::ColorRGBA::r(), render_mate_face(), Slic3r::X, Slic3r::SketchPlane::x_axis, Slic3r::Y, Slic3r::SketchPlane::y_axis, and Slic3r::Z.
Referenced by render_mate_connectors(), and render_mate_face().
|
private |
References dim_text(), Distance, Slic3r::dot(), draw_strokes(), draw_text(), Slic3r::GUI::Camera::get_dir_forward(), Slic3r::GUI::Camera::get_dir_right(), Slic3r::GUI::Camera::get_dir_up(), Slic3r::GUI::Camera::get_zoom(), GL_DEPTH_TEST, glDisable, glsafe, Slic3r::GUI::DesignSketchTool::DimAnnot::kind, L, m_line_model, m_mv_active, m_mv_arrow_model, m_mv_base, m_mv_offset, M_PI, m_plane, move_gizmo_arm(), Slic3r::GUI::N, Slic3r::SketchPlane::normal, Slic3r::SketchPlane::origin, render_move_gizmo(), ring_basis(), Slic3r::GUI::DesignSketchTool::DimAnnot::value, Slic3r::SketchPlane::x_axis, and Slic3r::SketchPlane::y_axis.
Referenced by render(), and render_move_gizmo().
|
private |
References dim_text(), Distance, draw_entities_preview(), draw_strokes(), draw_text(), Fillet, Slic3r::GUI::DesignSketchTool::DimAnnot::kind, m_highlight_model, m_line_model, m_mode, m_op_anchor, m_op_dir, m_op_ghost, m_op_label, m_op_value, Mirror, op_ready(), Radius, render_op_gizmo(), and Slic3r::GUI::DesignSketchTool::DimAnnot::value.
Referenced by render(), and render_op_gizmo().
|
private |
References Angle, dim_text(), Distance, draw_strokes(), draw_text(), Slic3r::E, Slic3r::GUI::Camera::get_zoom(), GL_DEPTH_TEST, glDisable, glsafe, Slic3r::GUI::DesignSketchTool::DimAnnot::kind, L, m_line_model, M_PI, m_plane, m_pt_active, m_pt_angle, m_pt_base, m_pt_ccenter, m_pt_circular, m_pt_count, m_pt_cref, m_pt_dirw, m_pt_normal, m_pt_radius, m_pt_spacing, m_pt_stroke_model, Slic3r::GUI::N, Slic3r::SketchPlane::normal, Slic3r::SketchPlane::origin, Slic3r::perp(), Slic3r::GUI::pt_linear_len(), render_pattern_gizmo(), Slic3r::GUI::DesignSketchTool::DimAnnot::value, Slic3r::SketchPlane::x_axis, and Slic3r::SketchPlane::y_axis.
Referenced by render(), and render_pattern_gizmo().
|
private |
References Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), append_ribbons(), Slic3r::cast(), Slic3r::GUI::GLModel::Geometry::format, Slic3r::GUI::Camera::get_dir_forward(), Slic3r::GUI::Camera::get_dir_right(), Slic3r::GUI::Camera::get_dir_up(), Slic3r::GUI::Camera::get_zoom(), Slic3r::GUI::GLModel::init_from(), Slic3r::GUI::GLModel::Geometry::is_empty(), M_PI, Slic3r::GUI::reference_square_gap(), Slic3r::GUI::GLModel::render(), render_reference_axes(), and Slic3r::GUI::GLModel::set_color().
Referenced by render_base_pick(), and render_reference_axes().
|
private |
References Angle, dim_text(), draw_strokes(), draw_text(), Slic3r::GUI::Camera::get_zoom(), GL_DEPTH_TEST, glDisable, glsafe, Slic3r::GUI::DesignSketchTool::DimAnnot::kind, L, m_line_model, M_PI, m_plane, m_rv_active, m_rv_angle, m_rv_axis, m_rv_center, m_rv_flip, m_rv_radius, m_rv_ref, m_rv_stroke_model, Slic3r::GUI::N, Slic3r::SketchPlane::normal, Slic3r::SketchPlane::origin, render_revolve_gizmo(), Slic3r::GUI::rv_yaxis(), Slic3r::GUI::DesignSketchTool::DimAnnot::value, Slic3r::SketchPlane::x_axis, and Slic3r::SketchPlane::y_axis.
Referenced by render(), and render_revolve_gizmo().
|
private |
References Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), Slic3r::cast(), Slic3r::GUI::GLModel::Geometry::format, Slic3r::GUI::Camera::get_dir_forward(), Slic3r::GUI::Camera::get_dir_right(), Slic3r::GUI::Camera::get_dir_up(), Slic3r::GUI::Camera::get_zoom(), GL_DEPTH_TEST, glDisable, glsafe, Slic3r::GUI::GLModel::init_from(), m_rb_active, m_rb_drag, m_rb_p0, m_rb_p1, m_rb_plane, m_rb_thickness, Slic3r::perp(), Slic3r::GUI::GLModel::render(), render_rib_gizmo(), Slic3r::GUI::rib_frame(), and Slic3r::GUI::GLModel::set_color().
Referenced by render(), and render_rib_gizmo().
|
private |
References dim_text(), Distance, Slic3r::dot(), draw_strokes(), draw_text(), Slic3r::GUI::Camera::get_dir_forward(), Slic3r::GUI::Camera::get_dir_right(), Slic3r::GUI::Camera::get_dir_up(), Slic3r::GUI::Camera::get_zoom(), GL_DEPTH_TEST, glDisable, glsafe, Slic3r::GUI::DesignSketchTool::DimAnnot::kind, L, m_line_model, m_plane, m_sh_active, m_sh_anchor, m_sh_dir, m_sh_stroke_model, m_sh_thickness, Slic3r::SketchPlane::normal, Slic3r::SketchPlane::origin, render_shell_gizmo(), Slic3r::GUI::DesignSketchTool::DimAnnot::value, Slic3r::SketchPlane::x_axis, and Slic3r::SketchPlane::y_axis.
Referenced by render(), and render_shell_gizmo().
|
private |
References cached_face_highlight(), Slic3r::GUI::design_selection_color(), Edge, Face, m_hl_faces, m_pre, m_pre_hl, m_sel_body, m_sel_edge, m_sel_edge_pts, m_sel_edges_more_pts, m_sel_face, m_sel_hl, m_sel_vertex_pt, m_solid_sel, None, picked_faces(), render_face_outline(), render_solid_highlight(), render_solid_sel(), and Vertex.
Referenced by render(), and render_solid_highlight().
|
private |
References Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), Slic3r::ColorRGBA::b(), Slic3r::cast(), Edge, Slic3r::GUI::GLModel::Geometry::format, Slic3r::ColorRGBA::g(), Slic3r::GUI::Camera::get_dir_forward(), Slic3r::GUI::Camera::get_dir_right(), Slic3r::GUI::Camera::get_dir_up(), Slic3r::GUI::Camera::get_zoom(), GL_DEPTH_TEST, glDisable, glsafe, m_solid_edge_model, m_solid_vertex_model, Slic3r::ColorRGBA::r(), render_solid_sel(), and Vertex.
Referenced by render_solid_highlight(), and render_solid_sel().
|
private |
References Angle, Array, dim_text(), Distance, draw_entities_preview(), draw_fill(), draw_strokes(), draw_text(), draw_vertices(), Slic3r::GUI::DesignSketchTool::DimAnnot::kind, L, m_fill_model, m_highlight_model, m_line_model, m_mode, M_PI, m_tf_angle, m_tf_count, m_tf_delta, m_tf_dragging, m_tf_ghost, m_tf_label_a, m_tf_label_b, m_tf_pivot, m_tf_scale, m_vertex_model, Move, PolarArray, render_tf_gizmo(), Rotate, Scale, tf_handle_pos(), tf_ready(), and Slic3r::GUI::DesignSketchTool::DimAnnot::value.
Referenced by render(), and render_tf_gizmo().
|
private |
References dim_text(), Distance, Slic3r::dot(), draw_strokes(), draw_text(), Slic3r::GUI::Camera::get_dir_forward(), Slic3r::GUI::Camera::get_dir_right(), Slic3r::GUI::Camera::get_dir_up(), Slic3r::GUI::Camera::get_zoom(), GL_DEPTH_TEST, glDisable, glsafe, Slic3r::GUI::DesignSketchTool::DimAnnot::kind, L, m_line_model, M_PI, m_plane, m_th_active, m_th_height, m_th_plane, m_th_radius, m_th_stroke_model, m_th_x, m_th_y, Slic3r::GUI::N, Slic3r::SketchPlane::normal, Slic3r::SketchPlane::origin, Radius, render_thread_gizmo(), Slic3r::GUI::DesignSketchTool::DimAnnot::value, Slic3r::SketchPlane::x_axis, and Slic3r::SketchPlane::y_axis.
Referenced by render(), and render_thread_gizmo().
|
private |
References Slic3r::GUI::GLModel::Geometry::add_triangle(), Slic3r::GUI::GLModel::Geometry::add_vertex(), Slic3r::cast(), Slic3r::GUI::GLModel::Geometry::format, Slic3r::GUI::Camera::get_dir_forward(), Slic3r::GUI::Camera::get_dir_up(), Slic3r::GUI::Camera::get_zoom(), GL_BLEND, GL_DEPTH_TEST, GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA, glBlendFunc, glDisable, glEnable, glsafe, Slic3r::GUI::GLModel::init_from(), L, m_show_axes, m_show_planes, Slic3r::SketchPlane::normal, Slic3r::SketchPlane::origin, Slic3r::GUI::GLModel::render(), render_view_helpers(), Slic3r::GUI::GLModel::set_color(), Slic3r::SketchPlane::x_axis, and Slic3r::SketchPlane::y_axis.
Referenced by render(), and render_view_helpers().
|
private |
References draw_fill(), draw_strokes(), Slic3r::GUI::Camera::get_zoom(), m_fill_model, m_highlight_model, m_mode, m_xform_handle, render_xform_gizmo(), TransformArt, and xform_world_corners().
Referenced by render(), and render_xform_gizmo().
| void Slic3r::GUI::DesignSketchTool::request_exit | ( | ) |
References abort_gesture(), cancel(), disarm_tool(), live_sketch_has_work(), on_exit, and on_exit_refused.
|
inline |
References m_autoedit_dim_idx, m_autoedit_dims, m_autoedit_pending, m_autoedit_seen, m_awaiting_length, m_entities, and m_live_quotes.
Referenced by add_imported_regions(), close_session_chrome(), delete_selected(), redo_last_entity(), set_tool(), and undo_last_entity().
|
private |
References m_mirror_targets, m_op_a, m_op_anchor, m_op_b, m_op_chain, m_op_dir, m_op_dragging_arrow, m_op_ghost, m_op_label, m_op_value, and reset_op().
Referenced by abort_gesture(), cancel(), confirm_op(), disarm_tool(), on_mouse_impl(), reset_op(), and set_tool().
|
private |
References m_tf_angle, m_tf_count, m_tf_delta, m_tf_dragging, m_tf_ghost, m_tf_handle, m_tf_handle_r, m_tf_label_a, m_tf_label_b, m_tf_pivot, m_tf_scale, m_tf_targets, and reset_tf().
Referenced by abort_gesture(), cancel(), confirm_transform(), disarm_tool(), on_mouse_impl(), reset_tf(), and set_tool().
|
private |
References m_xform_base, m_xform_feat, m_xform_handle, m_xform_max, m_xform_min, m_xform_offset, m_xform_sx, m_xform_sy, and reset_xform().
Referenced by cancel(), reset_xform(), and set_tool().
|
private |
References Slic3r::P0, and resolve_live_drag().
Referenced by add_entities_scripted(), add_imported_regions(), apply_dimension(), apply_segment_length(), begin_edit(), confirm_op(), confirm_transform(), delete_selected(), drag_arc_handle(), drag_ellipsearc_handle(), heal_coincidences(), infer_auto_constraints(), on_mouse_impl(), open_primary_autoedit(), place_dimension(), redo_last_entity(), remove_constraint(), set_arc_slot(), set_arc_sweep(), set_dimension_value(), set_ellipse_axis(), set_ellipsearc_sweep(), set_handle(), set_line_angle(), set_rounded_rect(), set_slot(), and set_slot_angle().
|
private |
References _L_PLURAL, announce_loop_defects(), Slic3r::SketchSolveResult::bad, Slic3r::SketchSolveResult::dof, Slic3r::SketchEntityConstraintDef::ea, Slic3r::SketchEntityConstraintDef::eb, Slic3r::SketchEntityConstraintDef::ec, Slic3r::Fix, Slic3r::GUI::format(), Slic3r::GUI::into_u8(), Slic3r::SketchEntity::Line, m_bad_dims, m_constraints, m_dimensions, m_dof, m_entities, m_entity_conflict, m_skipped_last, m_solve_ok, notify(), Slic3r::SketchSolveResult::ok, on_solve_state, Slic3r::P0, Slic3r::P1, Slic3r::SketchEntityConstraintDef::ra, Slic3r::sketch_solve(), Slic3r::sketch_solve_drag(), Slic3r::SketchSolveResult::skipped, and Slic3r::SketchEntityConstraintDef::type.
Referenced by on_mouse_impl(), resolve_live(), and set_handle().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, Slic3r::GUI::DesignSketchTool::SolidPick::body, body_pickable(), body_xform_pt(), Slic3r::GUI::dp_pick_trace(), Edge, Slic3r::GUI::DesignSketchTool::SolidPick::edge, Slic3r::GeometryEngine::edge_index_of(), Slic3r::GUI::DesignSketchTool::SolidPick::edge_pts, Slic3r::GeometryEngine::edges_of_face(), Face, Slic3r::GUI::DesignSketchTool::SolidPick::face, Slic3r::GeometryEngine::face_by_index(), Slic3r::GUI::DesignSketchTool::SolidPick::kind, m_solid_bodies, m_solid_mesh, m_solid_tri_body, m_solid_tri_face, Slic3r::GUI::GLCanvas3D::mouse_ray(), Slic3r::GUI::ray_triangle(), resolve_solid_pick(), Slic3r::GeometryEngine::sample_edge_world(), Vertex, Slic3r::GUI::DesignSketchTool::SolidPick::vertex_pt, and Slic3r::GUI::world_to_screen_px().
Referenced by handle_solid_click(), resolve_solid_pick(), and update_solid_hover().
|
inline |
References m_rv_active.
| bool Slic3r::GUI::DesignSketchTool::right_abandon | ( | ) |
References m_has_cursor, m_points, and right_abandon().
Referenced by on_mouse_impl(), and right_abandon().
|
private |
References ring_basis().
Referenced by arc_mouse_angle(), drag_move_arc(), hit_test_move_arc(), render_move_gizmo(), and ring_basis().
|
private |
References Slic3r::SketchEntity::construction, Slic3r::SketchEntity::Line, m_construction, Slic3r::GUI::make_arc_through(), Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, rounded_rect_entities(), and Slic3r::SketchEntity::type.
Referenced by make_rounded_rect(), rounded_rect_entities(), and set_rounded_rect().
|
private |
References Slic3r::Linef3::a, m_plane, Slic3r::GUI::GLCanvas3D::mouse_ray(), screen_to_plane(), Slic3r::Linef3::vector(), and Slic3r::GUI::wxMouseEvent.
Referenced by on_mouse_impl(), screen_to_plane(), and update_hover().
|
private |
References Slic3r::Linef3::a, m_plane, Slic3r::GUI::GLCanvas3D::mouse_ray(), screen_tol(), Slic3r::Linef3::vector(), and Slic3r::GUI::wxMouseEvent.
Referenced by infer_at(), on_mouse_impl(), screen_tol(), snap_chain_start(), and update_hover().
| bool Slic3r::GUI::DesignSketchTool::select_at_screen | ( | GLCanvas3D & | canvas, |
| int | sx, | ||
| int | sy ) |
References Slic3r::Linef3::a, hit_test(), hit_test_point(), is_active(), m_entities, m_plane, m_point_sel, m_selection, Slic3r::GUI::GLCanvas3D::mouse_ray(), on_selection_changed, Slic3r::P0, Slic3r::SketchEntity::Point, select_at_screen(), and Slic3r::Linef3::vector().
Referenced by select_at_screen().
| void Slic3r::GUI::DesignSketchTool::select_body | ( | int | body | ) |
References body_pickable(), clear_solid_selection(), m_sel_body, m_sel_edge, m_sel_edge_pts, m_sel_edges_more, m_sel_edges_more_pts, m_sel_face, m_sel_shape, m_solid_bodies, m_solid_sel, select_body(), and Whole.
Referenced by handle_solid_click(), pick_bodies_in_rectangle(), and select_body().
| bool Slic3r::GUI::DesignSketchTool::select_indices | ( | const std::vector< int > & | idx | ) |
References m_entities, m_point_sel, m_selection, on_selection_changed, and select_indices().
Referenced by Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_construction(), Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_delete(), Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_select(), and select_indices().
|
inline |
| std::vector< int > Slic3r::GUI::DesignSketchTool::selected_edges | ( | ) | const |
References Edge, m_sel_edge, m_sel_edges_more, m_solid_sel, and selected_edges().
Referenced by handle_solid_click(), and selected_edges().
| std::vector< std::pair< int, int > > Slic3r::GUI::DesignSketchTool::selected_faces | ( | ) | const |
References Slic3r::f(), is_current_shape(), m_hl_faces, picked_faces(), and selected_faces().
Referenced by selected_faces(), and selection_box().
| std::vector< SketchEntity > Slic3r::GUI::DesignSketchTool::selected_loop_entities | ( | ) | const |
References Slic3r::holes(), m_display_pick, m_display_pick_region, m_display_sketches, region_loops(), selected_loop_entities(), and Slic3r::take().
Referenced by selected_loop_entities(), and selection_box().
| bool Slic3r::GUI::DesignSketchTool::selected_segment | ( | int & | a, |
| int & | b ) const |
References m_sel_a, m_sel_b, and selected_segment().
Referenced by selected_segment().
|
inline |
References m_selection.
Referenced by Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_describe(), Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_select(), and Slic3r::GUI::anonymous_namespace{McpControl.cpp}::sketch_targets().
| BoundingBoxf3 Slic3r::GUI::DesignSketchTool::selection_box | ( | ) | const |
References Slic3r::Center, Slic3r::SketchEntity::center, Edge, faces_box(), m_active, m_display_pick, m_display_pick_region, m_display_sketches, m_entities, m_plane, m_point_sel, m_sel_edge_pts, m_sel_edges_more_pts, m_sel_vertex_pt, m_selection, m_solid_sel, Slic3r::BoundingBox3Base< PointType >::merge(), Slic3r::SketchEntity::p0, Slic3r::P1, Slic3r::SketchEntity::p1, selected_faces(), selected_loop_entities(), selection_box(), sketch_box(), and Vertex.
Referenced by fit_box(), and selection_box().
|
private |
References m_entities, and m_selection.
Referenced by dimension_kind(), open_selection_dimension_editor(), and toggle_selection_construction().
|
private |
References _u8L, Slic3r::center(), Slic3r::f(), m_entities, m_features, make_arc_slot(), resolve_live(), set_arc_slot(), and show_refusal().
Referenced by open_arc_slot_editor(), open_primary_autoedit(), and set_arc_slot().
|
private |
References _u8L, Slic3r::SketchEntity::Arc, Slic3r::SketchEntity::center, Slic3r::SketchEntity::end_angle, m_entities, M_PI, Slic3r::SketchEntity::p1, Slic3r::SketchEntity::radius, resolve_live(), set_arc_sweep(), show_refusal(), Slic3r::SketchEntity::start_angle, and Slic3r::SketchEntity::type.
Referenced by open_arc_angle_editor(), open_primary_autoedit(), and set_arc_sweep().
| void Slic3r::GUI::DesignSketchTool::set_base_pick | ( | std::vector< SketchPlane > | planes, |
| std::vector< int > | bases, | ||
| std::vector< std::string > | labels = {} ) |
References m_dbp_active, m_dbp_base, m_dbp_hover, m_dbp_labels, m_dbp_planes, and set_base_pick().
Referenced by set_base_pick().
|
inline |
References m_body_edges_hidden.
|
inline |
References m_entities.
|
inline |
References m_constrain_cons.
|
inline |
References m_constraint_hl.
|
inline |
References m_construction.
| void Slic3r::GUI::DesignSketchTool::set_cut_gizmo | ( | const SketchPlane & | plane, |
| double | offset, | ||
| const Vec3d & | body_center, | ||
| double | half_extent ) |
References m_ct_active, m_ct_base, m_ct_drag, m_ct_half, m_ct_n, m_ct_offset, m_ct_u, m_ct_v, Slic3r::offset(), plane(), and set_cut_gizmo().
Referenced by set_cut_gizmo().
| void Slic3r::GUI::DesignSketchTool::set_datum_gizmo | ( | const SketchPlane & | plane, |
| double | usize, | ||
| double | vsize, | ||
| const Vec3d & | base_origin, | ||
| const Vec3d & | base_normal, | ||
| double | offset, | ||
| bool | offset_on ) |
References m_dz_active, m_dz_anchor, m_dz_normal, m_dz_offset, m_dz_offset_on, m_dz_plane, m_dz_usize, m_dz_vsize, Slic3r::offset(), plane(), and set_datum_gizmo().
Referenced by set_datum_gizmo().
|
inline |
| void Slic3r::GUI::DesignSketchTool::set_dimension_value | ( | double | v | ) |
References _u8L, Angle, Slic3r::GUI::DesignSketchTool::DimAnnot::con, constraint_for(), Diameter, dimtype_title(), Slic3r::format(), Slic3r::GUI::DesignSketchTool::DimAnnot::kind, Length, m_constraints, m_dimensions, m_pending_dim, m_solve_ok, notify(), Radius, resolve_live(), set_dimension_value(), show_refusal(), and Slic3r::GUI::DesignSketchTool::DimAnnot::value.
Referenced by set_dimension_value().
|
inline |
References m_display_pick, and m_display_pick_region.
|
inline |
References m_display_sketches.
| void Slic3r::GUI::DesignSketchTool::set_draft_gizmo | ( | const Vec3d & | face_centroid, |
| const Vec3d & | face_normal, | ||
| double | angle ) |
References Slic3r::angle(), Slic3r::face_normal(), m_dr_active, m_dr_angle, m_dr_axis, m_dr_center, m_dr_drag, m_dr_radius, m_dr_ref, and set_draft_gizmo().
Referenced by set_draft_gizmo().
|
private |
References _u8L, Slic3r::SketchEntity::center, Slic3r::SketchEntity::Ellipse, Slic3r::GUI::ellipse_point(), Slic3r::SketchEntity::EllipseArc, Slic3r::SketchEntity::end_angle, m_entities, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, Slic3r::SketchEntity::radius, resolve_live(), Slic3r::SketchEntity::rminor, Slic3r::SketchEntity::rotation, set_ellipse_axis(), show_refusal(), Slic3r::SketchEntity::start_angle, and Slic3r::SketchEntity::type.
Referenced by open_ellipse_axis_editor(), open_primary_autoedit(), and set_ellipse_axis().
|
private |
References _u8L, Slic3r::SketchEntity::center, Slic3r::GUI::ellipse_point(), Slic3r::SketchEntity::EllipseArc, Slic3r::SketchEntity::end_angle, m_entities, M_PI, Slic3r::SketchEntity::p1, Slic3r::SketchEntity::radius, resolve_live(), Slic3r::SketchEntity::rminor, Slic3r::SketchEntity::rotation, set_ellipsearc_sweep(), show_refusal(), Slic3r::SketchEntity::start_angle, and Slic3r::SketchEntity::type.
Referenced by open_primary_autoedit(), and set_ellipsearc_sweep().
|
inline |
References m_escalate_repick.
| void Slic3r::GUI::DesignSketchTool::set_extrude_gizmo | ( | const SketchPlane & | plane, |
| const Vec2d & | centroid, | ||
| double | depth, | ||
| double | depth2, | ||
| bool | two_sided, | ||
| bool | flip ) |
References m_ex_active, m_ex_centroid, m_ex_depth, m_ex_depth2, m_ex_flip, m_ex_plane, m_ex_two_sided, plane(), and set_extrude_gizmo().
Referenced by set_extrude_gizmo().
| bool Slic3r::GUI::DesignSketchTool::set_fillet_gizmo | ( | const Vec3d & | body_centroid, |
| double | radius ) |
References L, m_fl_active, m_fl_anchor, m_fl_dir, m_fl_drag, m_fl_radius, m_sel_edge_pts, and set_fillet_gizmo().
Referenced by set_fillet_gizmo().
References BSplineCtrl, Center, Slic3r::Center, Slic3r::SketchEntity::center, Slic3r::SketchEntity::ctrl, Slic3r::GUI::DesignSketchTool::Handle::ctrl_index, Slic3r::GUI::DesignSketchTool::Handle::ei, Slic3r::GUI::ellipse_point(), Slic3r::SketchEntity::EllipseArc, Slic3r::SketchEntity::end_angle, m_entities, MajorAxis, MinorAxis, P0, Slic3r::P0, Slic3r::SketchEntity::p0, P1, Slic3r::P1, Slic3r::SketchEntity::p1, Slic3r::SketchEntity::radius, RadiusHandle, resolve_live(), resolve_live_drag(), Slic3r::SketchEntity::rminor, Slic3r::GUI::DesignSketchTool::Handle::role, Slic3r::SketchEntity::rotation, set_point(), Slic3r::SketchEntity::start_angle, and Slic3r::SketchEntity::type.
Referenced by on_mouse_impl().
| void Slic3r::GUI::DesignSketchTool::set_helix_gizmo | ( | const SketchPlane & | plane, |
| double | radius, | ||
| double | pitch, | ||
| double | height, | ||
| double | taper, | ||
| bool | left_handed ) |
References m_hx_active, m_hx_height, m_hx_left, m_hx_pitch, m_hx_plane, m_hx_radius, m_hx_taper, plane(), and set_helix_gizmo().
Referenced by set_helix_gizmo().
| void Slic3r::GUI::DesignSketchTool::set_highlight_faces | ( | const std::vector< std::pair< int, int > > & | faces | ) |
References body_shape(), cached_face_highlight(), Slic3r::f(), m_hl_faces, and set_highlight_faces().
Referenced by set_highlight_faces().
|
inline |
References m_hl_sketches.
| void Slic3r::GUI::DesignSketchTool::set_hole_face_bounds | ( | bool | has, |
| double | umin, | ||
| double | umax, | ||
| double | vmin, | ||
| double | vmax ) |
References m_hl_has_bounds, m_hl_umax, m_hl_umin, m_hl_vmax, m_hl_vmin, and set_hole_face_bounds().
Referenced by set_hole_face_bounds().
| void Slic3r::GUI::DesignSketchTool::set_hole_gizmo | ( | const SketchPlane & | plane, |
| double | x, | ||
| double | y, | ||
| double | diameter, | ||
| double | depth, | ||
| bool | through ) |
References m_hl_active, m_hl_depth, m_hl_diameter, m_hl_drag, m_hl_plane, m_hl_through, m_hl_x, m_hl_y, plane(), and set_hole_gizmo().
Referenced by set_hole_gizmo().
|
inline |
References m_awaiting_length.
|
private |
References drop_orientation_constraints(), L, Slic3r::SketchEntity::Line, m_entities, M_PI, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, resolve_live(), and Slic3r::SketchEntity::type.
Referenced by open_angle_editor(), and open_primary_autoedit().
|
inline |
References m_mate_connectors.
|
inline |
References m_mate_links.
| void Slic3r::GUI::DesignSketchTool::set_move_gizmo | ( | int | body, |
| const Vec3d & | pivot, | ||
| const Transform3d & | base_xform, | ||
| double | body_radius = 0.0 ) |
References m_mv_active, m_mv_base, m_mv_base_xform, m_mv_body, m_mv_drag, m_mv_offset, m_mv_radius, m_mv_rot, m_pick_pending, m_pre, and set_move_gizmo().
Referenced by set_move_gizmo().
|
inline |
References m_on_cut_offset_changed.
|
inline |
References m_on_draft_angle_changed.
| void Slic3r::GUI::DesignSketchTool::set_pattern_gizmo | ( | const SketchPlane & | plane, |
| const Vec3d & | body_centroid, | ||
| bool | circular, | ||
| int | count, | ||
| int | dir, | ||
| double | spacing, | ||
| double | angle ) |
References Slic3r::angle(), count, Slic3r::dot(), m_pt_active, m_pt_angle, m_pt_base, m_pt_ccenter, m_pt_circular, m_pt_count, m_pt_cref, m_pt_dirw, m_pt_drag, m_pt_normal, m_pt_origin, m_pt_radius, m_pt_spacing, plane(), and set_pattern_gizmo().
Referenced by set_pattern_gizmo().
|
inline |
References m_pick_only_body.
|
private |
References Slic3r::SketchEntity::Arc, Slic3r::SketchEntity::BSpline, Slic3r::Center, Slic3r::SketchEntity::center, Slic3r::SketchEntity::Circle, Slic3r::SketchEntity::ctrl, Slic3r::SketchEntity::Ellipse, Slic3r::SketchEntity::EllipseArc, Slic3r::SketchEntity::Line, m_entities, Slic3r::P0, Slic3r::SketchEntity::p0, Slic3r::P1, Slic3r::SketchEntity::p1, Slic3r::SketchEntity::Point, and Slic3r::SketchEntity::type.
Referenced by heal_coincidences(), on_mouse_impl(), and set_handle().
|
private |
References drop_orientation_constraints(), Slic3r::f(), Slic3r::SketchEntity::Line, m_entities, m_features, M_PI, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, set_polygon_angle(), and Slic3r::SketchEntity::type.
Referenced by open_polygon_angle_editor(), open_primary_autoedit(), and set_polygon_angle().
|
inline |
References m_polygon_circumscribed.
|
private |
References Slic3r::f(), Slic3r::SketchEntity::Line, m_entities, m_features, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, set_polygon_radius(), and Slic3r::SketchEntity::type.
Referenced by set_polygon_radius(), and set_polygon_side().
|
private |
References _u8L, m_features, M_PI, set_polygon_radius(), set_polygon_side(), and show_refusal().
Referenced by open_polygon_side_editor(), open_primary_autoedit(), and set_polygon_side().
|
inline |
References m_polygon_sides.
|
inline |
|
private |
References drop_orientation_constraints(), Slic3r::f(), m_entities, m_features, M_PI, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, and set_rect_angle().
Referenced by open_primary_autoedit(), and set_rect_angle().
| void Slic3r::GUI::DesignSketchTool::set_revolve_gizmo | ( | const SketchPlane & | plane, |
| const Vec2d & | centroid, | ||
| const Vec3d & | axis_origin, | ||
| const Vec3d & | axis_dir, | ||
| double | angle, | ||
| bool | flip ) |
References Slic3r::angle(), Slic3r::dot(), m_rv_active, m_rv_angle, m_rv_axis, m_rv_center, m_rv_drag, m_rv_flip, m_rv_radius, m_rv_ref, plane(), and set_revolve_gizmo().
Referenced by set_revolve_gizmo().
| void Slic3r::GUI::DesignSketchTool::set_rib_gizmo | ( | const SketchPlane & | plane, |
| const Vec2d & | p0, | ||
| const Vec2d & | p1, | ||
| double | thickness ) |
References m_rb_active, m_rb_p0, m_rb_p1, m_rb_plane, m_rb_thickness, plane(), and set_rib_gizmo().
Referenced by set_rib_gizmo().
|
private |
References _u8L, Slic3r::f(), m_entities, m_features, resolve_live(), rounded_rect_entities(), set_rounded_rect(), and show_refusal().
Referenced by open_primary_autoedit(), open_rounded_rect_editor(), and set_rounded_rect().
| void Slic3r::GUI::DesignSketchTool::set_shell_gizmo | ( | const Vec3d & | face_centroid, |
| const Vec3d & | inward_dir, | ||
| double | thickness ) |
References m_sh_active, m_sh_anchor, m_sh_dir, m_sh_drag, m_sh_thickness, and set_shell_gizmo().
Referenced by set_shell_gizmo().
|
inline |
References m_show_axes.
|
inline |
References m_show_planes.
|
private |
References _u8L, Slic3r::f(), Slic3r::length(), m_entities, m_features, make_slot(), resolve_live(), set_slot(), and show_refusal().
Referenced by open_primary_autoedit(), open_slot_editor(), and set_slot().
|
private |
References Slic3r::f(), L, m_entities, m_features, M_PI, make_slot(), resolve_live(), and set_slot_angle().
Referenced by open_primary_autoedit(), open_slot_editor(), and set_slot_angle().
| void Slic3r::GUI::DesignSketchTool::set_solid_pick | ( | const std::vector< CadBody > * | bodies, |
| const TriangleMesh * | mesh, | ||
| const std::vector< int > * | tri_face, | ||
| const std::vector< int > * | tri_body, | ||
| const std::vector< bool > * | visible = nullptr, | ||
| const std::vector< Transform3d > * | xform = nullptr ) |
References clear_solid_selection(), Slic3r::TriangleMesh::its, m_solid_bodies, m_solid_mesh, m_solid_tri_body, m_solid_tri_face, m_solid_visible, m_solid_xform, refresh_body_edges(), and set_solid_pick().
Referenced by set_solid_pick().
| void Slic3r::GUI::DesignSketchTool::set_thread_gizmo | ( | const SketchPlane & | plane, |
| double | x, | ||
| double | y, | ||
| double | radius, | ||
| double | height ) |
References m_th_active, m_th_drag, m_th_height, m_th_plane, m_th_radius, m_th_x, m_th_y, plane(), and set_thread_gizmo().
Referenced by set_thread_gizmo().
| void Slic3r::GUI::DesignSketchTool::set_tool | ( | Mode | mode | ) |
References confirm_op(), confirm_transform(), m_constrain_entities, m_cursor_snap, m_dim_e0, m_dim_has0, m_dim_r0, m_features, m_has_cursor, m_mode, m_open_feature, m_pick0, m_pick1, m_pick2, m_point_sel, m_points, m_sel_a, m_sel_b, m_selection, mode(), on_inline_commit, on_selection_changed, op_ready(), Slic3r::P0, reset_autoedit(), reset_op(), reset_tf(), reset_xform(), and tf_ready().
Referenced by disarm_tool().
|
inline |
References m_sh_active.
| void Slic3r::GUI::DesignSketchTool::show_refusal | ( | const std::string & | why | ) |
References inline_editor, and notify().
Referenced by apply_dimension(), arm_polyline_segment_edit(), open_op_editor(), open_primary_autoedit(), open_tf_editor_a(), open_tf_editor_count(), set_arc_slot(), set_arc_sweep(), set_dimension_value(), set_ellipse_axis(), set_ellipsearc_sweep(), set_polygon_side(), set_rounded_rect(), and set_slot().
|
static |
References entities(), entity_polyline(), Slic3r::BoundingBox3Base< PointType >::merge(), plane(), and sketch_box().
Referenced by fit_box(), selection_box(), sketch_box(), and Slic3r::GUI::DesignPanel::zoom_to_feature().
|
inline |
References m_point_sel, and m_selection.
|
private |
References m_hl_sketches, and sketch_hl_color().
Referenced by render(), and sketch_hl_color().
|
private |
References Slic3r::InferenceSnap::Endpoint, Slic3r::InferenceSnap::kind, m_cursor_snap, m_mode, m_points, Slic3r::InferenceSnap::point, Polyline, screen_tol(), snap_chain_start(), and Slic3r::GUI::wxMouseEvent.
Referenced by on_mouse_impl(), and snap_chain_start().
|
private |
References Slic3r::diff(), M_PI, m_snap_off, and snap_dir().
Referenced by on_mouse_impl(), and snap_dir().
|
private |
References infer_at(), m_cursor_snap, Slic3r::InferenceSnap::point, snap_vertex(), Slic3r::InferenceSnap::snapped(), and Slic3r::GUI::wxMouseEvent.
Referenced by on_mouse_impl(), and snap_vertex().
|
inline |
References m_solve_ok.
Referenced by Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_describe(), Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_heal(), Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_set_value(), and Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_validate().
|
private |
References hole_axis_proj(), m_ct_base, m_ct_drag, m_ct_grab_proj, m_ct_grab_val, m_ct_n, m_ct_offset, start_cut_drag(), and Slic3r::GUI::wxMouseEvent.
Referenced by on_mouse_impl(), and start_cut_drag().
|
private |
References fillet_axis_proj(), m_fl_drag, m_fl_grab_proj, m_fl_grab_radius, m_fl_press_x, m_fl_press_y, m_fl_radius, start_fillet_drag(), and Slic3r::GUI::wxMouseEvent.
Referenced by on_mouse_impl(), and start_fillet_drag().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, hole_axis_proj(), m_hl_depth, m_hl_diameter, m_hl_drag, m_hl_grab_proj, m_hl_grab_uv, m_hl_grab_val, m_hl_grab_x, m_hl_grab_y, m_hl_plane, m_hl_press_x, m_hl_press_y, m_hl_x, m_hl_y, Slic3r::GUI::GLCanvas3D::mouse_ray(), start_hole_drag(), and Slic3r::GUI::wxMouseEvent.
Referenced by on_mouse_impl(), and start_hole_drag().
|
private |
References hole_axis_proj(), m_sh_anchor, m_sh_dir, m_sh_drag, m_sh_grab_proj, m_sh_grab_val, m_sh_press_x, m_sh_press_y, m_sh_thickness, start_shell_drag(), and Slic3r::GUI::wxMouseEvent.
Referenced by on_mouse_impl(), and start_shell_drag().
|
private |
References Slic3r::Linef3::a, Slic3r::Linef3::b, hole_axis_proj(), m_th_drag, m_th_grab_proj, m_th_grab_uv, m_th_grab_val, m_th_grab_x, m_th_grab_y, m_th_height, m_th_plane, m_th_press_x, m_th_press_y, m_th_radius, m_th_x, m_th_y, Slic3r::GUI::GLCanvas3D::mouse_ray(), start_thread_drag(), and Slic3r::GUI::wxMouseEvent.
Referenced by on_mouse_impl(), and start_thread_drag().
| bool Slic3r::GUI::DesignSketchTool::take_right_click | ( | GLCanvas3D & | canvas | ) |
References m_right_press, on_mouse_impl(), and take_right_click().
Referenced by take_right_click().
|
private |
References Array, m_mode, m_tf_angle, m_tf_delta, m_tf_handle_r, m_tf_pivot, m_tf_scale, Move, PolarArray, Rotate, Scale, and tf_handle_pos().
Referenced by hit_test_tf_handle(), render_tf_gizmo(), and tf_handle_pos().
|
private |
References Array, compute_tf_pivot(), Slic3r::SketchEntity::Line, m_entities, m_mode, M_PI, m_selection, m_tf_angle, m_tf_delta, m_tf_handle_r, m_tf_scale, m_tf_targets, Move, on_selection_changed, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, PolarArray, recompute_tf_ghost(), Rotate, Scale, tf_pick(), and Slic3r::SketchEntity::type.
Referenced by on_mouse_impl(), and tf_pick().
|
private |
References m_tf_targets, and tf_ready().
Referenced by confirm_pending(), confirm_transform(), finish(), hit_test_tf_handle(), on_mouse_impl(), open_tf_editor_a(), open_tf_editor_count(), render_tf_gizmo(), set_tool(), and tf_ready().
|
inline |
References m_th_active.
| int Slic3r::GUI::DesignSketchTool::toggle_selection_construction | ( | ) |
References begin(), Slic3r::f(), feature_of(), m_entities, m_features, m_selection, and selection_valid().
Referenced by Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_construction().
|
inline |
References m_show_axes.
|
inline |
References m_show_planes.
| bool Slic3r::GUI::DesignSketchTool::try_add_constraints | ( | const std::vector< SketchEntityConstraintDef > & | cands | ) |
References m_constraints, m_entities, on_constraints_changed, Slic3r::solve_sketch_entities(), and try_add_constraints().
Referenced by confirm_op(), confirm_transform(), heal_coincidences(), infer_auto_constraints(), and try_add_constraints().
| bool Slic3r::GUI::DesignSketchTool::undo_last_entity | ( | ) |
References Slic3r::GUI::DesignSketchTool::SketchSnap::after_constraints, Slic3r::GUI::DesignSketchTool::SketchSnap::after_entities, begin(), can_redo_entity(), delete_selected(), Slic3r::f(), m_active, m_constraints, m_dimensions, m_entities, m_features, m_selection, m_sketch_redo, and reset_autoedit().
|
private |
References Slic3r::GUI::DesignSketchTool::Handle::ei, hit_test_handle(), kPickPx, m_has_hover_handle, m_hover_handle, Slic3r::GUI::DesignSketchTool::Handle::role, screen_to_plane(), screen_tol(), and Slic3r::GUI::wxMouseEvent.
Referenced by on_mouse_impl().
|
private |
References Slic3r::GUI::DesignSketchTool::SolidPick::body, Edge, Slic3r::GUI::DesignSketchTool::SolidPick::edge, Face, Slic3r::GUI::DesignSketchTool::SolidPick::face, Slic3r::GUI::DesignSketchTool::SolidPick::kind, m_pre, resolve_solid_pick(), update_solid_hover(), Vertex, Slic3r::GUI::DesignSketchTool::SolidPick::vertex_pt, and Slic3r::GUI::wxMouseEvent.
Referenced by on_mouse_impl(), and update_solid_hover().
|
private |
References Slic3r::SketchEntityConstraintDef::ea, Slic3r::SketchEntityConstraintDef::eb, m_constraints, Slic3r::SketchEntityConstraintDef::ra, Slic3r::SketchEntityConstraintDef::rb, and Slic3r::SketchEntityConstraintDef::type.
Referenced by upsert_dimension_constraint().
|
private |
References Slic3r::GUI::DesignSketchTool::DimAnnot::ea, Slic3r::GUI::DesignSketchTool::DimAnnot::eb, Slic3r::GUI::DesignSketchTool::DimAnnot::kind, and m_dimensions.
Referenced by open_primary_autoedit(), and place_dimension().
|
private |
References Slic3r::Coincident, Slic3r::Distance, Slic3r::SketchEntityConstraintDef::ea, Slic3r::SketchEntityConstraintDef::eb, erase_constraints(), Slic3r::SketchEntityConstraintDef::type, and upsert_constraint().
Referenced by open_primary_autoedit(), place_dimension(), and record_dimension_constraint().
|
inline |
References m_awaiting_length.
Referenced by Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_describe().
|
private |
References m_xform_max, m_xform_min, m_xform_offset, m_xform_sx, m_xform_sy, and xform_world_corners().
Referenced by hit_test_xform_handle(), on_mouse_impl(), render_xform_gizmo(), and xform_world_corners().
| class SketchInlineEditor* Slic3r::GUI::DesignSketchTool::inline_editor {nullptr} |
Referenced by render(), and show_refusal().
|
staticconstexprprivate |
Referenced by on_mouse_impl().
|
staticconstexprprivate |
Referenced by on_mouse_impl(), and update_hover().
|
staticconstexprprivate |
Referenced by on_mouse_impl().
|
private |
Referenced by add_imported_regions(), begin(), begin_constrain(), begin_constrain_entities(), begin_imported_transform(), build_readout(), can_redo_entity(), can_undo_entity(), cancel(), draws_reference_axes(), emit_step_hint(), finish(), fit_box(), has_display(), is_active(), is_constraining(), is_constraining_entities(), on_mouse_impl(), open_next_autoedit_dim(), open_primary_autoedit(), render(), selection_box(), and undo_last_entity().
|
private |
Referenced by arm_polyline_segment_edit(), open_next_autoedit_dim(), open_primary_autoedit(), render(), and reset_autoedit().
|
private |
Referenced by arm_polyline_segment_edit(), open_next_autoedit_dim(), open_primary_autoedit(), render(), and reset_autoedit().
|
private |
Referenced by draw_text(), and render().
|
private |
Referenced by begin(), render(), and reset_autoedit().
|
private |
Referenced by add_entities_scripted(), begin(), render(), and reset_autoedit().
|
private |
Referenced by begin(), cancel(), inline_busy(), keep_segment_as_drawn(), on_mouse_impl(), open_primary_autoedit(), render(), reset_autoedit(), set_inline_busy(), and value_field_open().
|
private |
Referenced by render_dimensions(), and resolve_live_drag().
|
private |
Referenced by make_face_highlight(), refresh_body_edges(), and render_body_edges().
|
private |
Referenced by render_body_edges(), render_face_outline(), and set_body_edges_hidden().
|
private |
Referenced by render_body_edges().
|
private |
Referenced by make_face_highlight(), and refresh_body_edges().
|
private |
Referenced by make_face_highlight(), and refresh_body_edges().
|
private |
Referenced by end_chain(), and on_mouse_impl().
|
private |
Referenced by begin(), cancel(), render(), and set_constraint_glyphs().
|
private |
Referenced by begin(), begin_constrain(), begin_constrain_entities(), cancel(), emit_step_hint(), is_constraining_entities(), on_mouse_impl(), render(), and set_tool().
|
private |
Referenced by begin(), cancel(), render(), and set_constraint_highlight().
|
private |
Referenced by apply_segment_length(), begin(), begin_edit(), can_redo_entity(), cancel(), confirm_op(), constraints(), delete_selected(), erase_constraints(), finish(), has_coincident(), redo_last_entity(), remove_constraint(), remove_constraint_near(), render(), resolve_live_drag(), set_dimension_value(), try_add_constraints(), undo_last_entity(), and upsert_constraint().
|
private |
Referenced by add_imported_regions(), begin(), cancel(), make_arc_slot(), make_bspline(), make_center_arc(), make_ellipse(), make_ellipse_arc(), make_polygon(), make_rounded_rect(), make_slot(), make_tangent_arc(), make_three_point_arc(), make_three_point_circle(), push_circle(), push_line(), push_point(), render(), rounded_rect_entities(), and set_construction().
|
private |
Referenced by clear_cut_gizmo(), cutting(), has_display(), hit_test_cut_arrow(), on_mouse_impl(), render(), render_cut_gizmo(), and set_cut_gizmo().
|
private |
Referenced by drag_cut_arrow(), hit_test_cut_arrow(), render_cut_gizmo(), set_cut_gizmo(), and start_cut_drag().
|
private |
Referenced by clear_cut_gizmo(), on_mouse_impl(), set_cut_gizmo(), and start_cut_drag().
|
private |
Referenced by drag_cut_arrow(), and start_cut_drag().
|
private |
Referenced by drag_cut_arrow(), and start_cut_drag().
|
private |
Referenced by render_cut_gizmo(), and set_cut_gizmo().
|
private |
Referenced by drag_cut_arrow(), hit_test_cut_arrow(), render_cut_gizmo(), set_cut_gizmo(), and start_cut_drag().
|
private |
Referenced by drag_cut_arrow(), hit_test_cut_arrow(), render_cut_gizmo(), set_cut_gizmo(), and start_cut_drag().
|
private |
Referenced by render_cut_gizmo().
|
private |
Referenced by render_cut_gizmo().
|
private |
Referenced by render_cut_gizmo(), and set_cut_gizmo().
|
private |
Referenced by render_cut_gizmo(), and set_cut_gizmo().
|
private |
Referenced by build_readout(), on_mouse_impl(), and render().
|
private |
Referenced by on_mouse_impl(), and render().
|
private |
Referenced by on_mouse_impl(), render(), set_tool(), snap_chain_start(), and snap_vertex().
|
private |
Referenced by has_display(), and render_datum_planes().
|
private |
Referenced by render_datum_planes().
|
private |
Referenced by clear_base_pick(), draws_reference_axes(), has_display(), hit_test_base_pick(), on_mouse_impl(), render_base_pick(), and set_base_pick().
|
private |
Referenced by clear_base_pick(), dbp_squares(), hit_test_base_pick(), on_mouse_impl(), render_base_pick(), and set_base_pick().
|
private |
Referenced by clear_base_pick(), on_mouse_impl(), render_base_pick(), and set_base_pick().
|
private |
Referenced by clear_base_pick(), hit_test_base_pick(), render_base_pick(), and set_base_pick().
|
private |
Referenced by clear_base_pick(), dbp_squares(), render_base_pick(), and set_base_pick().
|
private |
Referenced by abort_gesture(), delete_selected(), on_mouse_impl(), and set_tool().
|
private |
Referenced by abort_gesture(), begin(), cancel(), delete_selected(), emit_step_hint(), finish(), has_pending_picks(), on_mouse_impl(), and set_tool().
|
private |
Referenced by draw_dim_label(), and render().
|
private |
Referenced by abort_gesture(), delete_selected(), on_mouse_impl(), and set_tool().
|
private |
Referenced by begin(), cancel(), delete_selected(), edit_dimension(), erase_constraints(), finish(), hit_test_dimension(), open_value_editor(), pending_dimension_type(), redo_last_entity(), render_dimensions(), render_live_quotes(), resolve_live_drag(), set_dimension_value(), undo_last_entity(), and upsert_dimension().
|
private |
Referenced by clear_display_pick(), display_pick(), on_mouse_impl(), render(), selected_loop_entities(), selection_box(), and set_display_pick().
|
private |
Referenced by clear_display_pick(), display_pick_region(), on_mouse_impl(), render(), selected_loop_entities(), selection_box(), and set_display_pick().
|
private |
Referenced by fit_box(), has_display(), on_mouse_impl(), render(), selected_loop_entities(), selection_box(), and set_display_sketches().
|
private |
Referenced by begin(), cancel(), dof(), render(), and resolve_live_drag().
|
private |
Referenced by clear_draft_gizmo(), drafting(), has_display(), hit_test_draft_handle(), on_mouse_impl(), render(), render_draft_gizmo(), and set_draft_gizmo().
|
private |
Referenced by drag_draft_arc(), hit_test_draft_handle(), render_draft_gizmo(), and set_draft_gizmo().
|
private |
Referenced by drag_draft_arc(), hit_test_draft_handle(), render_draft_gizmo(), and set_draft_gizmo().
|
private |
Referenced by drag_draft_arc(), hit_test_draft_handle(), render_draft_gizmo(), and set_draft_gizmo().
|
private |
Referenced by clear_draft_gizmo(), on_mouse_impl(), and set_draft_gizmo().
|
private |
Referenced by on_mouse_impl().
|
private |
Referenced by on_mouse_impl().
|
private |
Referenced by hit_test_draft_handle(), render_draft_gizmo(), and set_draft_gizmo().
|
private |
Referenced by drag_draft_arc(), hit_test_draft_handle(), render_draft_gizmo(), and set_draft_gizmo().
|
private |
Referenced by render_draft_gizmo().
|
private |
Referenced by on_mouse_impl(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl().
|
private |
Referenced by drag_rect_corner(), and on_mouse_impl().
|
private |
Referenced by on_mouse_impl().
|
private |
Referenced by on_mouse_impl().
|
private |
Referenced by drag_slot_handle(), and on_mouse_impl().
|
private |
Referenced by on_mouse_impl().
|
private |
Referenced by on_mouse_impl(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl(), and render_live_quotes().
|
private |
Referenced by clear_datum_gizmo(), has_display(), hit_test_datum_handle(), on_mouse_impl(), render(), render_datum_gizmo(), and set_datum_gizmo().
|
private |
Referenced by drag_datum_handle(), hit_test_datum_handle(), render_datum_gizmo(), and set_datum_gizmo().
|
private |
Referenced by clear_datum_gizmo(), and on_mouse_impl().
|
private |
Referenced by drag_datum_handle(), hit_test_datum_handle(), render_datum_gizmo(), and set_datum_gizmo().
|
private |
Referenced by drag_datum_handle(), hit_test_datum_handle(), render_datum_gizmo(), and set_datum_gizmo().
|
private |
Referenced by hit_test_datum_handle(), render_datum_gizmo(), and set_datum_gizmo().
|
private |
Referenced by drag_datum_handle(), hit_test_datum_handle(), render_datum_gizmo(), and set_datum_gizmo().
|
private |
Referenced by on_mouse_impl().
|
private |
Referenced by on_mouse_impl().
|
private |
Referenced by drag_datum_handle(), hit_test_datum_handle(), render_datum_gizmo(), and set_datum_gizmo().
|
private |
Referenced by drag_datum_handle(), hit_test_datum_handle(), render_datum_gizmo(), and set_datum_gizmo().
|
private |
Referenced by add_entities_scripted(), add_imported_regions(), announce_loop_defects(), append_entities(), apply_angle_between(), apply_dimension(), apply_live_trim(), apply_segment_length(), begin(), begin_constrain(), begin_constrain_entities(), begin_edit(), begin_feature(), build_constraint_glyphs(), build_handles(), can_redo_entity(), can_undo_entity(), cancel(), closed_regions(), compute_tf_pivot(), compute_trim_preview(), confirm_op(), confirm_transform(), connected_loop(), constrain_value_anchor(), delete_selected(), dimension_current(), dimension_kind(), drag_arc_handle(), drag_ellipsearc_handle(), drag_polygon_vertex(), drag_rect_corner(), drag_slot_handle(), draw_dim_quote(), end_chain(), end_feature(), entities(), finish(), first_selected_type(), fit_box(), has_entities(), heal_coincidences(), hit_test(), hit_test_point(), infer_at(), infer_auto_constraints(), keep_segment_as_drawn(), live_sketch_has_work(), loop_report(), make_tangent_arc(), measure_dim(), on_mouse_impl(), op_chain_entities(), op_corner(), op_pick(), open_angle_editor(), open_arc_angle_editor(), open_ellipse_axis_editor(), open_polygon_angle_editor(), open_polygon_side_editor(), open_primary_autoedit(), point_at(), push_circle(), push_line(), push_point(), rebuild_features_from_entities(), recompute_op_ghost(), recompute_tf_ghost(), record_dimension_constraint(), redo_last_entity(), region_at(), render(), render_live_quotes(), reset_autoedit(), resolve_live_drag(), select_at_screen(), select_indices(), selection_box(), selection_valid(), set_arc_slot(), set_arc_sweep(), set_constrain_entities(), set_ellipse_axis(), set_ellipsearc_sweep(), set_handle(), set_line_angle(), set_point(), set_polygon_angle(), set_polygon_radius(), set_rect_angle(), set_rounded_rect(), set_slot(), set_slot_angle(), tf_pick(), toggle_selection_construction(), try_add_constraints(), and undo_last_entity().
|
private |
Referenced by begin(), cancel(), render(), and resolve_live_drag().
|
private |
Referenced by handle_solid_click(), and set_escalate_on_repick().
|
private |
Referenced by clear_extrude_gizmo(), has_display(), hit_test_extrude_arrow(), on_mouse_impl(), render(), render_extrude_gizmo(), and set_extrude_gizmo().
|
private |
Referenced by render_extrude_gizmo().
|
private |
Referenced by drag_extrude_arrow(), hit_test_extrude_arrow(), render_extrude_gizmo(), and set_extrude_gizmo().
|
private |
Referenced by drag_extrude_arrow(), hit_test_extrude_arrow(), open_extrude_editor(), render_extrude_gizmo(), and set_extrude_gizmo().
|
private |
Referenced by drag_extrude_arrow(), hit_test_extrude_arrow(), open_extrude_editor(), render_extrude_gizmo(), and set_extrude_gizmo().
|
private |
Referenced by clear_extrude_gizmo(), and on_mouse_impl().
|
private |
Referenced by drag_extrude_arrow(), hit_test_extrude_arrow(), render_extrude_gizmo(), and set_extrude_gizmo().
|
private |
Referenced by drag_extrude_arrow(), hit_test_extrude_arrow(), render_extrude_gizmo(), and set_extrude_gizmo().
|
private |
Referenced by on_mouse_impl().
|
private |
Referenced by on_mouse_impl().
|
private |
Referenced by hit_test_extrude_arrow(), render_extrude_gizmo(), and set_extrude_gizmo().
|
private |
Referenced by begin(), begin_feature(), cancel(), delete_selected(), drag_polygon_vertex(), drag_rect_corner(), drag_slot_handle(), end_feature(), feature_of(), finish(), on_mouse_impl(), open_arc_slot_editor(), open_polygon_angle_editor(), open_polygon_side_editor(), open_primary_autoedit(), open_rounded_rect_editor(), open_slot_editor(), rebuild_features_from_entities(), redo_last_entity(), render_live_quotes(), set_arc_slot(), set_polygon_angle(), set_polygon_radius(), set_polygon_side(), set_rect_angle(), set_rounded_rect(), set_slot(), set_slot_angle(), set_tool(), toggle_selection_construction(), and undo_last_entity().
|
private |
Referenced by render(), render_tf_gizmo(), and render_xform_gizmo().
|
private |
Referenced by clear_fillet_gizmo(), filleting(), has_display(), hit_test_fillet_arrow(), on_mouse_impl(), render(), render_fillet_gizmo(), and set_fillet_gizmo().
|
private |
Referenced by fillet_axis_proj(), hit_test_fillet_arrow(), render_fillet_gizmo(), and set_fillet_gizmo().
|
private |
Referenced by render_fillet_gizmo().
|
private |
Referenced by fillet_axis_proj(), hit_test_fillet_arrow(), render_fillet_gizmo(), and set_fillet_gizmo().
|
private |
Referenced by clear_fillet_gizmo(), on_mouse_impl(), set_fillet_gizmo(), and start_fillet_drag().
|
private |
Referenced by drag_fillet_arrow(), and start_fillet_drag().
|
private |
Referenced by drag_fillet_arrow(), and start_fillet_drag().
|
private |
Referenced by on_mouse_impl(), and start_fillet_drag().
|
private |
Referenced by on_mouse_impl(), and start_fillet_drag().
|
private |
Referenced by drag_fillet_arrow(), hit_test_fillet_arrow(), open_fillet_editor(), render_fillet_gizmo(), set_fillet_gizmo(), and start_fillet_drag().
|
private |
Referenced by build_constraint_glyphs(), remove_constraint(), and remove_constraint_near().
|
private |
Referenced by build_constraint_glyphs(), and remove_constraint_near().
|
private |
Referenced by abort_gesture(), begin(), begin_constrain(), begin_constrain_entities(), begin_imported_transform(), build_readout(), cancel(), finish(), keep_segment_as_drawn(), on_mouse_impl(), render(), right_abandon(), and set_tool().
|
private |
Referenced by render(), and update_hover().
|
private |
Referenced by draw_dim_quote(), draw_entities_preview(), render(), render_live_quotes(), render_op_gizmo(), render_tf_gizmo(), and render_xform_gizmo().
|
private |
Referenced by clear_hole_gizmo(), has_display(), hit_test_hole_handle(), holing(), on_mouse_impl(), render(), render_hole_gizmo(), and set_hole_gizmo().
|
private |
Referenced by drag_hole_handle(), hit_test_hole_handle(), open_hole_editor(), render_hole_gizmo(), set_hole_gizmo(), and start_hole_drag().
|
private |
Referenced by drag_hole_handle(), hit_test_hole_handle(), open_hole_editor(), render_hole_gizmo(), set_hole_gizmo(), and start_hole_drag().
|
private |
Referenced by clear_hole_gizmo(), drag_hole_handle(), on_mouse_impl(), set_hole_gizmo(), and start_hole_drag().
|
private |
Referenced by refresh_body_edges(), render_solid_highlight(), selected_faces(), and set_highlight_faces().
|
private |
Referenced by drag_hole_handle(), and start_hole_drag().
|
private |
Referenced by drag_hole_handle(), and start_hole_drag().
|
private |
Referenced by drag_hole_handle(), and start_hole_drag().
|
private |
Referenced by drag_hole_handle(), and start_hole_drag().
|
private |
Referenced by drag_hole_handle(), and start_hole_drag().
|
private |
Referenced by open_hole_editor(), and set_hole_face_bounds().
|
private |
Referenced by drag_hole_handle(), hit_test_hole_handle(), render_hole_gizmo(), set_hole_gizmo(), and start_hole_drag().
|
private |
Referenced by on_mouse_impl(), and start_hole_drag().
|
private |
Referenced by on_mouse_impl(), and start_hole_drag().
|
private |
Referenced by set_highlight_sketches(), and sketch_hl_color().
|
private |
Referenced by render_hole_gizmo().
|
private |
Referenced by hit_test_hole_handle(), render_hole_gizmo(), and set_hole_gizmo().
|
private |
Referenced by set_hole_face_bounds().
|
private |
Referenced by open_hole_editor(), and set_hole_face_bounds().
|
private |
Referenced by set_hole_face_bounds().
|
private |
Referenced by open_hole_editor(), and set_hole_face_bounds().
|
private |
Referenced by drag_hole_handle(), hit_test_hole_handle(), open_hole_editor(), render_hole_gizmo(), set_hole_gizmo(), and start_hole_drag().
|
private |
Referenced by drag_hole_handle(), hit_test_hole_handle(), open_hole_editor(), render_hole_gizmo(), set_hole_gizmo(), and start_hole_drag().
|
private |
Referenced by render(), and update_hover().
|
private |
Referenced by clear_helix_gizmo(), has_display(), hit_test_helix_handle(), on_mouse_impl(), render(), render_helix_gizmo(), and set_helix_gizmo().
|
private |
Referenced by clear_helix_gizmo(), on_mouse_impl(), and render_helix_gizmo().
|
private |
Referenced by drag_helix_handle(), hit_test_helix_handle(), render_helix_gizmo(), and set_helix_gizmo().
|
private |
Referenced by helix_point(), and set_helix_gizmo().
|
private |
Referenced by drag_helix_handle(), helix_point(), hit_test_helix_handle(), render_helix_gizmo(), and set_helix_gizmo().
|
private |
Referenced by drag_helix_handle(), helix_point(), hit_test_helix_handle(), render_helix_gizmo(), and set_helix_gizmo().
|
private |
Referenced by on_mouse_impl().
|
private |
Referenced by on_mouse_impl().
|
private |
Referenced by drag_helix_handle(), helix_point(), and set_helix_gizmo().
|
private |
Referenced by helix_point(), and set_helix_gizmo().
|
private |
Referenced by draw_dim_label(), and render().
|
private |
Referenced by on_mouse_impl(), open_angle_editor(), open_arc_angle_editor(), open_arc_slot_editor(), open_ellipse_axis_editor(), open_extrude_editor(), open_fillet_editor(), open_hole_editor(), open_move_editor(), open_next_autoedit_dim(), open_op_editor(), open_pattern_editor(), open_polygon_angle_editor(), open_polygon_side_editor(), open_revolve_editor(), open_rounded_rect_editor(), open_selection_dimension_editor(), open_shell_editor(), open_slot_editor(), open_tf_editor_a(), open_tf_editor_count(), open_thread_editor(), and open_value_editor().
|
private |
Referenced by on_mouse_impl(), open_angle_editor(), open_arc_angle_editor(), open_arc_slot_editor(), open_ellipse_axis_editor(), open_extrude_editor(), open_fillet_editor(), open_hole_editor(), open_move_editor(), open_next_autoedit_dim(), open_op_editor(), open_pattern_editor(), open_polygon_angle_editor(), open_polygon_side_editor(), open_revolve_editor(), open_rounded_rect_editor(), open_selection_dimension_editor(), open_shell_editor(), open_slot_editor(), open_tf_editor_a(), open_tf_editor_count(), open_thread_editor(), and open_value_editor().
|
private |
Referenced by draw_dim_quote(), render(), render_base_pick(), render_cut_gizmo(), render_draft_gizmo(), render_extrude_gizmo(), render_fillet_gizmo(), render_hole_gizmo(), render_live_quotes(), render_move_gizmo(), render_op_gizmo(), render_pattern_gizmo(), render_revolve_gizmo(), render_shell_gizmo(), render_tf_gizmo(), and render_thread_gizmo().
|
private |
Referenced by on_mouse_impl(), open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl(), open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl(), open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl(), open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl(), open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl(), open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl(), open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl(), open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl(), open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl(), open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl(), open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by build_readout(), on_mouse_impl(), open_primary_autoedit(), render_live_quotes(), and reset_autoedit().
|
private |
Referenced by on_mouse_impl(), open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl(), open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl(), open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl(), open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl(), open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl(), open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl(), open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by on_mouse_impl(), open_primary_autoedit(), and render_live_quotes().
|
private |
Referenced by announce_loop_defects().
|
private |
Referenced by clear_mate_connectors(), render_mate_connectors(), and set_mate_connectors().
Referenced by clear_mate_connectors(), render_mate_connectors(), and set_mate_links().
|
private |
Referenced by render_mate_face().
|
private |
Referenced by render_mate_connectors().
|
private |
Referenced by confirm_op(), emit_step_hint(), on_mouse_impl(), op_pick(), op_ready(), recompute_op_ghost(), and reset_op().
|
private |
Referenced by begin(), begin_constrain(), begin_constrain_entities(), begin_imported_transform(), build_readout(), click_snaps(), confirm_op(), confirm_transform(), disarm_tool(), drag_op_arrow(), drag_tf_handle(), emit_step_hint(), end_chain(), hit_test_op_arrow(), is_constraining(), is_constraining_entities(), is_creation_autoedit_mode(), is_edit_op_mode(), is_transform_mode(), mode(), on_mouse_impl(), op_pick(), op_ready(), open_op_editor(), open_tf_editor_a(), open_tf_editor_count(), recompute_op_ghost(), recompute_tf_ghost(), render(), render_op_gizmo(), render_tf_gizmo(), render_xform_gizmo(), set_tool(), snap_chain_start(), tf_handle_pos(), and tf_pick().
|
private |
Referenced by clear_move_gizmo(), has_display(), hit_test_move_arc(), hit_test_move_arrow(), on_mouse_impl(), render(), render_move_gizmo(), and set_move_gizmo().
|
private |
Referenced by drag_move_arc(), and on_mouse_impl().
|
private |
Referenced by render_move_gizmo().
|
private |
Referenced by arc_mouse_angle(), compose_move_xform(), drag_move_arrow(), grab_move_arrow(), hit_test_move_arc(), hit_test_move_arrow(), render_move_gizmo(), and set_move_gizmo().
|
private |
Referenced by compose_move_xform(), and set_move_gizmo().
|
private |
Referenced by clear_move_gizmo(), drag_move_arc(), drag_move_arrow(), move_body_index(), open_move_editor(), and set_move_gizmo().
|
private |
Referenced by clear_move_gizmo(), drag_move_arrow(), grab_move_arrow(), on_mouse_impl(), and set_move_gizmo().
|
private |
Referenced by drag_move_arrow(), and grab_move_arrow().
|
private |
Referenced by arc_mouse_angle(), clear_move_gizmo(), compose_move_xform(), drag_move_arrow(), grab_move_arrow(), hit_test_move_arc(), hit_test_move_arrow(), open_move_editor(), render_move_gizmo(), and set_move_gizmo().
|
private |
Referenced by on_mouse_impl().
|
private |
Referenced by on_mouse_impl().
|
private |
Referenced by move_gizmo_arm(), and set_move_gizmo().
|
private |
Referenced by clear_move_gizmo(), compose_move_xform(), drag_move_arc(), on_mouse_impl(), and set_move_gizmo().
|
private |
Referenced by drag_move_arc(), and on_mouse_impl().
|
private |
Referenced by drag_cut_arrow(), and set_on_cut_offset_changed().
|
private |
Referenced by drag_draft_arc(), and set_on_draft_angle_changed().
|
private |
Referenced by confirm_op(), emit_step_hint(), has_pending_picks(), on_mouse_impl(), op_pick(), op_ready(), recompute_op_ghost(), render(), and reset_op().
|
private |
Referenced by drag_op_arrow(), hit_test_op_arrow(), recompute_op_ghost(), render_op_gizmo(), and reset_op().
|
private |
Referenced by confirm_op(), emit_step_hint(), op_pick(), op_ready(), recompute_op_ghost(), and reset_op().
|
private |
Referenced by confirm_op(), op_chain_entities(), op_pick(), recompute_op_ghost(), and reset_op().
|
private |
Referenced by drag_op_arrow(), hit_test_op_arrow(), recompute_op_ghost(), render_op_gizmo(), and reset_op().
|
private |
Referenced by on_mouse_impl(), and reset_op().
|
private |
Referenced by recompute_op_ghost(), render_op_gizmo(), and reset_op().
|
private |
Referenced by on_mouse_impl(), render_op_gizmo(), and reset_op().
|
private |
Referenced by confirm_op(), drag_op_arrow(), hit_test_op_arrow(), op_pick(), open_op_editor(), recompute_op_ghost(), render_op_gizmo(), and reset_op().
|
private |
Referenced by begin(), begin_feature(), cancel(), delete_selected(), end_feature(), finish(), rebuild_features_from_entities(), render(), and set_tool().
|
private |
Referenced by begin(), cancel(), cancel_dimension_value(), delete_selected(), finish(), open_value_editor(), pending_dimension_type(), place_dimension(), and set_dimension_value().
|
private |
Referenced by abort_gesture(), begin(), begin_constrain(), begin_constrain_entities(), cancel(), constrain_value_anchor(), emit_step_hint(), has_pending_picks(), on_mouse_impl(), pick0_point(), render(), selected_constrain_entities(), and set_tool().
|
private |
Referenced by on_mouse_impl(), and pick0_point().
|
private |
Referenced by abort_gesture(), begin(), begin_constrain(), begin_constrain_entities(), cancel(), constrain_value_anchor(), emit_step_hint(), on_mouse_impl(), render(), selected_constrain_entities(), and set_tool().
|
private |
Referenced by abort_gesture(), begin(), begin_constrain(), begin_constrain_entities(), cancel(), emit_step_hint(), on_mouse_impl(), pick2(), render(), and set_tool().
|
private |
Referenced by body_pickable(), render_body_edges(), and set_pick_only_body().
| bool Slic3r::GUI::DesignSketchTool::m_pick_pending = false |
Referenced by on_mouse_impl(), and set_move_gizmo().
| int Slic3r::GUI::DesignSketchTool::m_pick_press_x = 0 |
Referenced by on_mouse_impl().
| int Slic3r::GUI::DesignSketchTool::m_pick_press_y = 0 |
Referenced by on_mouse_impl().
|
private |
Referenced by begin(), begin_constrain(), begin_constrain_entities(), begin_imported_transform(), constrain_value_anchor(), draw_dim_label(), draw_fill(), draw_fill_holed(), draw_quad_strip(), draw_strokes(), draw_vertices(), finish(), fit_box(), on_mouse_impl(), open_next_autoedit_dim(), open_selection_dimension_editor(), open_value_editor(), plane(), render(), render_base_pick(), render_cut_gizmo(), render_draft_gizmo(), render_extrude_gizmo(), render_fillet_gizmo(), render_hole_gizmo(), render_mate_connectors(), render_mate_face(), render_move_gizmo(), render_pattern_gizmo(), render_revolve_gizmo(), render_shell_gizmo(), render_thread_gizmo(), screen_to_plane(), screen_tol(), select_at_screen(), and selection_box().
|
private |
|
private |
Referenced by abort_gesture(), apply_segment_length(), arm_polyline_segment_edit(), begin(), begin_constrain(), begin_constrain_entities(), build_readout(), cancel(), click_snaps(), confirm_pending(), emit_step_hint(), end_chain(), finish(), gesture_pending(), keep_segment_as_drawn(), on_mouse_impl(), pending_points(), render(), right_abandon(), set_profile_points(), set_tool(), and snap_chain_start().
|
private |
Referenced by make_polygon(), and set_polygon_circumscribed().
|
private |
Referenced by on_mouse_impl(), render(), and set_polygon_sides().
|
private |
Referenced by clear_solid_selection(), refresh_body_edges(), render_solid_highlight(), set_move_gizmo(), and update_solid_hover().
|
private |
Referenced by refresh_body_edges(), and render_solid_highlight().
|
private |
Referenced by clear_pattern_gizmo(), hit_test_pattern_handle(), on_mouse_impl(), patterning(), render(), render_pattern_gizmo(), and set_pattern_gizmo().
|
private |
Referenced by drag_pattern_handle(), hit_test_pattern_handle(), open_pattern_editor(), render_pattern_gizmo(), and set_pattern_gizmo().
|
private |
Referenced by drag_pattern_handle(), hit_test_pattern_handle(), render_pattern_gizmo(), and set_pattern_gizmo().
|
private |
Referenced by drag_pattern_handle(), hit_test_pattern_handle(), render_pattern_gizmo(), and set_pattern_gizmo().
|
private |
Referenced by drag_pattern_handle(), hit_test_pattern_handle(), open_pattern_editor(), render_pattern_gizmo(), and set_pattern_gizmo().
|
private |
Referenced by drag_pattern_handle(), hit_test_pattern_handle(), render_pattern_gizmo(), and set_pattern_gizmo().
|
private |
Referenced by drag_pattern_handle(), hit_test_pattern_handle(), render_pattern_gizmo(), and set_pattern_gizmo().
|
private |
Referenced by drag_pattern_handle(), hit_test_pattern_handle(), render_pattern_gizmo(), and set_pattern_gizmo().
|
private |
Referenced by clear_pattern_gizmo(), on_mouse_impl(), and set_pattern_gizmo().
|
private |
Referenced by drag_pattern_handle(), hit_test_pattern_handle(), render_pattern_gizmo(), and set_pattern_gizmo().
|
private |
Referenced by set_pattern_gizmo().
|
private |
Referenced by on_mouse_impl().
|
private |
Referenced by on_mouse_impl().
|
private |
Referenced by hit_test_pattern_handle(), render_pattern_gizmo(), and set_pattern_gizmo().
|
private |
Referenced by drag_pattern_handle(), hit_test_pattern_handle(), open_pattern_editor(), render_pattern_gizmo(), and set_pattern_gizmo().
|
private |
Referenced by render_pattern_gizmo().
|
private |
Referenced by clear_rib_gizmo(), has_display(), hit_test_rib_handle(), on_mouse_impl(), render(), render_rib_gizmo(), and set_rib_gizmo().
|
private |
Referenced by clear_rib_gizmo(), on_mouse_impl(), and render_rib_gizmo().
|
private |
Referenced by drag_rib_handle(), hit_test_rib_handle(), render_rib_gizmo(), and set_rib_gizmo().
|
private |
Referenced by drag_rib_handle(), hit_test_rib_handle(), render_rib_gizmo(), and set_rib_gizmo().
|
private |
Referenced by drag_rib_handle(), hit_test_rib_handle(), render_rib_gizmo(), and set_rib_gizmo().
|
private |
Referenced by drag_rib_handle(), hit_test_rib_handle(), render_rib_gizmo(), and set_rib_gizmo().
|
private |
Referenced by draw_dim_label(), hit_test_base_pick(), and render().
|
private |
Referenced by drop_right_click(), on_mouse(), and take_right_click().
|
private |
Referenced by on_mouse_impl(), pick_bodies_in_rectangle(), and render().
|
private |
Referenced by clear_revolve_gizmo(), hit_test_revolve_handle(), on_mouse_impl(), render(), render_revolve_gizmo(), revolving(), and set_revolve_gizmo().
|
private |
Referenced by drag_revolve_arc(), hit_test_revolve_handle(), open_revolve_editor(), render_revolve_gizmo(), and set_revolve_gizmo().
|
private |
Referenced by drag_revolve_arc(), hit_test_revolve_handle(), render_revolve_gizmo(), and set_revolve_gizmo().
|
private |
Referenced by drag_revolve_arc(), hit_test_revolve_handle(), render_revolve_gizmo(), and set_revolve_gizmo().
|
private |
Referenced by clear_revolve_gizmo(), on_mouse_impl(), and set_revolve_gizmo().
|
private |
Referenced by drag_revolve_arc(), hit_test_revolve_handle(), render_revolve_gizmo(), and set_revolve_gizmo().
|
private |
Referenced by on_mouse_impl().
|
private |
Referenced by on_mouse_impl().
|
private |
Referenced by hit_test_revolve_handle(), render_revolve_gizmo(), and set_revolve_gizmo().
|
private |
Referenced by drag_revolve_arc(), hit_test_revolve_handle(), render_revolve_gizmo(), and set_revolve_gizmo().
|
private |
Referenced by render_revolve_gizmo().
|
private |
Referenced by abort_gesture(), begin(), begin_constrain(), begin_constrain_entities(), cancel(), has_pending_picks(), on_mouse_impl(), render(), selected_segment(), and set_tool().
|
private |
Referenced by abort_gesture(), begin(), begin_constrain(), begin_constrain_entities(), cancel(), on_mouse_impl(), render(), selected_segment(), and set_tool().
|
private |
Referenced by clear_solid_selection(), handle_solid_click(), on_mouse_impl(), pick_bodies_in_rectangle(), picked_faces(), refresh_body_edges(), render_solid_highlight(), and select_body().
|
private |
Referenced by clear_solid_selection(), handle_solid_click(), on_mouse_impl(), pick_bodies_in_rectangle(), render_solid_highlight(), select_body(), and selected_edges().
|
private |
Referenced by clear_solid_selection(), handle_solid_click(), render_solid_highlight(), select_body(), selection_box(), and set_fillet_gizmo().
|
private |
Referenced by clear_solid_selection(), handle_solid_click(), select_body(), and selected_edges().
|
private |
Referenced by clear_solid_selection(), handle_solid_click(), render_solid_highlight(), select_body(), and selection_box().
|
private |
Referenced by clear_solid_selection(), handle_solid_click(), on_mouse_impl(), pick_bodies_in_rectangle(), picked_faces(), render_solid_highlight(), and select_body().
|
private |
Referenced by refresh_body_edges(), and render_solid_highlight().
|
private |
Referenced by clear_solid_selection(), handle_solid_click(), refresh_body_edges(), and select_body().
|
private |
Referenced by handle_solid_click(), render_solid_highlight(), and selection_box().
|
private |
Referenced by abort_gesture(), apply_dimension(), begin(), cancel(), clear_selection(), confirm_op(), confirm_transform(), delete_selected(), dimension_current(), dimension_kind(), emit_step_hint(), first_selected_type(), on_mouse_impl(), op_pick(), open_selection_dimension_editor(), record_dimension_constraint(), redo_last_entity(), render(), render_live_quotes(), select_at_screen(), select_indices(), selection(), selection_box(), selection_valid(), set_tool(), sketch_has_selection(), tf_pick(), toggle_selection_construction(), and undo_last_entity().
|
private |
Referenced by clear_shell_gizmo(), has_display(), hit_test_shell_arrow(), on_mouse_impl(), render(), render_shell_gizmo(), set_shell_gizmo(), and shelling().
|
private |
Referenced by drag_shell_arrow(), hit_test_shell_arrow(), render_shell_gizmo(), set_shell_gizmo(), and start_shell_drag().
|
private |
Referenced by drag_shell_arrow(), hit_test_shell_arrow(), render_shell_gizmo(), set_shell_gizmo(), and start_shell_drag().
|
private |
Referenced by clear_shell_gizmo(), on_mouse_impl(), set_shell_gizmo(), and start_shell_drag().
|
private |
Referenced by drag_shell_arrow(), and start_shell_drag().
|
private |
Referenced by drag_shell_arrow(), and start_shell_drag().
|
private |
Referenced by on_mouse_impl(), and start_shell_drag().
|
private |
Referenced by on_mouse_impl(), and start_shell_drag().
|
private |
Referenced by render_shell_gizmo().
|
private |
Referenced by drag_shell_arrow(), hit_test_shell_arrow(), open_shell_editor(), render_shell_gizmo(), set_shell_gizmo(), and start_shell_drag().
|
private |
Referenced by has_display(), render_view_helpers(), set_show_axes(), and toggle_show_axes().
|
private |
Referenced by render().
|
private |
Referenced by has_display(), render_view_helpers(), set_show_planes(), and toggle_show_planes().
|
private |
Referenced by begin(), can_redo_entity(), cancel(), redo_last_entity(), and undo_last_entity().
|
private |
Referenced by resolve_live_drag().
|
private |
Referenced by on_mouse_impl(), and snap_dir().
Referenced by body_pickable(), body_shape(), has_display(), pick_bodies_in_rectangle(), refresh_body_edges(), render_body_edges(), resolve_solid_pick(), select_body(), and set_solid_pick().
|
private |
Referenced by render_face_outline(), and render_solid_sel().
|
private |
Referenced by faces_box(), pick_bodies_in_rectangle(), resolve_solid_pick(), and set_solid_pick().
|
private |
|
private |
Referenced by faces_box(), pick_bodies_in_rectangle(), resolve_solid_pick(), and set_solid_pick().
|
private |
Referenced by faces_box(), resolve_solid_pick(), and set_solid_pick().
|
private |
Referenced by render_solid_sel().
|
private |
Referenced by body_pickable(), render_body_edges(), and set_solid_pick().
|
private |
Referenced by body_xform_pt(), and set_solid_pick().
|
private |
Referenced by apply_dimension(), begin(), cancel(), render(), resolve_live_drag(), set_dimension_value(), and solve_ok().
|
private |
Referenced by emit_step_hint().
|
private |
Referenced by begin(), cancel(), and emit_step_hint().
|
private |
Referenced by emit_step_hint().
|
private |
Referenced by confirm_transform(), drag_tf_handle(), open_tf_editor_a(), recompute_tf_ghost(), render_tf_gizmo(), reset_tf(), tf_handle_pos(), and tf_pick().
|
private |
Referenced by confirm_transform(), open_tf_editor_count(), recompute_tf_ghost(), render_tf_gizmo(), and reset_tf().
|
private |
Referenced by confirm_transform(), drag_tf_handle(), open_tf_editor_a(), recompute_tf_ghost(), render_tf_gizmo(), reset_tf(), tf_handle_pos(), and tf_pick().
|
private |
Referenced by on_mouse_impl(), render_tf_gizmo(), and reset_tf().
|
private |
Referenced by recompute_tf_ghost(), render_tf_gizmo(), and reset_tf().
|
private |
Referenced by reset_tf().
|
private |
Referenced by compute_tf_pivot(), drag_tf_handle(), reset_tf(), tf_handle_pos(), and tf_pick().
|
private |
Referenced by on_mouse_impl(), render_tf_gizmo(), and reset_tf().
|
private |
Referenced by on_mouse_impl(), render_tf_gizmo(), and reset_tf().
|
private |
Referenced by compute_tf_pivot(), confirm_transform(), drag_tf_handle(), recompute_tf_ghost(), render_tf_gizmo(), reset_tf(), and tf_handle_pos().
|
private |
Referenced by confirm_transform(), drag_tf_handle(), open_tf_editor_a(), recompute_tf_ghost(), render_tf_gizmo(), reset_tf(), tf_handle_pos(), and tf_pick().
|
private |
Referenced by compute_tf_pivot(), confirm_transform(), emit_step_hint(), has_pending_picks(), on_mouse_impl(), recompute_tf_ghost(), reset_tf(), tf_pick(), and tf_ready().
|
private |
Referenced by clear_thread_gizmo(), has_display(), hit_test_thread_handle(), on_mouse_impl(), render(), render_thread_gizmo(), set_thread_gizmo(), and threading().
|
private |
Referenced by clear_thread_gizmo(), drag_thread_handle(), on_mouse_impl(), set_thread_gizmo(), and start_thread_drag().
|
private |
Referenced by drag_thread_handle(), and start_thread_drag().
|
private |
Referenced by drag_thread_handle(), and start_thread_drag().
|
private |
Referenced by drag_thread_handle(), and start_thread_drag().
|
private |
Referenced by drag_thread_handle(), and start_thread_drag().
|
private |
Referenced by drag_thread_handle(), and start_thread_drag().
|
private |
Referenced by drag_thread_handle(), hit_test_thread_handle(), open_thread_editor(), render_thread_gizmo(), set_thread_gizmo(), and start_thread_drag().
|
private |
Referenced by drag_thread_handle(), hit_test_thread_handle(), render_thread_gizmo(), set_thread_gizmo(), and start_thread_drag().
|
private |
Referenced by on_mouse_impl(), and start_thread_drag().
|
private |
Referenced by on_mouse_impl(), and start_thread_drag().
|
private |
Referenced by drag_thread_handle(), hit_test_thread_handle(), open_thread_editor(), render_thread_gizmo(), set_thread_gizmo(), and start_thread_drag().
|
private |
Referenced by render_thread_gizmo().
|
private |
Referenced by drag_thread_handle(), hit_test_thread_handle(), open_thread_editor(), render_thread_gizmo(), set_thread_gizmo(), and start_thread_drag().
|
private |
Referenced by drag_thread_handle(), hit_test_thread_handle(), open_thread_editor(), render_thread_gizmo(), set_thread_gizmo(), and start_thread_drag().
|
private |
Referenced by render(), and render_tf_gizmo().
|
private |
Referenced by drag_xform_handle(), and on_mouse_impl().
|
private |
Referenced by begin_imported_transform(), and reset_xform().
|
private |
Referenced by begin_imported_transform(), emit_xform(), and reset_xform().
|
private |
Referenced by begin_imported_transform(), drag_xform_handle(), on_mouse_impl(), render_xform_gizmo(), and reset_xform().
|
private |
Referenced by begin_imported_transform(), drag_xform_handle(), reset_xform(), and xform_world_corners().
|
private |
Referenced by begin_imported_transform(), drag_xform_handle(), reset_xform(), and xform_world_corners().
|
private |
Referenced by begin_imported_transform(), drag_xform_handle(), emit_xform(), reset_xform(), and xform_world_corners().
|
private |
Referenced by begin_imported_transform(), drag_xform_handle(), emit_xform(), reset_xform(), and xform_world_corners().
|
private |
Referenced by begin_imported_transform(), drag_xform_handle(), emit_xform(), reset_xform(), and xform_world_corners().
| std::function<void(int body, const Transform3d& xform)> Slic3r::GUI::DesignSketchTool::on_body_move_changed |
Referenced by drag_move_arc(), drag_move_arrow(), and open_move_editor().
| std::function<void(const SketchProfile&, const SketchPlane&)> Slic3r::GUI::DesignSketchTool::on_commit |
| std::function<void(const std::vector<SketchEntity>&, const std::vector<SketchEntityConstraintDef>&, const SketchPlane&)> Slic3r::GUI::DesignSketchTool::on_commit_entities |
Referenced by finish().
| std::function<void()> Slic3r::GUI::DesignSketchTool::on_constraints_changed |
Referenced by remove_constraint(), and try_add_constraints().
| std::function<void(double length, double angle_deg, bool locked)> Slic3r::GUI::DesignSketchTool::on_cursor_metrics |
Referenced by on_mouse_impl().
| std::function<void(int base)> Slic3r::GUI::DesignSketchTool::on_datum_base_picked |
Referenced by on_mouse_impl().
| std::function<void(double offset)> Slic3r::GUI::DesignSketchTool::on_datum_offset_changed |
Referenced by drag_datum_handle().
| std::function<void(double usize, double vsize)> Slic3r::GUI::DesignSketchTool::on_datum_size_changed |
Referenced by drag_datum_handle().
| std::function<void(double current)> Slic3r::GUI::DesignSketchTool::on_dimension_pick_complete |
Referenced by open_value_editor().
| std::function<void(int feature)> Slic3r::GUI::DesignSketchTool::on_display_sketch_activated |
Referenced by on_mouse_impl().
| std::function<void(int feature, int region, int entity)> Slic3r::GUI::DesignSketchTool::on_display_sketch_selected |
Referenced by on_mouse_impl().
| std::function<void()> Slic3r::GUI::DesignSketchTool::on_empty_pick |
Referenced by on_mouse_impl(), and pick_bodies_in_rectangle().
| std::function<void()> Slic3r::GUI::DesignSketchTool::on_exit |
Referenced by request_exit().
| std::function<void()> Slic3r::GUI::DesignSketchTool::on_exit_refused |
Referenced by request_exit().
| std::function<void(double depth, bool second)> Slic3r::GUI::DesignSketchTool::on_extrude_depth_changed |
Referenced by drag_extrude_arrow(), and open_extrude_editor().
| std::function<void(int)> Slic3r::GUI::DesignSketchTool::on_face_selected |
Referenced by on_mouse_impl().
| std::function<void(double radius)> Slic3r::GUI::DesignSketchTool::on_fillet_radius_changed |
Referenced by drag_fillet_arrow(), and open_fillet_editor().
| std::function<void(double radius, double pitch, double height)> Slic3r::GUI::DesignSketchTool::on_helix_changed |
Referenced by drag_helix_handle().
| std::function<void(double x, double y, double diameter, double depth)> Slic3r::GUI::DesignSketchTool::on_hole_changed |
Referenced by drag_hole_handle(), and open_hole_editor().
| std::function<void(int feat, Vec2d offset, double scale_x, double scale_y)> Slic3r::GUI::DesignSketchTool::on_imported_transform |
Referenced by emit_xform().
| std::function<void()> Slic3r::GUI::DesignSketchTool::on_inline_commit |
Referenced by on_mouse_impl(), and set_tool().
| std::function<void()> Slic3r::GUI::DesignSketchTool::on_inline_dismiss |
Referenced by close_session_chrome(), and on_mouse_impl().
| std::function<void(wxPoint screen_px, double current, const std::string& title, std::function<void(double)> commit, std::function<void()> cancel)> Slic3r::GUI::DesignSketchTool::on_inline_edit |
Referenced by arm_polyline_segment_edit(), open_angle_editor(), open_arc_angle_editor(), open_arc_slot_editor(), open_ellipse_axis_editor(), open_extrude_editor(), open_fillet_editor(), open_hole_editor(), open_move_editor(), open_next_autoedit_dim(), open_op_editor(), open_pattern_editor(), open_polygon_angle_editor(), open_polygon_side_editor(), open_primary_autoedit(), open_revolve_editor(), open_rounded_rect_editor(), open_selection_dimension_editor(), open_shell_editor(), open_slot_editor(), open_tf_editor_a(), open_tf_editor_count(), open_thread_editor(), and open_value_editor().
| std::function<void(const std::string& msg, bool error)> Slic3r::GUI::DesignSketchTool::on_notice |
Referenced by notify().
| std::function<void(double value)> Slic3r::GUI::DesignSketchTool::on_pattern_changed |
Referenced by drag_pattern_handle(), and open_pattern_editor().
| std::function<void(const std::string&)> Slic3r::GUI::DesignSketchTool::on_readout |
Referenced by close_session_chrome(), and render().
| std::function<void(double angle)> Slic3r::GUI::DesignSketchTool::on_revolve_angle_changed |
Referenced by drag_revolve_arc(), and open_revolve_editor().
| std::function<void(double thickness)> Slic3r::GUI::DesignSketchTool::on_rib_thickness_changed |
Referenced by drag_rib_handle().
| std::function<void(double length, double angle_deg)> Slic3r::GUI::DesignSketchTool::on_segment_drawn |
| std::function<void(int count)> Slic3r::GUI::DesignSketchTool::on_selection_changed |
| std::function<void(double thickness)> Slic3r::GUI::DesignSketchTool::on_shell_thickness_changed |
Referenced by drag_shell_arrow(), and open_shell_editor().
| std::function<void(int level, int body, int face, int edge)> Slic3r::GUI::DesignSketchTool::on_solid_selection_changed |
Referenced by handle_solid_click(), on_mouse_impl(), and pick_bodies_in_rectangle().
| std::function<void(int dof, bool ok, bool has_constraints)> Slic3r::GUI::DesignSketchTool::on_solve_state |
Referenced by resolve_live_drag().
Referenced by emit_step_hint().
| std::function<void(double x, double y, double radius, double height)> Slic3r::GUI::DesignSketchTool::on_thread_changed |
Referenced by drag_thread_handle(), and open_thread_editor().
| std::function<void()> Slic3r::GUI::DesignSketchTool::render_overlays |
Referenced by render().
| std::function<int()> Slic3r::GUI::DesignSketchTool::selected_base |
Referenced by render_base_pick().