|
Blender
V2.93
|
Public Types | |
| enum | { MODE_IDLE , MODE_DRAGGING , MODE_CONNECT , MODE_PANNING } |
Public Attributes | |
| ARegion * | region |
| void * | draw_handle |
| ViewContext | vc |
| float | mval [2] |
| Scene * | scene |
| Object * | ob |
| BMEditMesh * | em |
| MemArena * | arena |
| struct { | |
| GSet * edge_visit | |
| MemArena * arena | |
| } | edgenet |
| GHash * | origvertmap |
| GHash * | origedgemap |
| GHash * | kedgefacemap |
| GHash * | facetrimap |
| BMBVHTree * | bmbvh |
| BLI_mempool * | kverts |
| BLI_mempool * | kedges |
| float | vthresh |
| float | ethresh |
| KnifeLineHit * | linehits |
| int | totlinehit |
| KnifePosData | curr |
| KnifePosData | prev |
| KnifePosData | init |
| int | totkedge |
| int | totkvert |
| BLI_mempool * | refs |
| float | ob_imat [4][4] |
| float | projmat [4][4] |
| float | projmat_inv [4][4] |
| float | proj_zaxis [3] |
| KnifeColors | colors |
| bool | is_interactive |
| bool | cut_through |
| bool | only_select |
| bool | select_result |
| bool | is_ortho |
| float | ortho_extent |
| float | ortho_extent_center [3] |
| float | clipsta |
| float | clipend |
| enum KnifeTool_OpData:: { ... } | mode |
| bool | is_drag_hold |
| int | prevmode |
| bool | snap_midpoints |
| bool | ignore_edge_snapping |
| bool | ignore_vert_snapping |
| bool | is_angle_snapping |
| bool | angle_snapping |
| float | angle |
| const float(* | cagecos )[3] |
Definition at line 157 of file editmesh_knife.c.
| anonymous enum |
| Enumerator | |
|---|---|
| MODE_IDLE | |
| MODE_DRAGGING | |
| MODE_CONNECT | |
| MODE_PANNING | |
Definition at line 235 of file editmesh_knife.c.
| float KnifeTool_OpData::angle |
Definition at line 246 of file editmesh_knife.c.
Referenced by knife_snap_angle().
| bool KnifeTool_OpData::angle_snapping |
Definition at line 245 of file editmesh_knife.c.
Referenced by knife_snap_update_from_mval(), knife_update_header(), and knifetool_modal().
| MemArena* KnifeTool_OpData::arena |
Definition at line 168 of file editmesh_knife.c.
Referenced by knife_empty_list(), knife_make_face_cuts(), knifetool_exit_ex(), and knifetool_init().
| BMBVHTree* KnifeTool_OpData::bmbvh |
Definition at line 184 of file editmesh_knife.c.
Referenced by knife_find_closest_face(), knife_find_line_hits(), knifetool_free_bmbvh(), knifetool_init_bmbvh(), and point_is_visible().
| const float(* KnifeTool_OpData::cagecos)[3] |
Definition at line 248 of file editmesh_knife.c.
Referenced by calc_ortho_extent(), get_bm_knife_vert(), knife_ray_intersect_face(), knifetool_free_bmbvh(), and knifetool_init_bmbvh().
| float KnifeTool_OpData::clipend |
Definition at line 233 of file editmesh_knife.c.
Referenced by knife_recalc_projmat().
| float KnifeTool_OpData::clipsta |
Definition at line 233 of file editmesh_knife.c.
Referenced by knife_recalc_projmat().
| KnifeColors KnifeTool_OpData::colors |
Definition at line 219 of file editmesh_knife.c.
Referenced by knifetool_draw(), and knifetool_init().
| KnifePosData KnifeTool_OpData::curr |
Definition at line 197 of file editmesh_knife.c.
Referenced by knife_add_cut(), knife_find_closest_edge_of_face(), knife_find_closest_face(), knife_find_closest_vert_of_edge(), knife_find_line_hits(), knife_snap_angle(), knife_snap_edge_in_angle(), knife_snap_size(), knife_snap_update_from_mval(), knife_start_cut(), knife_update_active(), knifetool_draw(), knifetool_draw_angle_snapping(), knifetool_init(), and knifetool_modal().
| bool KnifeTool_OpData::cut_through |
Definition at line 225 of file editmesh_knife.c.
Referenced by EDBM_mesh_knife(), knife_update_header(), knifetool_init(), knifetool_init_bmbvh(), knifetool_modal(), and point_is_visible().
| void* KnifeTool_OpData::draw_handle |
Definition at line 159 of file editmesh_knife.c.
Referenced by knifetool_exit_ex(), and knifetool_init().
| GSet* KnifeTool_OpData::edge_visit |
Definition at line 173 of file editmesh_knife.c.
Referenced by knife_make_face_cuts(), knifetool_exit_ex(), and knifetool_init().
| struct { ... } KnifeTool_OpData::edgenet |
Referenced by knife_make_face_cuts(), knifetool_exit_ex(), and knifetool_init().
| BMEditMesh* KnifeTool_OpData::em |
Definition at line 166 of file editmesh_knife.c.
Referenced by calc_ortho_extent(), EDBM_mesh_knife(), knife_find_line_hits(), knife_make_cuts(), knife_make_face_cuts(), knife_ray_intersect_face(), knifetool_finish_ex(), knifetool_init(), knifetool_init_bmbvh(), knifetool_modal(), and set_lowest_face_tri().
| float KnifeTool_OpData::ethresh |
Definition at line 190 of file editmesh_knife.c.
Referenced by knife_find_closest_edge_of_face(), and knifetool_init().
| GHash* KnifeTool_OpData::facetrimap |
Definition at line 182 of file editmesh_knife.c.
Referenced by get_lowest_face_tri(), knifetool_exit_ex(), knifetool_init(), and set_lowest_face_tri().
| bool KnifeTool_OpData::ignore_edge_snapping |
Definition at line 240 of file editmesh_knife.c.
Referenced by EDBM_mesh_knife(), knife_find_closest_edge_of_face(), knife_snap_update_from_mval(), knife_update_header(), and knifetool_modal().
| bool KnifeTool_OpData::ignore_vert_snapping |
Definition at line 241 of file editmesh_knife.c.
Referenced by EDBM_mesh_knife(), knife_find_closest_edge_of_face(), knife_find_closest_vert_of_edge(), and knifetool_modal().
| KnifePosData KnifeTool_OpData::init |
Definition at line 199 of file editmesh_knife.c.
Referenced by knifetool_modal().
| bool KnifeTool_OpData::is_angle_snapping |
Definition at line 244 of file editmesh_knife.c.
Referenced by knife_find_closest_edge_of_face(), knife_find_closest_vert_of_edge(), knife_snap_update_from_mval(), and knifetool_draw().
| bool KnifeTool_OpData::is_drag_hold |
Definition at line 236 of file editmesh_knife.c.
Referenced by knife_add_cut(), knife_find_line_hits(), and knifetool_modal().
| bool KnifeTool_OpData::is_interactive |
Definition at line 222 of file editmesh_knife.c.
Referenced by knife_find_closest_edge_of_face(), knife_find_closest_face(), knife_find_closest_vert_of_edge(), knife_find_line_hits(), knife_snap_size(), knifetool_exit_ex(), and knifetool_init().
| bool KnifeTool_OpData::is_ortho |
Definition at line 229 of file editmesh_knife.c.
Referenced by knife_find_line_hits(), knife_interp_v3_v3v3(), knife_recalc_projmat(), and point_is_visible().
| GHash* KnifeTool_OpData::kedgefacemap |
Definition at line 181 of file editmesh_knife.c.
Referenced by knife_get_face_kedges(), knifetool_exit_ex(), and knifetool_init().
| BLI_mempool* KnifeTool_OpData::kedges |
Definition at line 187 of file editmesh_knife.c.
Referenced by knife_make_cuts(), knifetool_draw(), knifetool_exit_ex(), knifetool_init(), and new_knife_edge().
| BLI_mempool* KnifeTool_OpData::kverts |
Definition at line 186 of file editmesh_knife.c.
Referenced by knife_make_cuts(), knifetool_draw(), knifetool_exit_ex(), knifetool_init(), and new_knife_vert().
| KnifeLineHit* KnifeTool_OpData::linehits |
Definition at line 193 of file editmesh_knife.c.
Referenced by knife_add_cut(), knife_find_line_hits(), knife_finish_cut(), knifetool_draw(), knifetool_exit_ex(), and prepare_linehits_for_cut().
| enum { ... } KnifeTool_OpData::mode |
Referenced by EDBM_mesh_knife(), knife_snap_update_from_mval(), knife_update_active(), knifetool_draw(), and knifetool_modal().
| float KnifeTool_OpData::mval[2] |
Definition at line 161 of file editmesh_knife.c.
Referenced by knife_snap_angle(), knife_update_active(), and knifetool_update_mval().
| Object* KnifeTool_OpData::ob |
Definition at line 165 of file editmesh_knife.c.
Referenced by EDBM_mesh_knife(), knife_recalc_projmat(), knifetool_draw(), knifetool_draw_angle_snapping(), knifetool_finish_ex(), knifetool_init(), and knifetool_init_bmbvh().
| float KnifeTool_OpData::ob_imat[4][4] |
Use this instead of Object.imat since it's calculated using invert_m4_m4_safe_ortho to support objects with zero scale on a single axis.
Definition at line 212 of file editmesh_knife.c.
Referenced by knife_find_line_hits(), knife_input_ray_segment(), knife_recalc_projmat(), knife_start_cut(), knifetool_draw_angle_snapping(), knifetool_init(), and point_is_visible().
| bool KnifeTool_OpData::only_select |
Definition at line 226 of file editmesh_knife.c.
Referenced by knife_find_closest_face(), knife_find_line_hits(), knife_make_cuts(), knifetool_init(), and knifetool_init_bmbvh().
| GHash* KnifeTool_OpData::origedgemap |
Definition at line 180 of file editmesh_knife.c.
Referenced by get_bm_knife_edge(), knifetool_exit_ex(), and knifetool_init().
| GHash* KnifeTool_OpData::origvertmap |
Definition at line 179 of file editmesh_knife.c.
Referenced by get_bm_knife_vert(), knifetool_exit_ex(), and knifetool_init().
| float KnifeTool_OpData::ortho_extent |
Definition at line 230 of file editmesh_knife.c.
Referenced by calc_ortho_extent(), and knife_find_line_hits().
| float KnifeTool_OpData::ortho_extent_center[3] |
Definition at line 231 of file editmesh_knife.c.
Referenced by calc_ortho_extent(), and knife_find_line_hits().
| KnifePosData KnifeTool_OpData::prev |
Definition at line 198 of file editmesh_knife.c.
Referenced by knife_add_cut(), knife_find_closest_vert_of_edge(), knife_find_line_hits(), knife_snap_angle(), knife_snap_edge_in_angle(), knife_snap_update_from_mval(), knife_start_cut(), knife_update_active(), knifetool_draw(), knifetool_draw_angle_snapping(), knifetool_init(), and knifetool_modal().
| int KnifeTool_OpData::prevmode |
Definition at line 238 of file editmesh_knife.c.
Referenced by knifetool_modal().
| float KnifeTool_OpData::proj_zaxis[3] |
Definition at line 217 of file editmesh_knife.c.
Referenced by knife_recalc_projmat(), knife_start_cut(), and knife_update_active().
| float KnifeTool_OpData::projmat[4][4] |
Definition at line 214 of file editmesh_knife.c.
Referenced by knife_interp_v3_v3v3(), knife_project_v2(), knife_recalc_projmat(), and knifetool_draw_angle_snapping().
| float KnifeTool_OpData::projmat_inv[4][4] |
Definition at line 215 of file editmesh_knife.c.
Referenced by knife_interp_v3_v3v3(), and knife_recalc_projmat().
| BLI_mempool* KnifeTool_OpData::refs |
Definition at line 206 of file editmesh_knife.c.
Referenced by knife_append_list(), knifetool_exit_ex(), and knifetool_init().
| ARegion* KnifeTool_OpData::region |
Definition at line 158 of file editmesh_knife.c.
Referenced by EDBM_mesh_knife(), knife_find_line_hits(), knife_project_v2(), knife_recalc_projmat(), knifetool_draw_angle_snapping(), knifetool_exit_ex(), knifetool_init(), knifetool_modal(), and knifetool_update_mval().
| Scene* KnifeTool_OpData::scene |
Definition at line 164 of file editmesh_knife.c.
Referenced by knifetool_init(), and knifetool_init_bmbvh().
| bool KnifeTool_OpData::select_result |
Definition at line 227 of file editmesh_knife.c.
Referenced by knife_make_cuts(), knife_make_face_cuts(), and knifetool_init().
| bool KnifeTool_OpData::snap_midpoints |
Definition at line 239 of file editmesh_knife.c.
Referenced by knife_find_closest_edge_of_face(), knife_find_line_hits(), knife_update_header(), and knifetool_modal().
| int KnifeTool_OpData::totkedge |
Number of knife edges kedges.
Definition at line 202 of file editmesh_knife.c.
Referenced by knifetool_draw(), and new_knife_edge().
| int KnifeTool_OpData::totkvert |
Number of knife vertices, kverts.
Definition at line 204 of file editmesh_knife.c.
Referenced by knifetool_draw(), and new_knife_vert().
| int KnifeTool_OpData::totlinehit |
Definition at line 194 of file editmesh_knife.c.
Referenced by knife_add_cut(), knife_find_line_hits(), knife_finish_cut(), knifetool_draw(), knifetool_modal(), and prepare_linehits_for_cut().
| ViewContext KnifeTool_OpData::vc |
Definition at line 160 of file editmesh_knife.c.
Referenced by knife_find_closest_edge_of_face(), knife_find_closest_face(), knife_find_closest_vert_of_edge(), knife_find_line_hits(), knife_input_ray_segment(), knife_recalc_projmat(), knife_sample_screen_density_from_closest_face(), knife_start_cut(), knifetool_draw_angle_snapping(), knifetool_init(), knifetool_init_bmbvh(), knifetool_modal(), point_is_visible(), and set_linehit_depth().
| float KnifeTool_OpData::vthresh |
Definition at line 189 of file editmesh_knife.c.
Referenced by knife_find_closest_vert_of_edge(), and knifetool_init().