Blender
V3.3
|
Public Types | |
enum | { MODE_IDLE , MODE_DRAGGING , MODE_CONNECT , MODE_PANNING } |
Definition at line 210 of file editmesh_knife.c.
anonymous enum |
Enumerator | |
---|---|
MODE_IDLE | |
MODE_DRAGGING | |
MODE_CONNECT | |
MODE_PANNING |
Definition at line 286 of file editmesh_knife.c.
float KnifeTool_OpData::angle |
Definition at line 301 of file editmesh_knife.c.
Referenced by knife_snap_angle_relative(), knife_snap_angle_screen(), and knife_update_header().
bool KnifeTool_OpData::angle_snapping |
Definition at line 300 of file editmesh_knife.c.
Referenced by knife_snap_update_from_mval(), knife_update_header(), knifetool_disable_angle_snapping(), knifetool_init(), and knifetool_modal().
float KnifeTool_OpData::angle_snapping_increment |
Definition at line 295 of file editmesh_knife.c.
Referenced by knife_snap_angle_relative(), knife_snap_angle_screen(), knife_update_header(), knifetool_init(), and knifetool_modal().
short KnifeTool_OpData::angle_snapping_mode |
Definition at line 298 of file editmesh_knife.c.
Referenced by knife_snap_update_from_mval(), knife_update_header(), knifetool_disable_angle_snapping(), knifetool_draw(), knifetool_draw_visible_angles(), knifetool_init(), and knifetool_modal().
MemArena* KnifeTool_OpData::arena |
Definition at line 226 of file editmesh_knife.c.
Referenced by knife_empty_list(), knife_make_face_cuts(), knifetool_exit_ex(), and knifetool_init().
bool KnifeTool_OpData::axis_constrained |
Definition at line 309 of file editmesh_knife.c.
Referenced by knife_find_closest_edge_of_face(), knife_find_closest_vert_of_edge(), knife_snap_update_from_mval(), knife_update_header(), knifetool_disable_orientation_locking(), knifetool_draw(), and knifetool_modal().
char KnifeTool_OpData::axis_string[2] |
Definition at line 310 of file editmesh_knife.c.
Referenced by knife_update_header(), knifetool_init(), and knifetool_modal().
KnifeBVH KnifeTool_OpData::bvh |
Definition at line 242 of file editmesh_knife.c.
Referenced by knife_bvh_free(), knife_bvh_init(), knife_bvh_raycast(), knife_bvh_raycast_cb(), knife_bvh_raycast_filter(), and knife_find_line_hits().
float KnifeTool_OpData::clipend |
Definition at line 284 of file editmesh_knife.c.
Referenced by knife_recalc_ortho().
float KnifeTool_OpData::clipsta |
Definition at line 284 of file editmesh_knife.c.
Referenced by knife_recalc_ortho().
KnifeColors KnifeTool_OpData::colors |
Definition at line 270 of file editmesh_knife.c.
Referenced by knifetool_draw(), knifetool_draw_orientation_locking(), and knifetool_init().
short KnifeTool_OpData::constrain_axis |
Definition at line 307 of file editmesh_knife.c.
Referenced by knife_constrain_axis(), knifetool_disable_orientation_locking(), knifetool_draw_orientation_locking(), and knifetool_modal().
short KnifeTool_OpData::constrain_axis_mode |
Definition at line 308 of file editmesh_knife.c.
Referenced by knife_constrain_axis(), knifetool_disable_orientation_locking(), and knifetool_modal().
KnifePosData KnifeTool_OpData::curr |
Definition at line 259 of file editmesh_knife.c.
Referenced by knife_add_cut(), knife_calculate_snap_ref_edges(), knife_constrain_axis(), knife_find_closest_edge_of_face(), knife_find_closest_face(), knife_find_closest_vert_of_edge(), knife_find_line_hits(), knife_snap_angle_relative(), knife_snap_angle_screen(), knife_snap_edge_constrained(), knife_snap_size(), knife_snap_update_from_mval(), knife_start_cut(), knife_update_active(), knifetool_draw(), knifetool_draw_angle(), knifetool_draw_orientation_locking(), knifetool_draw_visible_angles(), knifetool_draw_visible_distances(), knifetool_init(), knifetool_modal(), and knifetool_raycast_planes().
bool KnifeTool_OpData::cut_through |
Definition at line 276 of file editmesh_knife.c.
Referenced by EDBM_mesh_knife(), knife_bvh_init(), knife_update_header(), knifetool_init(), knifetool_modal(), and point_is_visible().
bool KnifeTool_OpData::depth_test |
Definition at line 319 of file editmesh_knife.c.
Referenced by knife_update_header(), knifetool_draw(), knifetool_init(), and knifetool_modal().
short KnifeTool_OpData::dist_angle_mode |
Definition at line 312 of file editmesh_knife.c.
Referenced by knifetool_draw_dist_angle(), knifetool_init(), and knifetool_modal().
void* KnifeTool_OpData::draw_handle |
Definition at line 212 of file editmesh_knife.c.
Referenced by knifetool_exit_ex(), and knifetool_init().
GSet* KnifeTool_OpData::edge_visit |
Definition at line 231 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().
float KnifeTool_OpData::ethresh |
Definition at line 252 of file editmesh_knife.c.
Referenced by knife_find_closest_edge_of_face(), and knifetool_init().
GHash* KnifeTool_OpData::facetrimap |
Definition at line 240 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 291 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 292 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 261 of file editmesh_knife.c.
Referenced by knifetool_modal().
bool KnifeTool_OpData::is_angle_snapping |
Definition at line 299 of file editmesh_knife.c.
Referenced by knife_find_closest_edge_of_face(), knife_find_closest_vert_of_edge(), knife_snap_update_from_mval(), knifetool_disable_angle_snapping(), knifetool_draw(), and knifetool_draw_visible_angles().
bool KnifeTool_OpData::is_drag_hold |
Definition at line 287 of file editmesh_knife.c.
Referenced by knife_add_cut(), knife_find_line_hits(), and knifetool_modal().
bool KnifeTool_OpData::is_drag_undo |
Definition at line 317 of file editmesh_knife.c.
Referenced by knife_add_cut(), and knifetool_modal().
bool KnifeTool_OpData::is_interactive |
Definition at line 273 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 280 of file editmesh_knife.c.
Referenced by knife_find_line_hits(), knife_interp_v3_v3v3(), knife_recalc_ortho(), and point_is_visible().
GHash* KnifeTool_OpData::kedgefacemap |
Definition at line 239 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 245 of file editmesh_knife.c.
Referenced by knife_make_cuts(), knifetool_draw(), knifetool_exit_ex(), knifetool_init(), knifetool_undo(), and new_knife_edge().
BLI_mempool* KnifeTool_OpData::kverts |
Definition at line 244 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 255 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().
KnifeMeasureData KnifeTool_OpData::mdata |
Definition at line 314 of file editmesh_knife.c.
Referenced by knife_add_cut(), knife_start_cut(), knifetool_draw_visible_angles(), and knifetool_undo().
enum { ... } KnifeTool_OpData::mode |
float KnifeTool_OpData::mval[2] |
Definition at line 214 of file editmesh_knife.c.
Referenced by knife_constrain_axis(), knife_snap_angle_relative(), knife_snap_angle_screen(), knife_update_active(), and knifetool_update_mval().
bool KnifeTool_OpData::no_cuts |
Definition at line 246 of file editmesh_knife.c.
Referenced by knifetool_init(), and knifetool_modal().
NumInput KnifeTool_OpData::num |
Definition at line 294 of file editmesh_knife.c.
Referenced by knife_reset_snap_angle_input(), knifetool_init(), and knifetool_modal().
Object** KnifeTool_OpData::objects |
Definition at line 219 of file editmesh_knife.c.
Referenced by calc_ortho_extent(), EDBM_mesh_knife(), knife_bm_tri_cagecos_get_worldspace(), knife_bvh_init(), knife_bvh_raycast_cb(), knife_find_closest_face(), knife_find_line_hits(), knifetool_exit_ex(), knifetool_finish_ex(), knifetool_init(), and knifetool_invoke().
bool KnifeTool_OpData::objects_free |
Definition at line 221 of file editmesh_knife.c.
Referenced by knifetool_exit_ex(), and knifetool_init().
KnifeObjectInfo* KnifeTool_OpData::objects_info |
Array objects_len
length of additional per-object data.
Definition at line 224 of file editmesh_knife.c.
Referenced by calc_ortho_extent(), get_bm_knife_vert(), knife_bm_tri_cagecos_get(), knife_bm_tri_index_get(), knifetool_exit_ex(), knifetool_free_obinfo(), knifetool_init(), and knifetool_init_obinfo().
uint KnifeTool_OpData::objects_len |
Definition at line 220 of file editmesh_knife.c.
Referenced by calc_ortho_extent(), EDBM_mesh_knife(), knife_bvh_init(), knife_bvh_raycast_cb(), knife_find_line_hits(), knifetool_exit_ex(), knifetool_finish_ex(), knifetool_init(), and knifetool_invoke().
bool KnifeTool_OpData::only_select |
Definition at line 277 of file editmesh_knife.c.
Referenced by knife_bvh_init(), knife_find_closest_face(), knife_find_line_hits(), knife_make_cuts(), and knifetool_init().
GHash* KnifeTool_OpData::origedgemap |
Definition at line 238 of file editmesh_knife.c.
Referenced by get_bm_knife_edge(), knifetool_exit_ex(), and knifetool_init().
GHash* KnifeTool_OpData::origvertmap |
Definition at line 237 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 281 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 282 of file editmesh_knife.c.
Referenced by calc_ortho_extent(), and knife_find_line_hits().
KnifePosData KnifeTool_OpData::prev |
Definition at line 260 of file editmesh_knife.c.
Referenced by knife_add_cut(), knife_calculate_snap_ref_edges(), knife_constrain_axis(), knife_find_closest_edge_of_face(), knife_find_closest_vert_of_edge(), knife_find_line_hits(), knife_snap_angle_relative(), knife_snap_angle_screen(), knife_snap_edge_constrained(), knife_snap_update_from_mval(), knife_start_cut(), knife_update_active(), knifetool_draw(), knifetool_draw_orientation_locking(), knifetool_draw_visible_angles(), knifetool_draw_visible_distances(), knifetool_init(), knifetool_modal(), knifetool_raycast_planes(), and knifetool_undo().
int KnifeTool_OpData::prevmode |
Definition at line 289 of file editmesh_knife.c.
Referenced by knifetool_modal().
BLI_mempool* KnifeTool_OpData::refs |
Definition at line 268 of file editmesh_knife.c.
Referenced by knife_append_list(), knifetool_exit_ex(), and knifetool_init().
ARegion* KnifeTool_OpData::region |
Definition at line 211 of file editmesh_knife.c.
Referenced by knife_constrain_axis(), knife_find_line_hits(), knife_project_v2(), knifetool_draw_angle(), knifetool_draw_visible_angles(), knifetool_draw_visible_distances(), knifetool_exit_ex(), knifetool_init(), knifetool_modal(), knifetool_raycast_planes(), and knifetool_update_mval().
Scene* KnifeTool_OpData::scene |
Definition at line 216 of file editmesh_knife.c.
Referenced by knife_constrain_axis(), knifetool_draw_angle(), knifetool_draw_visible_distances(), knifetool_init(), and knifetool_init_obinfo().
bool KnifeTool_OpData::select_result |
Definition at line 278 of file editmesh_knife.c.
Referenced by knife_make_cuts(), knife_make_face_cuts(), and knifetool_init().
bool KnifeTool_OpData::show_dist_angle |
Definition at line 313 of file editmesh_knife.c.
Referenced by knife_update_header(), knifetool_draw(), knifetool_init(), and knifetool_modal().
int KnifeTool_OpData::snap_edge |
Definition at line 305 of file editmesh_knife.c.
Referenced by knife_snap_angle_relative(), and knifetool_modal().
bool KnifeTool_OpData::snap_midpoints |
Definition at line 290 of file editmesh_knife.c.
Referenced by knife_find_closest_edge_of_face(), knife_find_line_hits(), knife_update_header(), and knifetool_modal().
KnifeEdge* KnifeTool_OpData::snap_ref_edge |
Definition at line 303 of file editmesh_knife.c.
Referenced by knife_snap_angle_relative(), knifetool_draw(), and knifetool_draw_visible_angles().
int KnifeTool_OpData::snap_ref_edges_count |
Definition at line 304 of file editmesh_knife.c.
Referenced by knife_snap_update_from_mval(), and knifetool_modal().
BLI_Stack* KnifeTool_OpData::splitstack |
Definition at line 249 of file editmesh_knife.c.
Referenced by knife_split_edge(), knifetool_exit_ex(), knifetool_init(), and knifetool_undo().
int KnifeTool_OpData::totkedge |
Definition at line 264 of file editmesh_knife.c.
Referenced by knifetool_draw(), and new_knife_edge().
int KnifeTool_OpData::totkvert |
Definition at line 266 of file editmesh_knife.c.
Referenced by knifetool_draw(), knifetool_modal(), and new_knife_vert().
int KnifeTool_OpData::totlinehit |
Definition at line 256 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().
KnifeUndoFrame* KnifeTool_OpData::undo |
Definition at line 316 of file editmesh_knife.c.
Referenced by knife_add_cut(), knife_add_single_cut(), and knife_split_edge().
BLI_Stack* KnifeTool_OpData::undostack |
Definition at line 248 of file editmesh_knife.c.
Referenced by knife_add_cut(), knifetool_exit_ex(), knifetool_init(), knifetool_modal(), and knifetool_undo().
ViewContext KnifeTool_OpData::vc |
Definition at line 213 of file editmesh_knife.c.
Referenced by knife_bvh_raycast_cb(), knife_constrain_axis(), 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_interp_v3_v3v3(), knife_recalc_ortho(), knife_sample_screen_density_from_closest_face(), knife_snap_update_from_mval(), knife_start_cut(), knife_update_active(), knifetool_exit_ex(), knifetool_init(), knifetool_init_obinfo(), knifetool_modal(), knifetool_raycast_planes(), point_is_visible(), and set_linehit_depth().
float KnifeTool_OpData::vthresh |
Definition at line 251 of file editmesh_knife.c.
Referenced by knife_find_closest_vert_of_edge(), and knifetool_init().