|
Blender V5.3
|
Classes | |
| struct | ProjectOperation |
| struct | LocalData |
|
static |
Definition at line 112 of file sculpt_project.cc.
References apply_projection_bmesh(), blender::ed::sculpt_paint::apply_translations(), blender::BKE_pbvh_bmesh_node_unique_verts(), blender::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, node, blender::ed::sculpt_paint::project::LocalData::normals, blender::ed::sculpt_paint::gesture::LineData::plane, blender::ed::sculpt_paint::project::LocalData::positions, lexit::Vector< T >::resize(), blender::ed::sculpt_paint::scale_translations(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), and blender::ed::sculpt_paint::project::LocalData::translations.
Referenced by apply_projection_bmesh(), and gesture_apply_for_symmetry_pass().
|
static |
Definition at line 80 of file sculpt_project.cc.
References apply_projection_grids(), 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::ed::sculpt_paint::gesture::GestureData::line, node, blender::ed::sculpt_paint::project::LocalData::normals, blender::ed::sculpt_paint::gesture::LineData::plane, blender::ed::sculpt_paint::project::LocalData::positions, lexit::Vector< T >::resize(), blender::ed::sculpt_paint::scale_translations(), blender::MutableSpan< T >::size(), blender::SculptSession::subdiv_ccg, and blender::ed::sculpt_paint::project::LocalData::translations.
Referenced by apply_projection_grids(), and gesture_apply_for_symmetry_pass().
|
static |
Definition at line 48 of file sculpt_project.cc.
References apply_projection_mesh(), blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), 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, node, blender::ed::sculpt_paint::gesture::LineData::plane, lexit::Vector< T >::resize(), blender::ed::sculpt_paint::scale_translations(), blender::Span< T >::size(), and blender::ed::sculpt_paint::project::LocalData::translations.
Referenced by apply_projection_mesh(), and gesture_apply_for_symmetry_pass().
|
static |
Definition at line 142 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, blender::CTX_data_depsgraph_pointer(), blender::CTX_data_tool_settings(), blender::data, blender::index_mask::IndexMask::foreach_index(), gesture_apply_for_symmetry_pass(), blender::exec_mode::grain_size(), blender::SubdivCCG::grid_area, blender::bke::pbvh::Grids, 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::ViewContext::obact, blender::bke::object::pbvh_get(), blender::ed::sculpt_paint::undo::Position, blender::SubdivCCG::positions, blender::ed::sculpt_paint::undo::push_nodes(), blender::ToolSettings::sculpt, blender::ed::sculpt_paint::gesture::GestureData::shape_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 gesture_apply_for_symmetry_pass(), and init_operation().
|
static |
Definition at line 32 of file sculpt_project.cc.
References blender::BKE_sculptsession_update_for_edit(), C, blender::CTX_data_depsgraph_pointer(), blender::CTX_data_scene(), gesture_begin(), blender::ViewContext::obact, blender::ed::sculpt_paint::undo::push_begin(), and blender::ed::sculpt_paint::gesture::GestureData::vc.
Referenced by gesture_begin(), and init_operation().
|
static |
Definition at line 215 of file sculpt_project.cc.
References C, blender::ed::sculpt_paint::flush_update_done(), blender::ed::sculpt_paint::flush_update_step(), gesture_end(), blender::ViewContext::obact, blender::ed::sculpt_paint::Position, blender::ed::sculpt_paint::undo::push_end(), and blender::ed::sculpt_paint::gesture::GestureData::vc.
Referenced by gesture_end(), and init_operation().
|
static |
Definition at line 246 of file sculpt_project.cc.
References blender::ed::sculpt_paint::gesture::apply(), C, gesture_line_exec(), blender::ed::sculpt_paint::gesture::init_from_line(), init_operation(), blender::OPERATOR_CANCELLED, and blender::OPERATOR_FINISHED.
Referenced by gesture_line_exec(), and SCULPT_OT_project_line_gesture().
|
static |
Definition at line 235 of file sculpt_project.cc.
References blender::BKE_base_is_visible(), C, blender::CTX_data_active_base(), blender::CTX_wm_view3d(), gesture_line_invoke(), blender::OPERATOR_CANCELLED, and blender::WM_gesture_straightline_active_side_invoke().
Referenced by gesture_line_invoke(), and SCULPT_OT_project_line_gesture().
|
static |
Definition at line 222 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(), init_operation(), blender::MEM_new_zeroed(), blender::ed::sculpt_paint::gesture::GestureData::operation, and blender::ed::sculpt_paint::project::ProjectOperation::operation.
Referenced by gesture_line_exec(), and init_operation().
| void blender::ed::sculpt_paint::project::SCULPT_OT_project_line_gesture | ( | wmOperatorType * | ot | ) |
Definition at line 257 of file sculpt_project.cc.
References blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, gesture_line_exec(), gesture_line_invoke(), blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::ed::sculpt_paint::gesture::Line, blender::wmOperatorType::modal, blender::wmOperatorType::name, blender::ed::sculpt_paint::gesture::operator_properties(), blender::OPTYPE_REGISTER, blender::wmOperatorType::poll, blender::ed::sculpt_paint::sculpt_mode_poll_view3d(), SCULPT_OT_project_line_gesture(), blender::WM_CURSOR_EDIT, blender::WM_gesture_straightline_oneshot_modal(), and blender::WM_operator_properties_gesture_straightline().
Referenced by blender::ed::sculpt_paint::operatortypes_sculpt(), and SCULPT_OT_project_line_gesture().