|
Blender V4.3
|
Public Member Functions | |
| void | update_proj_mat (TransInfo *t, const TransDataContainer *tc) |
| float2 | project (const float3 &co) |
| void | update_active_edges (TransInfo *t, const float2 &mval_fl) |
| void | update_active_vert (TransInfo *, const float2 &mval_fl) |
Public Attributes | |
| Array< TransDataVertSlideVert > | sv |
| Vector< float3 > | targets_buffer |
| int | curr_sv_index |
Definition at line 40 of file transform_mode_vert_slide.cc.
Definition at line 79 of file transform_mode_vert_slide.cc.
References blender::math::project_point(), and blender::VecBase< T, Size >::xy().
Referenced by drawVertSlide(), update_active_vert(), and vert_slide_update_input().
Run while moving the mouse to slide along the edge matching the mouse direction.
Definition at line 87 of file transform_mode_vert_slide.cc.
References blender::math::dot(), FLT_MAX, MouseInput::imval, blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), TransInfo::mouse, blender::math::normalize(), blender::math::project_point(), blender::Array< T, InlineBufferCapacity, Allocator >::size(), sv, and blender::VecBase< T, Size >::xy().
Referenced by handleEventVertSlide(), and initVertSlide_ex().
Run once when initializing vert slide to find the reference edge.
Definition at line 124 of file transform_mode_vert_slide.cc.
References TransDataVertSlideVert::co_orig_3d(), FLT_MAX, blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), len_squared_v2v2(), project(), and sv.
Referenced by initVertSlide_ex().
|
inline |
Definition at line 50 of file transform_mode_vert_slide.cc.
References ED_view3d_ob_project_mat_get(), blender::MatBase< float, 4, 4 >::identity(), blender::MatBase< T, NumCol, NumRow, Alignment >::location(), TransDataContainer::obedit, blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), TransInfo::region, SPACE_VIEW3D, TransInfo::spacetype, UI_view2d_view_to_region_m4(), UNLIKELY, and TransInfo::view.
Referenced by createVertSlideVerts(), and transform_mode_vert_slide_reproject_input().
| int VertSlideData::curr_sv_index |
Definition at line 43 of file transform_mode_vert_slide.cc.
Referenced by createVertSlideVerts(), doVertSlide(), drawVertSlide(), vert_slide_snap_apply(), vert_slide_transform_matrix_fn(), and vert_slide_update_input().
| Array<TransDataVertSlideVert> VertSlideData::sv |
Definition at line 41 of file transform_mode_vert_slide.cc.
Referenced by createVertSlideVerts(), doVertSlide(), drawVertSlide(), update_active_edges(), update_active_vert(), vert_slide_snap_apply(), vert_slide_transform_matrix_fn(), and vert_slide_update_input().
Definition at line 42 of file transform_mode_vert_slide.cc.
Referenced by createVertSlideVerts().