|
Blender V5.0
|
Classes | |
| struct | ProjectOperation |
| struct | LocalData |
|
static |
Definition at line 109 of file sculpt_project.cc.
References blender::ed::sculpt_paint::apply_translations(), BKE_pbvh_bmesh_node_unique_verts(), SculptSession::bm, blender::ed::sculpt_paint::calc_translations_to_plane(), blender::ed::sculpt_paint::clip_and_lock_translations(), blender::ed::sculpt_paint::project::LocalData::factors, blender::ed::sculpt_paint::fill_factor_from_hide_and_mask(), blender::ed::sculpt_paint::gesture::filter_factors(), blender::ed::sculpt_paint::gather_bmesh_normals(), blender::ed::sculpt_paint::gather_bmesh_positions(), blender::ed::sculpt_paint::gesture::GestureData::line, blender::ed::sculpt_paint::project::LocalData::normals, normals, blender::ed::sculpt_paint::gesture::LineData::plane, blender::ed::sculpt_paint::project::LocalData::positions, Vector< T, InlineBufferCapacity, Allocator >::resize(), blender::ed::sculpt_paint::scale_translations(), blender::ed::sculpt_paint::project::LocalData::translations, and verts.
Referenced by gesture_apply_for_symmetry_pass().
|
static |
Definition at line 77 of file sculpt_project.cc.
References blender::ed::sculpt_paint::apply_translations(), blender::ed::sculpt_paint::calc_translations_to_plane(), blender::ed::sculpt_paint::clip_and_lock_translations(), blender::ed::sculpt_paint::project::LocalData::factors, blender::ed::sculpt_paint::fill_factor_from_hide_and_mask(), blender::ed::sculpt_paint::gesture::filter_factors(), blender::ed::sculpt_paint::gather_grids_normals(), blender::ed::sculpt_paint::gather_grids_positions(), blender::bke::pbvh::GridsNode::grids(), blender::ed::sculpt_paint::gesture::GestureData::line, blender::ed::sculpt_paint::project::LocalData::normals, normals, blender::ed::sculpt_paint::gesture::LineData::plane, blender::ed::sculpt_paint::project::LocalData::positions, Vector< T, InlineBufferCapacity, Allocator >::resize(), blender::ed::sculpt_paint::scale_translations(), blender::MutableSpan< T >::size(), SculptSession::subdiv_ccg, and blender::ed::sculpt_paint::project::LocalData::translations.
Referenced by gesture_apply_for_symmetry_pass().
|
static |
Definition at line 47 of file sculpt_project.cc.
References blender::ed::sculpt_paint::calc_translations_to_plane(), blender::ed::sculpt_paint::clip_and_lock_translations(), blender::ed::sculpt_paint::project::LocalData::factors, blender::ed::sculpt_paint::fill_factor_from_hide_and_mask(), blender::ed::sculpt_paint::gesture::filter_factors(), blender::ed::sculpt_paint::gather_data_mesh(), blender::ed::sculpt_paint::MeshAttributeData::hide_vert, blender::ed::sculpt_paint::gesture::GestureData::line, blender::ed::sculpt_paint::MeshAttributeData::mask, blender::ed::sculpt_paint::project::LocalData::normals, normals, blender::ed::sculpt_paint::gesture::LineData::plane, blender::ed::sculpt_paint::project::LocalData::positions, Vector< T, InlineBufferCapacity, Allocator >::resize(), blender::ed::sculpt_paint::scale_translations(), blender::ed::sculpt_paint::project::LocalData::translations, blender::bke::pbvh::MeshNode::verts(), and verts.
Referenced by gesture_apply_for_symmetry_pass().
|
static |
Definition at line 139 of file sculpt_project.cc.
References apply_projection_bmesh(), apply_projection_grids(), apply_projection_mesh(), BLI_assert_unreachable, blender::bke::pbvh::BMesh, blender::ed::sculpt_paint::gesture::Box, C, CTX_data_depsgraph_pointer(), CTX_data_tool_settings(), depsgraph, blender::bke::pbvh::Tree::flush_bounds_to_parents(), blender::index_mask::IndexMask::foreach_index(), SubdivCCG::grid_area, blender::bke::pbvh::Grids, i, blender::ed::sculpt_paint::gesture::Lasso, blender::ed::sculpt_paint::gesture::Line, blender::threading::EnumerableThreadSpecific< T >::local(), blender::bke::pbvh::Mesh, blender::ed::sculpt_paint::gesture::GestureData::node_mask, blender::bke::pbvh::Tree::nodes(), ViewContext::obact, blender::bke::object::pbvh_get(), blender::ed::sculpt_paint::undo::Position, SubdivCCG::positions, blender::ed::sculpt_paint::undo::push_nodes(), ToolSettings::sculpt, blender::ed::sculpt_paint::gesture::GestureData::shape_type, blender::bke::pbvh::Tree::tag_positions_changed(), blender::bke::pbvh::Tree::type(), blender::bke::pbvh::update_node_bounds_bmesh(), blender::bke::pbvh::update_node_bounds_grids(), blender::bke::pbvh::update_node_bounds_mesh(), blender::ed::sculpt_paint::gesture::GestureData::vc, and blender::bke::pbvh::vert_normals_eval().
Referenced by init_operation().
|
static |
Definition at line 31 of file sculpt_project.cc.
References BKE_sculpt_update_object_for_edit(), C, CTX_data_depsgraph_pointer(), CTX_data_scene(), depsgraph, ViewContext::obact, blender::ed::sculpt_paint::undo::push_begin(), and blender::ed::sculpt_paint::gesture::GestureData::vc.
Referenced by init_operation().
|
static |
Definition at line 206 of file sculpt_project.cc.
References C, blender::ed::sculpt_paint::flush_update_done(), blender::ed::sculpt_paint::flush_update_step(), ViewContext::obact, blender::ed::sculpt_paint::Position, blender::ed::sculpt_paint::undo::push_end(), and blender::ed::sculpt_paint::gesture::GestureData::vc.
Referenced by init_operation().
|
static |
Definition at line 236 of file sculpt_project.cc.
References blender::ed::sculpt_paint::gesture::apply(), C, blender::ed::sculpt_paint::gesture::init_from_line(), init_operation(), OPERATOR_CANCELLED, and OPERATOR_FINISHED.
Referenced by SCULPT_OT_project_line_gesture().
|
static |
Definition at line 225 of file sculpt_project.cc.
References BKE_base_is_visible(), C, CTX_data_active_base(), CTX_wm_view3d(), OPERATOR_CANCELLED, and WM_gesture_straightline_active_side_invoke().
Referenced by SCULPT_OT_project_line_gesture().
|
static |
Definition at line 213 of file sculpt_project.cc.
References blender::ed::sculpt_paint::gesture::Operation::apply_for_symmetry_pass, blender::ed::sculpt_paint::gesture::Operation::begin, blender::ed::sculpt_paint::gesture::Operation::end, gesture_apply_for_symmetry_pass(), gesture_begin(), gesture_end(), MEM_callocN(), blender::ed::sculpt_paint::gesture::GestureData::operation, and blender::ed::sculpt_paint::project::ProjectOperation::operation.
Referenced by gesture_line_exec().
| void blender::ed::sculpt_paint::project::SCULPT_OT_project_line_gesture | ( | wmOperatorType * | ot | ) |
Definition at line 247 of file sculpt_project.cc.
References gesture_line_exec(), gesture_line_invoke(), blender::ed::sculpt_paint::gesture::Line, blender::ed::sculpt_paint::gesture::operator_properties(), OPTYPE_REGISTER, ot, SCULPT_mode_poll_view3d(), WM_CURSOR_EDIT, WM_gesture_straightline_oneshot_modal(), and WM_operator_properties_gesture_straightline().
Referenced by blender::ed::sculpt_paint::operatortypes_sculpt().