|
Blender V5.3
|
Public Member Functions | |
| DeleteOperationExecutor (const PaintStroke &stroke) | |
| void | execute (DeleteOperation &self, const StrokeExtension &stroke_extension) |
| void | delete_projected_with_symmetry (MutableSpan< bool > curves_to_keep) |
| void | delete_projected (const float4x4 &brush_transform, MutableSpan< bool > curves_to_keep) |
| void | delete_spherical_with_symmetry (MutableSpan< bool > curves_to_keep) |
| void | delete_spherical (const float3 &brush_cu, MutableSpan< bool > curves_to_keep) |
| void | initialize_spherical_brush_reference_point () |
Definition at line 59 of file sculpt_delete.cc.
|
inline |
Definition at line 79 of file sculpt_delete.cc.
References ctx_.
|
inline |
Definition at line 150 of file sculpt_delete.cc.
References brush_pos_re_, brush_radius_base_re_, brush_radius_factor_, ctx_, curve_selection_, curves_, blender::dist_squared_to_line_segment_v2(), blender::math::distance_squared(), blender::IndexRange::drop_back(), blender::ED_view3d_ob_project_mat_get(), blender::ED_view3d_project_float_v2_m4(), blender::IndexRange::first(), blender::index_mask::IndexMask::foreach_segment(), blender::exec_mode::grain_size(), blender::math::invert(), object_, blender::bke::CurvesGeometry::points_by_curve(), blender::pow2f(), blender::ed::sculpt_paint::CurvesSculptCommonContext::region, blender::ed::sculpt_paint::CurvesSculptCommonContext::rv3d, self_, blender::IndexRange::size(), and blender::math::transform_point().
Referenced by delete_projected_with_symmetry().
|
inline |
Definition at line 141 of file sculpt_delete.cc.
References curves_id_, delete_projected(), and blender::ed::sculpt_paint::get_symmetry_brush_transforms().
Referenced by execute().
|
inline |
Definition at line 217 of file sculpt_delete.cc.
References brush_radius_factor_, curve_selection_, curves_, blender::dist_squared_to_line_segment_v3(), blender::math::distance_squared(), blender::IndexRange::drop_back(), blender::IndexRange::first(), blender::index_mask::IndexMask::foreach_segment(), blender::exec_mode::grain_size(), blender::bke::CurvesGeometry::points_by_curve(), blender::pow2f(), blender::ed::sculpt_paint::CurvesBrush3D::radius_cu, self_, and blender::IndexRange::size().
Referenced by delete_spherical_with_symmetry().
|
inline |
Definition at line 198 of file sculpt_delete.cc.
References brush_pos_re_, ctx_, curves_id_, blender::bke::CurvesSurfaceTransforms::curves_to_world, delete_spherical(), blender::ED_view3d_win_to_3d(), blender::ed::sculpt_paint::get_symmetry_brush_transforms(), blender::ed::sculpt_paint::CurvesBrush3D::position_cu, blender::ed::sculpt_paint::CurvesSculptCommonContext::region, self_, blender::math::transform_point(), transforms_, blender::ed::sculpt_paint::CurvesSculptCommonContext::v3d, and blender::bke::CurvesSurfaceTransforms::world_to_curves.
Referenced by execute().
|
inline |
Definition at line 81 of file sculpt_delete.cc.
References blender::BKE_brush_radius_get(), blender::BKE_paint_brush_for_read(), BLI_assert_unreachable, brush_, brush_pos_re_, brush_radius_base_re_, blender::ed::sculpt_paint::brush_radius_factor(), brush_radius_factor_, ctx_, curve_selection_, curves_, blender::bke::curves_copy_curve_selection(), curves_id_, blender::bke::CurvesGeometry::curves_num(), blender::ToolSettings::curves_sculpt, curves_sculpt_, blender::ed::sculpt_paint::CurvesSurfaceTransforms::CurvesSurfaceTransforms(), blender::Object::data, blender::DEG_id_tag_update(), delete_projected_with_symmetry(), delete_spherical_with_symmetry(), blender::ed::sculpt_paint::CurvesSculptCommonContext::depsgraph, blender::ED_region_tag_redraw(), blender::Vector< T, InlineBufferCapacity, Allocator >::extend(), blender::Brush::falloff_shape, blender::index_mask::IndexMask::foreach_index(), blender::IndexMask::from_bools(), blender::bke::crazyspace::get_evaluated_curves_deformation(), blender::ID_RECALC_GEOMETRY, initialize_spherical_brush_reference_point(), blender::ed::sculpt_paint::StrokeExtension::is_first, blender::ed::sculpt_paint::StrokeExtension::mouse_position, NC_GEOM, ND_DATA, blender::ed::sculpt_paint::CurvesSculptCommonContext::object, object_, blender::CurvesSculpt::paint, blender::PAINT_FALLOFF_SHAPE_SPHERE, blender::PAINT_FALLOFF_SHAPE_TUBE, blender::bke::CurvesGeometry::points_by_curve(), blender::bke::crazyspace::GeometryDeformation::positions, blender::ed::sculpt_paint::CurvesSculptCommonContext::region, blender::ed::curves::retrieve_selected_curves(), blender::ed::sculpt_paint::CurvesSculptCommonContext::scene, selected_curve_memory_, self_, blender::Scene::toolsettings, transforms_, blender::U, blender::USER_ORBIT_SELECTION, and blender::WM_main_add_notifier().
Referenced by blender::ed::sculpt_paint::DeleteOperation::on_stroke_extended().
|
inline |
Definition at line 254 of file sculpt_delete.cc.
References brush_pos_re_, brush_radius_base_re_, ctx_, curves_sculpt_, blender::bke::CurvesSurfaceTransforms::curves_to_world, blender::ed::sculpt_paint::CurvesSculptCommonContext::depsgraph, object_, blender::ed::sculpt_paint::CurvesBrush3D::position_cu, blender::ed::sculpt_paint::CurvesSculptCommonContext::region, blender::ed::sculpt_paint::remember_stroke_position(), blender::ed::sculpt_paint::CurvesSculptCommonContext::rv3d, blender::ed::sculpt_paint::sample_curves_3d_brush(), self_, blender::math::transform_point(), transforms_, and blender::ed::sculpt_paint::CurvesSculptCommonContext::v3d.
Referenced by execute().
Definition at line 71 of file sculpt_delete.cc.
Referenced by execute().
| float2 blender::ed::sculpt_paint::DeleteOperationExecutor::brush_pos_re_ |
Definition at line 75 of file sculpt_delete.cc.
Referenced by delete_projected(), delete_spherical_with_symmetry(), execute(), and initialize_spherical_brush_reference_point().
| float blender::ed::sculpt_paint::DeleteOperationExecutor::brush_radius_base_re_ |
Definition at line 72 of file sculpt_delete.cc.
Referenced by delete_projected(), execute(), and initialize_spherical_brush_reference_point().
| float blender::ed::sculpt_paint::DeleteOperationExecutor::brush_radius_factor_ |
Definition at line 73 of file sculpt_delete.cc.
Referenced by delete_projected(), delete_spherical(), and execute().
| CurvesSculptCommonContext blender::ed::sculpt_paint::DeleteOperationExecutor::ctx_ |
Definition at line 61 of file sculpt_delete.cc.
Referenced by delete_projected(), delete_spherical_with_symmetry(), DeleteOperationExecutor(), execute(), and initialize_spherical_brush_reference_point().
| IndexMask blender::ed::sculpt_paint::DeleteOperationExecutor::curve_selection_ |
Definition at line 68 of file sculpt_delete.cc.
Referenced by delete_projected(), delete_spherical(), and execute().
| CurvesGeometry* blender::ed::sculpt_paint::DeleteOperationExecutor::curves_ = nullptr |
Definition at line 65 of file sculpt_delete.cc.
Referenced by delete_projected(), delete_spherical(), and execute().
Definition at line 64 of file sculpt_delete.cc.
Referenced by delete_projected_with_symmetry(), delete_spherical_with_symmetry(), and execute().
| CurvesSculpt* blender::ed::sculpt_paint::DeleteOperationExecutor::curves_sculpt_ = nullptr |
Definition at line 70 of file sculpt_delete.cc.
Referenced by execute(), and initialize_spherical_brush_reference_point().
Definition at line 63 of file sculpt_delete.cc.
Referenced by delete_projected(), execute(), and initialize_spherical_brush_reference_point().
| IndexMaskMemory blender::ed::sculpt_paint::DeleteOperationExecutor::selected_curve_memory_ |
Definition at line 67 of file sculpt_delete.cc.
Referenced by execute().
| DeleteOperation* blender::ed::sculpt_paint::DeleteOperationExecutor::self_ = nullptr |
Definition at line 60 of file sculpt_delete.cc.
Referenced by delete_projected(), delete_spherical(), delete_spherical_with_symmetry(), execute(), and initialize_spherical_brush_reference_point().
| CurvesSurfaceTransforms blender::ed::sculpt_paint::DeleteOperationExecutor::transforms_ |
Definition at line 77 of file sculpt_delete.cc.
Referenced by delete_spherical_with_symmetry(), execute(), and initialize_spherical_brush_reference_point().